AdmMono/src/com/rjconsultores/ventaboletos/service/UsuarioService.java

35 lines
950 B
Java

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.service;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Empleado;
import com.rjconsultores.ventaboletos.entidad.Perfil;
import com.rjconsultores.ventaboletos.entidad.Usuario;
import com.rjconsultores.ventaboletos.exception.BusinessException;
/**
*
* @author gleimar
*/
public interface UsuarioService {
public List<Usuario> obtenerTodos();
public Usuario obtenerID(Integer id);
public void borrar(Usuario entidad);
public List<Usuario> buscarPeloNome(String nome);
public Usuario buscarPeloNomeSenha(String stUsuario, String senha);
public List<Usuario> buscarPorEmpleado(Empleado get);
public List<Usuario> buscarPelaCveUsuario(String claveUsuario);
public Usuario suscribirActualizar(Usuario entidad, String senha, Perfil perfil) throws BusinessException;
}