Examples of Movimentacao


Examples of br.com.granja.dominio.Movimentacao

  public void insert(Produtos produto,BigDecimal valor, int operacao) throws ServiceBusinessException{
    insert(null,null,produto,produto.getTipoMovimentacao(),valor,operacao);
  }
 
  public void insert(Racao racao, Insumo insumo, Produtos produto, TipoMovimentacao tipo, BigDecimal valor, int operacao) throws ServiceBusinessException {
    Movimentacao mov = new Movimentacao();
    mov.setRacao(racao);
    mov.setInsumo(insumo);
    mov.setProduto(produto);
    mov.setOperacao(operacao);
    mov.setValor(valor);
    mov.setTipoMovimentacao(tipo);
    mov.setData(new Date());
    mov.setUsuario(usuarioService.findByLogin((User) SecurityContextHolder.getContext().getAuthentication().getPrincipal()));
    super.insert(mov);
  }
View Full Code Here

Examples of br.com.syspartenon.partenon.domain.Movimentacao

        this.evento = evento;
    }

    public Movimentacao getMovimentacao() {
        if(movimentacao == null){
            movimentacao = new Movimentacao();
            movimentacao.setEvento(evento);
        }
        return movimentacao;
    }
View Full Code Here

Examples of br.com.syspartenon.partenon.domain.Movimentacao

            messageContext.add("Erro ao remover Movimentação: " + e.getMessage(), SeverityType.ERROR);
        }
    }
   
    public void novaMovimentacao(){
        movimentacao = new Movimentacao();
        movimentacao.setEvento(getEvento());
    }
View Full Code Here

Examples of br.com.syspartenon.partenon.domain.Movimentacao

        this.novaProgramacao = novaProgramacao;
    }
   
    public Movimentacao getNovaMovimentacao() {
        if(novaMovimentacao == null)
            novaMovimentacao = new Movimentacao();
        return novaMovimentacao;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.