예제 #1
0
  public void alterar(final FormaPagamentoModel model) throws TSApplicationException {

    TSDataBaseBrokerIf broker = TSDataBaseBrokerFactory.getDataBaseBrokerIf();

    broker.setPropertySQL(
        "formapagamentodao.alterar",
        model.getDescricao(),
        model.getFlagAtivo(),
        model.getFlagExibirOrigem(),
        model.getId());

    broker.execute();
  }