Examples of SystemInfoCache


Examples of org.projectforge.core.SystemInfoCache

            addRowClick(item);
          }
        }.withUserFormatter(userFormatter));
      }
    }
    final SystemInfoCache systemInfoCache = SystemInfoCache.instance();
    if (systemInfoCache.isCost2EntriesExists() == true) {
      columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(new Model<String>(page.getString("fibu.kunde")), getSortable(
          "kost2.projekt.kunde.name", sortable), "kost2.projekt.kunde.name", cellItemListener));
      columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(new Model<String>(page.getString("fibu.projekt")), getSortable(
          "kost2.projekt.name", sortable), "kost2.projekt.name", cellItemListener));
    }
    columns.add(new TaskPropertyColumn<TimesheetDO>(page.getString("task"), getSortable("task.title", sortable), "task", cellItemListener)
        .withTaskTree(taskTree));
    if (systemInfoCache.isCost2EntriesExists() == true) {
      columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(page.getString("fibu.kost2"), getSortable("kost2.shortDisplayName",
          sortable), "kost2.shortDisplayName", cellItemListener));
    }
    columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(page.getString("calendar.weekOfYearShortLabel"), getSortable(
        "formattedWeekOfYear", sortable), "formattedWeekOfYear", cellItemListener));
View Full Code Here

Examples of org.projectforge.core.SystemInfoCache

  private void _testAllMountedPages()
  {
    log.info("Test all web pages with.");
    login(TestBase.TEST_FULL_ACCESS_USER, TestBase.TEST_FULL_ACCESS_USER_PASSWORD);
    final SystemInfoCache systemInfoCache = TestConfiguration.getConfiguration().getBean("systemInfoCache", SystemInfoCache.class);
    SystemInfoCache.internalInitialize(systemInfoCache);
    final Map<String, Class< ? extends WebPage>> pages = WebRegistry.instance().getMountPages();
    counter = 0;
    for (final Map.Entry<String, Class< ? extends WebPage>> entry : pages.entrySet()) {
      boolean skip = false;
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.