@Service public class PedidoLicitacaoService extends br.inf.thema.erp.infra.service.ManutencaoService<PedidoLicitacaoVo>
Modifier and Type | Field and Description |
---|---|
private PedidoLicitacaoDao |
pedidoLicitacaoDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
PedidoLicitacaoService() |
Modifier and Type | Method and Description |
---|---|
br.inf.thema.erp.infra.dao.ManutencaoDao<PedidoLicitacaoVo> |
getDao() |
void |
insereItemPedidoLicitacao(java.lang.Long licitacao,
java.lang.String exercicio,
java.lang.Long numero,
java.lang.Long item)
Insere pedido de compra à Licitação
|
java.util.Map<java.lang.String,java.lang.Object> |
inserePedidosColeta(java.lang.Long licitacao,
java.lang.Long sequencia) |
java.util.List<PedidoLicitacaoVo> |
recuperarPedidosComProjetoPorLicitacao(java.lang.Long numeroTotal)
Método que retorna os pedidos com projeto por licitação.
|
java.lang.Boolean |
verificaPedidosIncluidos(java.lang.String exercicioPedido,
java.lang.Long numeroPedido)
Método que verifica se o pedido já está incluído em alguma cotação
|
java.lang.Long |
verificaQtdLicitacoes(java.lang.String exercicioPedido,
java.lang.Long numeroPedido) |
java.lang.Long |
verificaQtdLicitacoesDiferenciadas(java.lang.String exercicioPedido,
java.lang.Long numeroPedido) |
private static final long serialVersionUID
@Autowired private PedidoLicitacaoDao pedidoLicitacaoDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<PedidoLicitacaoVo> getDao()
public java.util.List<PedidoLicitacaoVo> recuperarPedidosComProjetoPorLicitacao(java.lang.Long numeroTotal) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
numeroTotal
- ErpServiceException
public java.lang.Boolean verificaPedidosIncluidos(java.lang.String exercicioPedido, java.lang.Long numeroPedido) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
exercicio
- do pedido, número do pedidoErpServiceException
@Transactional(rollbackFor={java.lang.Exception.class,java.lang.RuntimeException.class}) public void insereItemPedidoLicitacao(java.lang.Long licitacao, java.lang.String exercicio, java.lang.Long numero, java.lang.Long item) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
licitacao
- exercicio
- numero
- item
- ErpServiceException
@Transactional(rollbackFor={java.lang.Exception.class,java.lang.RuntimeException.class}) public java.util.Map<java.lang.String,java.lang.Object> inserePedidosColeta(java.lang.Long licitacao, java.lang.Long sequencia) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.Long verificaQtdLicitacoes(java.lang.String exercicioPedido, java.lang.Long numeroPedido) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.Long verificaQtdLicitacoesDiferenciadas(java.lang.String exercicioPedido, java.lang.Long numeroPedido) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException