@Service public class MinutaService extends br.inf.thema.erp.infra.service.ManutencaoFiltroService<MinutaVo>
Modifier and Type | Field and Description |
---|---|
private MinutaDao |
minutaDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
MinutaService() |
Modifier and Type | Method and Description |
---|---|
void |
buscaDadosContrato(MinutaVo entidade) |
void |
confereMinuta(java.lang.Long minuta) |
java.lang.String |
copiaMinuta(java.lang.Long sequencia) |
java.util.List<java.lang.String> |
documentosAssinadosPorTabelaOrigem(java.lang.String tabelaOrigem,
java.lang.String tag) |
void |
geraMinuta(java.lang.Long minuta) |
br.inf.thema.erp.infra.dao.ManutencaoDao<MinutaVo> |
getDao() |
void |
insereClausulasTemplateMinuta(java.lang.Long minuta,
java.lang.Long template) |
void |
reabreMinuta(java.lang.Long sequencia)
Procedimento responsavel responsável por alterar a situação do registro
selecionado para 'Digitada'.
|
void |
reabrirMinuta(java.lang.Long sequenciaMinuta)
Procedimento responsável por reabrir minutas 'Registradas'(3) e setar sua
situação para 'Digitada'(1)
|
java.util.List<MinutaVo> |
recuperaMinutasGeracaoContrato(java.lang.String tag,
java.lang.String destino) |
java.lang.Long |
recuperaSituacaoMinuta(java.lang.Long sequencia)
Recupera situação atualizada da minuta
|
void |
registraMinuta(java.lang.Long sequencia) |
void |
salvarMinutaGeracaoContrato(java.lang.String destino,
java.lang.String resultado,
java.lang.String tag,
java.lang.Long minuta) |
java.util.List<ItemConfirmacao> |
selectMensagensGeraMinuta(java.lang.Long numero) |
filtrar, filtrar
private static final long serialVersionUID
@Autowired private MinutaDao minutaDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<MinutaVo> getDao()
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void buscaDadosContrato(MinutaVo 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 java.lang.String copiaMinuta(java.lang.Long sequencia) 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 registraMinuta(java.lang.Long sequencia) 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 reabreMinuta(java.lang.Long sequencia) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
sequencia
- ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void geraMinuta(java.lang.Long minuta) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<ItemConfirmacao> selectMensagensGeraMinuta(java.lang.Long numero) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.Long recuperaSituacaoMinuta(java.lang.Long sequencia) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
sequencia
- ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void insereClausulasTemplateMinuta(java.lang.Long minuta, java.lang.Long template) 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 reabrirMinuta(java.lang.Long sequenciaMinuta) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
sequenciaMinuta
- ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void confereMinuta(java.lang.Long minuta) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<MinutaVo> recuperaMinutasGeracaoContrato(java.lang.String tag, java.lang.String destino) throws br.inf.thema.erp.infra.dao.exception.ErpDaoException
br.inf.thema.erp.infra.dao.exception.ErpDaoException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void salvarMinutaGeracaoContrato(java.lang.String destino, java.lang.String resultado, java.lang.String tag, java.lang.Long minuta) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<java.lang.String> documentosAssinadosPorTabelaOrigem(java.lang.String tabelaOrigem, java.lang.String tag) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException