Examples of Kost2ArtImpl


Examples of org.projectforge.reporting.impl.Kost2ArtImpl

      if (kost2Art.isDeleted() == true) {
        continue;
      }
      final Kost2ArtDO kost2ArtDO = new Kost2ArtDO();
      kost2ArtDO.copyValuesFrom(((Kost2ArtImpl) kost2Art).getKost2ArtDO());
      final Kost2ArtImpl art = new Kost2ArtImpl(kost2ArtDO);
      if (set.contains(((Kost2ArtImpl) kost2Art).getKost2ArtDO()) == true) {
        art.setExistsAlready(true);
      }
      result.add(art);
    }
    return result;
  }
View Full Code Here

Examples of org.projectforge.reporting.impl.Kost2ArtImpl

    if (allKost2Arts != null) {
      for (final Kost2Art kost2Art : allKost2Arts) {
        final Kost2ArtDO kost2ArtDO = ((Kost2ArtImpl) kost2Art).getKost2ArtDO();
        final Kost2ArtDO clone = new Kost2ArtDO();
        clone.copyValuesFrom(kost2ArtDO);
        list.add(new Kost2ArtImpl(clone));
      }
    }
    return list;
  }
View Full Code Here

Examples of org.projectforge.reporting.impl.Kost2ArtImpl

  void updateKost2Arts()
  {
    List<Kost2ArtDO> result = hibernateTemplate.find("from Kost2ArtDO t where t.deleted = false order by t.id");
    List<Kost2Art> list = new ArrayList<Kost2Art>();
    for (Kost2ArtDO kost2ArtDO : result) {
      Kost2ArtImpl art = new Kost2ArtImpl(kost2ArtDO);
      list.add(art);
    }
    // This method must not be synchronized because it works with a new copy of list.
    this.allKost2Arts = list;
  }
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.