|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.list.A_CmsListDialog
org.opencms.workplace.commons.A_CmsResourceCategoriesList
org.opencms.workplace.commons.CmsResourceCategoriesList
public class CmsResourceCategoriesList
Resource categories view.
| Field Summary | |
|---|---|
static java.lang.String |
LIST_ACTION_REMOVE1
list action id constant. |
static java.lang.String |
LIST_ACTION_REMOVE2
list action id constant. |
static java.lang.String |
LIST_ID
list id constant. |
static java.lang.String |
LIST_MACTION_REMOVE
list action id constant. |
| Fields inherited from class org.opencms.workplace.commons.A_CmsResourceCategoriesList |
|---|
LIST_ACTION_ICON, LIST_COLUMN_ICON, LIST_COLUMN_LEAFS, LIST_COLUMN_NAME, LIST_COLUMN_PATH, LIST_COLUMN_STATE, LIST_DETAIL_DESCRIPTION, LIST_DETAIL_PATH |
| Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
PARAM_ADMIN_PROJECT, PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
| Constructor Summary | |
|---|---|
|
CmsResourceCategoriesList(CmsJspActionElement jsp)
Public constructor. |
protected |
CmsResourceCategoriesList(CmsJspActionElement jsp,
java.lang.String listId)
Protected constructor. |
|
CmsResourceCategoriesList(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
| Method Summary | |
|---|---|
protected java.lang.String |
defaultActionHtmlStart()
Generates the dialog starting html code. |
void |
executeListSingleActions()
This method should handle every defined list single action, by comparing with the id
of the action to execute. |
protected java.util.List |
getCategories()
Returns a list of categories to display. |
protected void |
setStateActionCol(CmsListMetadata metadata)
Sets the optional state change action column. |
| Methods inherited from class org.opencms.workplace.commons.A_CmsResourceCategoriesList |
|---|
executeListMultiActions, fillDetails, getCategoryService, getListItems, getResourceCategories, setColumns, setIndependentActions, setMultiActions |
| Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
computeUpLevelLink, dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamForce, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamForce, setParamPath, setParamRoot, setParamStyle, useNewStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LIST_ACTION_REMOVE1
public static final java.lang.String LIST_ACTION_REMOVE2
public static final java.lang.String LIST_ID
public static final java.lang.String LIST_MACTION_REMOVE
| Constructor Detail |
|---|
public CmsResourceCategoriesList(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsResourceCategoriesList(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
context - the JSP page contextreq - the JSP requestres - the JSP response
protected CmsResourceCategoriesList(CmsJspActionElement jsp,
java.lang.String listId)
jsp - an initialized JSP action elementlistId - the id of the specialized list| Method Detail |
|---|
public void executeListSingleActions()
throws CmsRuntimeException
A_CmsListDialogA_CmsListDialog.getParamListAction() with the id
of the action to execute.
executeListSingleActions in class A_CmsListDialogCmsRuntimeException - to signal that an action is not supportedA_CmsListDialog.executeListSingleActions()protected java.lang.String defaultActionHtmlStart()
A_CmsListDialog
defaultActionHtmlStart in class A_CmsListDialogA_CmsListDialog.defaultActionHtmlStart()
protected java.util.List getCategories()
throws CmsException
A_CmsResourceCategoriesList
getCategories in class A_CmsResourceCategoriesListCmsException - if something goes wrongA_CmsResourceCategoriesList.getCategories()protected void setStateActionCol(CmsListMetadata metadata)
A_CmsResourceCategoriesList
setStateActionCol in class A_CmsResourceCategoriesListmetadata - the list metadata objectA_CmsResourceCategoriesList.setStateActionCol(org.opencms.workplace.list.CmsListMetadata)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||