@Service public class ProdutoPepsService extends br.inf.thema.erp.infra.service.ManutencaoService<ProdutoPepsVo>
Modifier and Type | Field and Description |
---|---|
private ProdutoPepsDao |
produtoPepsDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
ProdutoPepsService() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
alteraProduto(java.lang.Long produto,
br.inf.thema.erp.integracao.materiais.enums.TipoProduto tipo,
java.lang.Long classificacao,
java.lang.String lote,
java.lang.String observacao) |
void |
apagar(ProdutoPepsVo entidade) |
br.inf.thema.erp.infra.dao.ManutencaoDao<ProdutoPepsVo> |
getDao() |
void |
inserir(ProdutoPepsVo entidade) |
java.util.List<ProdutoPepsVo> |
recuperaPorProduto(java.lang.Long produto) |
java.util.List<LoteConsultaRequisicao> |
recuperaPorSequenciaItem(java.lang.Long sequenciaItem)
Recupera os lotes do item da requisição pela sequência do item
|
java.lang.Long |
recuperarTarefaLotesConsumoAVencer(java.lang.Long numero) |
void |
salvarNumeroEmLote(java.lang.String numeroLote,
java.sql.Date dataLote,
java.sql.Date dataValidade,
java.lang.Long sequenciaPeps) |
private static final long serialVersionUID
@Autowired private ProdutoPepsDao produtoPepsDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<ProdutoPepsVo> getDao()
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void inserir(ProdutoPepsVo entidade) throws br.inf.thema.erp.infra.exception.ErpException
inserir
in interface br.inf.thema.erp.infra.Manutencao<ProdutoPepsVo>
inserir
in class br.inf.thema.erp.infra.service.ManutencaoService<ProdutoPepsVo>
br.inf.thema.erp.infra.exception.ErpException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void apagar(ProdutoPepsVo entidade) throws br.inf.thema.erp.infra.exception.ErpException
apagar
in interface br.inf.thema.erp.infra.Manutencao<ProdutoPepsVo>
apagar
in class br.inf.thema.erp.infra.service.ManutencaoService<ProdutoPepsVo>
br.inf.thema.erp.infra.exception.ErpException
public java.lang.Long recuperarTarefaLotesConsumoAVencer(java.lang.Long numero) throws br.inf.thema.erp.infra.exception.ErpException
br.inf.thema.erp.infra.exception.ErpException
public java.util.List<LoteConsultaRequisicao> recuperaPorSequenciaItem(java.lang.Long sequenciaItem) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
sequenciaItem
- LoteConsultaRequisicao
ErpServiceException
public java.util.List<ProdutoPepsVo> recuperaPorProduto(java.lang.Long produto) 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 alteraProduto(java.lang.Long produto, br.inf.thema.erp.integracao.materiais.enums.TipoProduto tipo, java.lang.Long classificacao, java.lang.String lote, java.lang.String observacao) 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 salvarNumeroEmLote(java.lang.String numeroLote, java.sql.Date dataLote, java.sql.Date dataValidade, java.lang.Long sequenciaPeps) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException