@Service public class LicitacaoIntegracaoService extends br.inf.thema.erp.infra.service.ManutencaoService<LicitacaoIntegracao>
Modifier and Type | Field and Description |
---|---|
private br.inf.thema.erp.basico.dao.cadastrogeral.CadastroGeralDao |
cadastroGeralDao |
private br.inf.thema.erp.padrao.dao.ChavePrimariaDao |
chavePrimariaDao |
private br.inf.thema.erp.basico.service.integracao.IntegracaoService |
integracaoService |
private ItemLicitacaoDao |
itemLicitacaoDao |
private LicitacaoIntegracaoDao |
licitacaoIntegracaoDao |
private ParticipanteLicitacaoDao |
participanteLicitacaoDao |
private RegistroPrecoDao |
registroPrecoDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
LicitacaoIntegracaoService() |
Modifier and Type | Method and Description |
---|---|
void |
atualizarCotacaoOferta(java.lang.Long licitacao,
br.inf.thema.erp.integracao.materiais.entidade.compras.eletronicas.Oferta oferta) |
void |
carregarOferta(java.lang.Long licitacao,
br.inf.thema.erp.integracao.materiais.entidade.compras.eletronicas.Oferta oferta,
java.lang.String tipoLicitacao) |
br.inf.thema.erp.infra.dao.ManutencaoDao<LicitacaoIntegracao> |
getDao() |
java.util.List<LicitacaoIntegracao> |
recuperarItensLicitacaoPorNumeroTotal(java.lang.Long numeroTotal)
Retorna lista de itens da licitação, especificamente para a integração com o Banrisul
|
private java.lang.String |
truncValue(br.inf.thema.erp.padrao.entidades.Entidade entidade,
java.lang.String campo,
java.lang.String value) |
void |
validaEnvioOfertaCOE(java.lang.Long licitacao)
Procedimento realiza os ajustes na cotação para que a mesma possa ser integrada com o Banrisul
|
void |
validaRetornoOfertaCOE(java.lang.Long licitacao) |
private static final long serialVersionUID
@Autowired private LicitacaoIntegracaoDao licitacaoIntegracaoDao
@Autowired private ItemLicitacaoDao itemLicitacaoDao
@Autowired private RegistroPrecoDao registroPrecoDao
@Autowired private br.inf.thema.erp.basico.dao.cadastrogeral.CadastroGeralDao cadastroGeralDao
@Autowired private br.inf.thema.erp.padrao.dao.ChavePrimariaDao chavePrimariaDao
@Autowired private ParticipanteLicitacaoDao participanteLicitacaoDao
@Autowired private br.inf.thema.erp.basico.service.integracao.IntegracaoService integracaoService
public br.inf.thema.erp.infra.dao.ManutencaoDao<LicitacaoIntegracao> getDao()
public java.util.List<LicitacaoIntegracao> recuperarItensLicitacaoPorNumeroTotal(java.lang.Long numeroTotal) throws br.inf.thema.erp.infra.dao.exception.ErpDaoException
Número
- total da licitaçãoErpServiceException
br.inf.thema.erp.infra.dao.exception.ErpDaoException
public void validaEnvioOfertaCOE(java.lang.Long licitacao) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
Número
- total da licitaçãoErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void validaRetornoOfertaCOE(java.lang.Long licitacao) 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 carregarOferta(java.lang.Long licitacao, br.inf.thema.erp.integracao.materiais.entidade.compras.eletronicas.Oferta oferta, java.lang.String tipoLicitacao) throws br.inf.thema.erp.infra.exception.ErpException
br.inf.thema.erp.infra.exception.ErpException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void atualizarCotacaoOferta(java.lang.Long licitacao, br.inf.thema.erp.integracao.materiais.entidade.compras.eletronicas.Oferta oferta) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
private java.lang.String truncValue(br.inf.thema.erp.padrao.entidades.Entidade entidade, java.lang.String campo, java.lang.String value) throws java.lang.NumberFormatException, br.inf.thema.erp.infra.exception.ErpException
java.lang.NumberFormatException
br.inf.thema.erp.infra.exception.ErpException