Examples of Gruppo


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

    try {
      schedaContoAction.setSchedaContoIn(creaSchedaContoIn());
      schedaContoAction.setMessageBundle(new StampeContabiliMessageBundle(new Locale("it_IT")));

      ContabilitaFacadeFake contabilitaFacadeFake = new ContabilitaFacadeFake();
      Gruppo gruppo = new Gruppo();
      gruppo.setDescrizioneGruppo("descrizione Gruppo Fake");
      contabilitaFacadeFake.setGruppo(gruppo);

      Mastro mastro = new Mastro();
      mastro.setDescrizioneMastro("descrizione Mastro Fake");
      contabilitaFacadeFake.setMastro(mastro);
View Full Code Here

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

    SchedaContoIn schedaContoIn = creaSchedaContoIn();
    schedaContoAction.setSchedaContoIn(schedaContoIn);
    schedaContoAction.setMessageBundle(new StampeContabiliMessageBundle(new Locale("it_IT")));

    ContabilitaFacadeFake contabilitaFacadeFake = new ContabilitaFacadeFake();
    Gruppo gruppo = new Gruppo();
    gruppo.setDescrizioneGruppo("descrizione Gruppo Fake");
    contabilitaFacadeFake.setGruppo(gruppo);

    Mastro mastro = new Mastro();
    mastro.setDescrizioneMastro("descrizione Mastro Fake");
    contabilitaFacadeFake.setMastro(mastro);
View Full Code Here

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

    SchedaContoIn schedaContoIn = creaSchedaContoIn();
    schedaContoAction.setSchedaContoIn(schedaContoIn);
    schedaContoAction.setMessageBundle(new StampeContabiliMessageBundle(new Locale("it_IT")));

    ContabilitaFacadeFake contabilitaFacadeFake = new ContabilitaFacadeFake();
    Gruppo gruppo = new Gruppo();
    gruppo.setDescrizioneGruppo("descrizione Gruppo Fake");
    contabilitaFacadeFake.setGruppo(gruppo);

    Mastro mastro = new Mastro();
    mastro.setDescrizioneMastro("descrizione Mastro Fake");
    contabilitaFacadeFake.setMastro(mastro);
View Full Code Here

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

    List<Conto> contiTrovati = contabilitaDao.cercaContoByPianoDeiConti(pianoDeiConti);
    if (contiTrovati.size() != 0)
      return;

    Gruppo gruppo = contabilitaDao.leggiGruppo(pianoDeiConti.getCodiceGruppo());
    if (gruppo == null)
      throw new GruppoNotFoundException(pianoDeiConti.getCodiceGruppo());

    Mastro mastro = contabilitaDao.leggiMastro(pianoDeiConti.getCodiceGruppo(), pianoDeiConti.getCodiceMastro());
    if (mastro == null)
View Full Code Here

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

  }
 
  protected void preparaDatiPerBackingBeanDestinazione() {
    popupRicercaGruppo.closePopup();
   
    Gruppo gruppoScelto = (Gruppo) getListaRighe().getSelectedRow();
    ((OggettoSceltoBean) getBeanDestinazione()).aggiornaOggettoConOggettoScelto(gruppoScelto.getGruppoId().getCodiceGruppo(), oggettoDaAggiornare, campoDaAggiornare);
    ((OggettoSceltoBean) getBeanDestinazione()).propagaAggiornamento(beanSuCuiPropagare, nomeMetodo, null);
  }
View Full Code Here

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

    Long codiceGruppo = (Long) valueLong;
    if (codifiche.containsKey(codiceGruppo)) {
      return codifiche.get(codiceGruppo);
    }
    try {
      Gruppo gruppo = contabilitaFacade.leggiGruppo(codiceGruppo);
      if (gruppo != null) {
        String desc = gruppo.getDescrizioneGruppo();
        if (desc != null) {
          codifiche.put(codiceGruppo, desc);
          return desc;
        }
      }
View Full Code Here

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

    }
  }

  private void controllaGruppoValido(long codiceGruppo) throws MovimentoNonValidoException {
    try {
      Gruppo gruppo = contabilitaFacade.leggiGruppo(codiceGruppo);
      if (gruppo == null)
        throw new MovimentoNonValidoException("AlertMsgGruppoNonValido");
    } catch (ContabilitaException e) {
      log.debug(e.getMessage(),e);
      throw new MovimentoNonValidoException("AlertMsgGruppoNonValido");
View Full Code Here

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

   * @throws Exception
   */
  private String getDescrizioneGruppo(Long gruppo) throws Exception {
    String descrGruppo = "";
    try {
      Gruppo tmpGruppo = contabilitaFacade.leggiGruppo(gruppo);
      if (tmpGruppo != null) {
        descrGruppo = tmpGruppo.getDescrizioneGruppo();
      } else
        throw new Exception(getMessageBundle().getMessage("ErroreDescrizioneGruppo"));
    } catch (ContabilitaException e) {
      e.printStackTrace();
      throw new Exception(getMessageBundle().getMessage("ErroreDescrizioneGruppo"));
View Full Code Here

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

    getPianoDeiContiA().setCodiceConto(0l);
  }

  private void controllaGruppoValido(long codiceGruppo) throws MovimentoNonValidoException {
    try {
      Gruppo gruppo = contabilitaFacade.leggiGruppo(codiceGruppo);
      if (gruppo == null)
        throw new MovimentoNonValidoException("AlertMsgGruppoNonValido");
    } catch (ContabilitaException e) {
      log.debug(e.getMessage(), e);
      throw new MovimentoNonValidoException("AlertMsgGruppoNonValido");
View Full Code Here

Examples of org.magicbox.domain.Gruppo

  public void setUp() throws Exception {}
 
  public void tearDown() throws Exception {}
 
  public void testCostruttoreVuoto() {
    Gruppo gruppo = new GruppoImpl();   
    assertNull(gruppo.getNome());
    assertTrue(gruppo.getId() == 0);
    assertTrue(gruppo.getIdCentro() == 0);
    assertTrue(gruppo.isNew());
  }
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.