Examples of copyValuesFrom()


Examples of org.projectforge.fibu.ProjektDO.copyValuesFrom()

    final ProjektDO projekt = __baseDao.getProjekt(taskId);
    if (projekt == null) {
      return null;
    }
    final ProjektDO result = new ProjektDO();
    result.copyValuesFrom(projekt);
    return result;
  }

  public ProjektDO getProjekt(final ScriptingTaskNode node)
  {
View Full Code Here

Examples of org.projectforge.fibu.kost.BuchungssatzDO.copyValuesFrom()

      } else if (el.isSelected() == true) {
        addSatz = true;
      }
      if (addSatz == true) {
        final BuchungssatzDO newSatz = new BuchungssatzDO();
        newSatz.copyValuesFrom(satz, "konto", "gegenKonto", "kost1", "kost2");
        newSatz.setKonto((KontoDO) get(KontoDO.class, satz.getKontoId()));
        newSatz.setGegenKonto((KontoDO) get(KontoDO.class, satz.getGegenKontoId()));
        newSatz.setKost1((Kost1DO) get(Kost1DO.class, satz.getKost1Id()));
        newSatz.setKost2((Kost2DO) get(Kost2DO.class, satz.getKost2Id()));
        col.add(newSatz);
View Full Code Here

Examples of org.projectforge.timesheet.TimesheetDO.copyValuesFrom()

      final TimesheetDO dbTimesheet = timesheetDao.internalGetById(id);
      if (dbTimesheet == null) {
        return;
      }
      final TimesheetDO timesheet = new TimesheetDO();
      timesheet.copyValuesFrom(dbTimesheet);
      final Long newStartTimeMillis = newStartTime != null ? DateHelper.getDateTimeAsMillis(newStartTime) : null;
      final Long newEndTimeMillis = newEndTime != null ? DateHelper.getDateTimeAsMillis(newEndTime) : null;
      if (newStartTimeMillis != null) {
        timesheet.setStartDate(newStartTimeMillis);
      }
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.