/** * Returns the current list state.<p> * * @return the current list state */ protected CmsListState getListState() { if (m_listState != null) { // in case of refreshList call return m_listState; } return getList().getState(); }
/** * Save the state of the list in the session.<p> */ protected synchronized void listSave() { setListObject(this.getClass(), getList()); }
/** * Save the state of the list in the session.<p> */ protected synchronized void listSave() { setListObject(this.getClass(), getList()); }
/** * Select a page, given the action is set to <code>LIST_SELECT_PAGE</code> and * the page to go to is set in the <code>PARAM_PAGE</code> parameter.<p> */ protected void executeSelectPage() { int page = Integer.valueOf(getParamPage()).intValue(); getList().setCurrentPage(page); }
/** * Select a page, given the action is set to <code>LIST_SELECT_PAGE</code> and * the page to go to is set in the <code>PARAM_PAGE</code> parameter.<p> */ protected void executeSelectPage() { int page = Integer.valueOf(getParamPage()).intValue(); getList().setCurrentPage(page); }
/** * Sort the list, given the action is set to <code>LIST_SORT</code> and * the sort column is set in the <code>PARAM_SORT_COL</code> parameter.<p> */ protected void executeSort() { getList().setSortedColumn(getParamSortCol()); }
/** * Sort the list, given the action is set to <code>LIST_SORT</code> and * the sort column is set in the <code>PARAM_SORT_COL</code> parameter.<p> */ protected void executeSort() { getList().setSortedColumn(getParamSortCol()); }
/** * Filter a list, given the action is set to <code>LIST_SEARCH</code> and * the filter text is set in the <code>PARAM_SEARCH_FILTER</code> parameter.<p> */ protected void executeSearch() { getList().setSearchFilter(getParamSearchFilter()); }
/** * Generates the dialog starting html code.<p> * * @return html code */ protected String defaultActionHtmlStart() { return m_activeWp.getList().listJs() + m_activeWp.dialogContentStart(getActiveWp().getParamTitle()); } }
/** * Generates the dialog starting html code.<p> * * @return html code */ protected String defaultActionHtmlStart() { return m_activeWp.getList().listJs() + m_activeWp.dialogContentStart(getActiveWp().getParamTitle()); } }
/** * @see org.opencms.workplace.list.CmsTwoListsDialog#defaultActionHtmlStart() */ @Override protected String defaultActionHtmlStart() { return getActiveWp().getList().listJs() + getActiveWp().dialogContentStart(getActiveWp().getParamTitle()); } }
/** * @see org.opencms.workplace.list.CmsTwoListsDialog#defaultActionHtmlStart() */ @Override protected String defaultActionHtmlStart() { return getActiveWp().getList().listJs() + getActiveWp().dialogContentStart(getActiveWp().getParamTitle()); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getName() */ @Override public CmsMessageContainer getName() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_HIDE_OTHEROU_NAME_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_HIDE_OTHEROU_NAME_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getHelpText() */ @Override public CmsMessageContainer getHelpText() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_SHOW_OTHEROU_HELP_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_SHOW_OTHEROU_HELP_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getName() */ @Override public CmsMessageContainer getName() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_HIDE_OTHEROU_NAME_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_HIDE_OTHEROU_NAME_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getHelpText() */ @Override public CmsMessageContainer getHelpText() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_HIDE_OTHEROU_HELP_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_HIDE_OTHEROU_HELP_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getHelpText() */ @Override public CmsMessageContainer getHelpText() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_HIDE_OTHEROU_HELP_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_HIDE_OTHEROU_HELP_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getHelpText() */ @Override public CmsMessageContainer getHelpText() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_SHOW_OTHEROU_HELP_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_SHOW_OTHEROU_HELP_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getName() */ @Override public CmsMessageContainer getName() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_SHOW_OTHEROU_NAME_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_SHOW_OTHEROU_NAME_0); } }
/** * @see org.opencms.workplace.tools.A_CmsHtmlIconButton#getName() */ @Override public CmsMessageContainer getName() { if (getWp().getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).isVisible()) { return Messages.get().container(Messages.GUI_GROUPS_DETAIL_SHOW_OTHEROU_NAME_0); } else { return Messages.get().container(Messages.GUI_USERS_DETAIL_SHOW_OTHEROU_NAME_0); } }