Class NfeDestinadaDaoImpl
Object
AbstractJPADao<NfeDestinada,Long>
NfeDestinadaDaoImpl
- All Implemented Interfaces:
Dao<NfeDestinada,,Long> NfeDestinadaDao
@Repository
public class NfeDestinadaDaoImpl
extends AbstractJPADao<NfeDestinada,Long>
implements NfeDestinadaDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNfeDestinadaCartaCorrecaoEmpresaNSUNfeDestinadagetPorChaveAcesso(String chaveAcesso) NfeDestinadaNfeDestinadaConsultagetUltimaConsulta(Integer empresaId) getUltimoNSU(Integer empresaId) NfeDestinadaCartaCorrecaosalvarCartaCorrecao(NfeDestinadaCartaCorrecao cartaCorrecao) NfeDestinadaConsultasalvarConsulta(NfeDestinadaConsulta consulta) voidsetUltimoNSU(String cnpj, Long nsu, Long maxNSU, boolean possuiMaisDocs, boolean emPenalidade) Methods inherited from class AbstractJPADao
findById, getEntityManager, read, read, remove, removeById, save, setEntityManager, update
-
Constructor Details
-
NfeDestinadaDaoImpl
public NfeDestinadaDaoImpl()
-
-
Method Details
-
getPorChaveAcesso
- Specified by:
getPorChaveAcessoin interfaceNfeDestinadaDao
-
getPorNSU
- Specified by:
getPorNSUin interfaceNfeDestinadaDao
-
getCartaCorrecaoPorNSU
- Specified by:
getCartaCorrecaoPorNSUin interfaceNfeDestinadaDao
-
getUltimaConsulta
- Specified by:
getUltimaConsultain interfaceNfeDestinadaDao
-
getUltimoNSU
- Specified by:
getUltimoNSUin interfaceNfeDestinadaDao
-
salvarConsulta
@Transactional public NfeDestinadaConsulta salvarConsulta(NfeDestinadaConsulta consulta) - Specified by:
salvarConsultain interfaceNfeDestinadaDao
-
salvarCartaCorrecao
@Transactional public NfeDestinadaCartaCorrecao salvarCartaCorrecao(NfeDestinadaCartaCorrecao cartaCorrecao) - Specified by:
salvarCartaCorrecaoin interfaceNfeDestinadaDao
-
setUltimoNSU
@Transactional public void setUltimoNSU(String cnpj, Long nsu, Long maxNSU, boolean possuiMaisDocs, boolean emPenalidade) - Specified by:
setUltimoNSUin interfaceNfeDestinadaDao
-
getNSU
- Specified by:
getNSUin interfaceNfeDestinadaDao
-