@Service public class AtualizaImplantacaoService extends br.inf.thema.erp.infra.service.ManutencaoService<ProdutoAlmoxVo>
Modifier and Type | Field and Description |
---|---|
private ProdutoAlmoxDao |
produtoAlmoxDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
AtualizaImplantacaoService() |
Modifier and Type | Method and Description |
---|---|
br.inf.thema.erp.infra.dao.ManutencaoDao<ProdutoAlmoxVo> |
getDao() |
void |
salvar(ProdutoAlmoxVo entidade)
Sobrescrito para apenas atualizar os atributos
dataImplantacao, implantado e quantidadeAtual(este, caso não esteja nulo)
|
java.lang.String |
selectModoSaidaMaterial()
Retorna o modo de saída do material
|
private static final long serialVersionUID
@Autowired private ProdutoAlmoxDao produtoAlmoxDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<ProdutoAlmoxVo> getDao()
public java.lang.String selectModoSaidaMaterial() throws br.inf.thema.erp.infra.service.exception.ErpServiceException
ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void salvar(ProdutoAlmoxVo entidade) throws br.inf.thema.erp.infra.exception.ErpException
salvar
in interface br.inf.thema.erp.infra.Manutencao<ProdutoAlmoxVo>
salvar
in class br.inf.thema.erp.infra.service.ManutencaoService<ProdutoAlmoxVo>
entidade
- ErpServiceException
br.inf.thema.erp.infra.exception.ErpException