@Service public class ContratoAtesteService extends br.inf.thema.erp.infra.service.ManutencaoService<ContratoAtesteVo>
Modifier and Type | Field and Description |
---|---|
private ContratoAtesteDao |
contratoAtesteDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
ContratoAtesteService() |
Modifier and Type | Method and Description |
---|---|
void |
buscaDadosContrato(java.lang.String restringeUsuario,
ContratoAtesteVo entidade) |
void |
enviarAteste(java.lang.String restricao,
java.lang.Long ateste) |
void |
enviarEmailAtestePendente(java.util.List<ContratoVo> contrato,
java.lang.String anoMesInicial,
java.lang.String anoMesFinal) |
br.inf.thema.erp.infra.dao.ManutencaoDao<ContratoAtesteVo> |
getDao() |
void |
inserirAtesteContrato(java.lang.Long contrato,
java.lang.String anoMes) |
void |
preExcluirAteste(java.lang.String restricao,
java.lang.Long ateste) |
void |
reabrirAteste(java.lang.String restricao,
java.lang.Long ateste) |
java.util.List<ContratoAtesteVo> |
retornarTodosAtestesParaContratos() |
void |
validarAteste(java.lang.String restricao,
java.lang.Long contrato,
java.lang.String competencia,
java.lang.Long predio) |
private static final long serialVersionUID
@Autowired private ContratoAtesteDao contratoAtesteDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<ContratoAtesteVo> getDao()
public void buscaDadosContrato(java.lang.String restringeUsuario, ContratoAtesteVo entidade) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void reabrirAteste(java.lang.String restricao, java.lang.Long ateste) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void enviarAteste(java.lang.String restricao, java.lang.Long ateste) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void validarAteste(java.lang.String restricao, java.lang.Long contrato, java.lang.String competencia, java.lang.Long predio) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void preExcluirAteste(java.lang.String restricao, java.lang.Long ateste) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void inserirAtesteContrato(java.lang.Long contrato, java.lang.String anoMes) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void enviarEmailAtestePendente(java.util.List<ContratoVo> contrato, java.lang.String anoMesInicial, java.lang.String anoMesFinal) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<ContratoAtesteVo> retornarTodosAtestesParaContratos() throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException