43 lines
1.3 KiB
Java
43 lines
1.3 KiB
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.Empresa;
|
|
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
|
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
|
import com.rjconsultores.ventaboletos.utilerias.RegistroConDependenciaException;
|
|
|
|
/**
|
|
*
|
|
* @author Administrador
|
|
*/
|
|
public interface EmpresaService {
|
|
|
|
public List<Empresa> obtenerTodos();
|
|
|
|
public Empresa obtenerID(Integer id);
|
|
|
|
public Empresa suscribirActualizacion(Empresa entidad) throws BusinessException;
|
|
|
|
public void borrar(Empresa entidad) throws RegistroConDependenciaException;
|
|
|
|
public List<Empresa> buscar(String nombempresa, Boolean indExterna, Short indTipo);
|
|
|
|
public List<Empresa> buscarTodosExceto(List<Empresa> empresa, Integer... idEmpresa);
|
|
|
|
public List<Empresa> obtenerIndExternoFalse();
|
|
|
|
public List<Empresa> obtenerIndTipo2();
|
|
|
|
public List<Empresa> buscarNotInPuntoVtaComissao(PuntoVenta puntoVenta);
|
|
|
|
public List<InscricaoEstadual> buscaInscricoesEstaduais(Empresa empresa);
|
|
|
|
public void actualizaInscEstadual(InscricaoEstadual inscricaoEstadual);
|
|
}
|