protected boolean showHistorySearchAndDeleteCheckbox() { return parentPage.getBaseDao().isHistorizable(); } }
protected boolean showOptionsPanel() { return parentPage.getBaseDao().isHistorizable(); }
@SuppressWarnings("unchecked") protected List<O> buildList() { return (List<O>) getBaseDao().getList(form.getSearchFilter()); }
/** * For displaying the hibernate search fields. Returns list as csv. These fields the user can directly address in his * search string, e. g. street:marie. * * @return * @see org.projectforge.framework.persistence.api.BaseDao#getSearchFields() */ public String getSearchFields() { return StringHelper.listToString(", ", getBaseDao().getSearchFields()); }
@Override protected void rebuildDatabaseIndex(final boolean onlyNewest) { if (providesOwnRebuildDatabaseIndex() == true) { ownRebuildDatabaseIndex(onlyNewest); } else { if (onlyNewest == true) { ((IPersistenceService<?>) getBaseDao()).rebuildDatabaseIndex4NewestEntries(); } else { ((IPersistenceService<?>) getBaseDao()).rebuildDatabaseIndex(); } } }
toIndex = idList.size(); final Object baseDao = listPage.getBaseDao(); if (baseDao instanceof BaseDao) { final List<T> list = (List<T>) ((BaseDao<?>) baseDao).getListByIds(idList.subList(fromIndex, toIndex));
@SuppressWarnings("serial") protected void addTopRightMenu() { if (isSelectMode() == false && ((getBaseDao() instanceof BaseDao<?>) || providesOwnRebuildDatabaseIndex() == true || true)) { new AbstractReindexTopRightMenu(this.contentMenuBarPanel, accessChecker.isLoggedInUserMemberOfAdminGroup()) { @Override protected void rebuildDatabaseIndex(final boolean onlyNewest) { if (providesOwnRebuildDatabaseIndex() == true) { ownRebuildDatabaseIndex(onlyNewest); } else { if (onlyNewest == true) { ((IPersistenceService<?>) getBaseDao()).rebuildDatabaseIndex4NewestEntries(); } else { ((IPersistenceService<?>) getBaseDao()).rebuildDatabaseIndex(); } } } @Override protected String getString(final String i18nKey) { return AbstractListPage.this.getString(i18nKey); } }; } }
if (parentPage.getBaseDao().isHistorizable() == true) { IconPanel icon = new IconPanel(fs.newIconChildId(), IconType.PLUS_SIGN, getString("filter.extendedSearch")) .setOnClick("javascript:showExtendedFilter();"); if (parentPage.getBaseDao().isHistorizable() == true && isFilterVisible() == true) { addExtendedFilter();
form.init(); if (isSelectMode() == false && (accessChecker.isDemoUser() == true || getBaseDao().hasInsertAccess(getUser()) == true)) { newItemMenuEntry = new ContentMenuEntryPanel(contentMenuBarPanel.newChildId(), new Link<Object>("link")