Examples of FunzioneId


Examples of it.pdor.contabilita.domain.hbm.FunzioneId

  }

  public Funzione leggiFunzione(String codiceFunzione) throws ImpossibileLeggereFunzioneException {
    try {
      return (Funzione) getHibernateTemplate().get(Funzione.class,
          new FunzioneId(codiceFunzione, legalEntity, organizationUnit));
    } catch (DataAccessException e) {
      log("Impossibile Leggere Funzione: [CODICE] " + codiceFunzione);
      log("Impossibile Leggere Funzione: " + e);
      throw new ImpossibileLeggereFunzioneException();
    }
View Full Code Here

Examples of it.pdor.contabilita.domain.hbm.FunzioneId

  public Funzione scriviFunzione(Funzione funzione) throws ImpossibileScrivereFunzioneException {
    funzione.getFunzioneId().setLegalEntity(legalEntity);
    funzione.getFunzioneId().setOrganizationUnit(organizationUnit);

    FunzioneId idFunzioneInserita = (FunzioneId) getHibernateTemplate().save(funzione);

    return (Funzione) getHibernateTemplate().get(Funzione.class, idFunzioneInserita);
  }
View Full Code Here

Examples of it.pdor.contabilita.domain.hbm.FunzioneId

    assertEquals(descrizioneIvaExpected, voceFatturaActual.getGruppoParametriIva().getDescrizioneIva());
  }

  public void testRelazioneFunzioneCausaleFattura() throws ImpossibileLeggereFunzioneException, ImpossibileScrivereFunzioneException {
    String codiceFunzioneExpected = "PROVA";
    FunzioneId funzioneIdExpected = new FunzioneId(codiceFunzioneExpected, "", "");
    Funzione funzioneExpected = new Funzione(funzioneIdExpected);
    String codiceCausaleFatturaExpected = "xx";
    CausaleFatturaId codiceCausaleFatturaIdExpected = new CausaleFatturaId(codiceCausaleFatturaExpected, "", "");
    CausaleFattura causaleFatturaExpected = new CausaleFattura(codiceCausaleFatturaIdExpected);
    String descrizioneCausaleFatturaExpected = "descrizione";
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.