@Service public class FechamentoMensalEstoqueService extends br.inf.thema.erp.infra.service.ManutencaoService<FechamentoMensalEstoque>
Modifier and Type | Field and Description |
---|---|
private FechamentoMensalEstoqueDao |
fechamentoMensalEstoqueDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
FechamentoMensalEstoqueService() |
Modifier and Type | Method and Description |
---|---|
void |
aberturaMensalPatrimonio(FechamentoMensalEstoque entidade) |
void |
abreMesEstoque(java.lang.Long almoxarifado,
java.lang.String anomes) |
void |
apagar(FechamentoMensalEstoque entidade) |
FechamentoMensalEstoque |
buscaInformacoesEncerramento(java.lang.Long almoxarifado)
Busca as informações do encerramento
|
void |
buscainformacoesencerramentoPatrimonio(FechamentoMensalEstoque entidade) |
void |
fechamentoMensalPatrimonio(FechamentoMensalEstoque entidade) |
java.util.Map<java.lang.String,java.lang.Object> |
fechaMesAnteriorLoteEstoque(java.lang.Long administracao,
java.lang.Long usuario,
java.lang.String observacao) |
void |
fechaMesEstoque(java.lang.Long almoxarifado,
java.lang.String anomes,
java.lang.String observacao) |
br.inf.thema.erp.infra.dao.ManutencaoDao<FechamentoMensalEstoque> |
getDao() |
void |
inserir(FechamentoMensalEstoque entidade) |
void |
integraMaterialContabilidade(java.sql.Date data) |
java.util.List<FechamentoMensalEstoque> |
localizar(java.util.Map<java.lang.String,java.lang.Object> where) |
java.util.List<FechamentoMensalEstoque> |
recuperar(java.util.Map<java.lang.String,java.lang.Object> parametros) |
void |
retrocessoMatContabilidade(java.sql.Date data) |
void |
salvar(FechamentoMensalEstoque entidade) |
java.sql.Date |
ultimaDataEncerramento(java.lang.Long almoxarifado) |
java.lang.String |
ultimoAnoEncerrado(java.lang.Long almoxarifado) |
java.lang.String |
ultimoMesEncerrado(java.lang.Long almoxarifado) |
private static final long serialVersionUID
@Autowired private FechamentoMensalEstoqueDao fechamentoMensalEstoqueDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<FechamentoMensalEstoque> getDao()
public java.lang.String ultimoMesEncerrado(java.lang.Long almoxarifado) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.String ultimoAnoEncerrado(java.lang.Long almoxarifado) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.sql.Date ultimaDataEncerramento(java.lang.Long almoxarifado) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void abreMesEstoque(java.lang.Long almoxarifado, java.lang.String anomes) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void fechaMesEstoque(java.lang.Long almoxarifado, java.lang.String anomes, java.lang.String observacao) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public FechamentoMensalEstoque buscaInformacoesEncerramento(java.lang.Long almoxarifado) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
almoxarifado
- FechamentoMensalEstoque
ErpServiceException
public void inserir(FechamentoMensalEstoque entidade) throws br.inf.thema.erp.infra.exception.ErpException
inserir
in interface br.inf.thema.erp.infra.Manutencao<FechamentoMensalEstoque>
inserir
in class br.inf.thema.erp.infra.service.ManutencaoService<FechamentoMensalEstoque>
br.inf.thema.erp.infra.exception.ErpException
public void apagar(FechamentoMensalEstoque entidade) throws br.inf.thema.erp.infra.exception.ErpException
apagar
in interface br.inf.thema.erp.infra.Manutencao<FechamentoMensalEstoque>
apagar
in class br.inf.thema.erp.infra.service.ManutencaoService<FechamentoMensalEstoque>
br.inf.thema.erp.infra.exception.ErpException
public java.util.List<FechamentoMensalEstoque> localizar(java.util.Map<java.lang.String,java.lang.Object> where) throws br.inf.thema.erp.infra.exception.ErpException
localizar
in interface br.inf.thema.erp.infra.Manutencao<FechamentoMensalEstoque>
localizar
in class br.inf.thema.erp.infra.service.ManutencaoService<FechamentoMensalEstoque>
br.inf.thema.erp.infra.exception.ErpException
public java.util.List<FechamentoMensalEstoque> recuperar(java.util.Map<java.lang.String,java.lang.Object> parametros) throws br.inf.thema.erp.infra.exception.ErpException
recuperar
in interface br.inf.thema.erp.infra.Manutencao<FechamentoMensalEstoque>
recuperar
in class br.inf.thema.erp.infra.service.ManutencaoService<FechamentoMensalEstoque>
br.inf.thema.erp.infra.exception.ErpException
public void salvar(FechamentoMensalEstoque entidade) throws br.inf.thema.erp.infra.exception.ErpException
salvar
in interface br.inf.thema.erp.infra.Manutencao<FechamentoMensalEstoque>
salvar
in class br.inf.thema.erp.infra.service.ManutencaoService<FechamentoMensalEstoque>
br.inf.thema.erp.infra.exception.ErpException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void retrocessoMatContabilidade(java.sql.Date data) 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 integraMaterialContabilidade(java.sql.Date data) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void buscainformacoesencerramentoPatrimonio(FechamentoMensalEstoque 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 void aberturaMensalPatrimonio(FechamentoMensalEstoque 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 void fechamentoMensalPatrimonio(FechamentoMensalEstoque 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.util.Map<java.lang.String,java.lang.Object> fechaMesAnteriorLoteEstoque(java.lang.Long administracao, java.lang.Long usuario, java.lang.String observacao) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException