|
||||||
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.list.A_CmsListExplorerDialog
org.opencms.workplace.commons.CmsPublishBrokenRelationsList
public class CmsPublishBrokenRelationsList
List for resources with links that could get broken after publishing.
Field Summary | |
---|---|
static java.lang.String |
LIST_DETAIL_RELATIONS
list action id constant. |
static java.lang.String |
LIST_DETAIL_RELATIONS_HIDE
list action id constant. |
static java.lang.String |
LIST_DETAIL_RELATIONS_PRINT
list action id constant. |
static java.lang.String |
LIST_DETAIL_RELATIONS_SHOW
list action id constant. |
static java.lang.String |
LIST_ID
list id constant. |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
---|---|
CmsPublishBrokenRelationsList(CmsJspActionElement jsp,
java.lang.String relativeTo)
Public constructor. |
Method Summary | |
---|---|
void |
executeListMultiActions()
This method should handle every defined list multi action, by comparing with the id
of the action to execute. |
void |
executeListSingleActions()
This method should handle every defined list single action, by comparing with the id
of the action to execute. |
protected void |
fillDetails(java.lang.String detailId)
Lazy initialization for detail data. |
I_CmsListResourceCollector |
getCollector()
Returns the collector to use to display the resources. |
protected java.util.List |
getListItems()
Should generate a list with the list items to be displayed. |
CmsRelationPublishValidator |
getValidator()
Returns the validator. |
protected boolean |
isColumnVisible(int colFlag)
Returns the visibility flag for a given column. |
protected void |
setColumns(CmsListMetadata metadata)
Adds the standard explorer view columns to the list. |
protected void |
setIndependentActions(CmsListMetadata metadata)
Should add the independent actions to the given list metadata object. |
protected void |
setMultiActions(CmsListMetadata metadata)
Should add the multi actions to the given list metadata object. |
Methods inherited from class org.opencms.workplace.list.A_CmsListExplorerDialog |
---|
applyColumnVisibilities, defaultActionHtmlStart, executeListIndepActions, executeSelectPage, fillList, getColVisibilities, getListStateForCollector, getParamShowexplorer, getProject, getResourceUtil, getResourceUtil, initWorkplaceRequestValues, setColumnVisibilities, setColumnVisibility, setColVisibilities, setParamShowexplorer |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
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_DETAIL_RELATIONS
public static final java.lang.String LIST_DETAIL_RELATIONS_PRINT
public static final java.lang.String LIST_DETAIL_RELATIONS_HIDE
public static final java.lang.String LIST_DETAIL_RELATIONS_SHOW
public static final java.lang.String LIST_ID
Constructor Detail |
---|
public CmsPublishBrokenRelationsList(CmsJspActionElement jsp, java.lang.String relativeTo)
jsp
- an initialized JSP action elementrelativeTo
- the 'relative to' path, this only affects the generation of the path for the resourceMethod Detail |
---|
public void executeListMultiActions()
A_CmsListDialog
A_CmsListDialog.getParamListAction()
with the id
of the action to execute.
executeListMultiActions
in class A_CmsListDialog
A_CmsListDialog.executeListMultiActions()
public void executeListSingleActions()
A_CmsListDialog
A_CmsListDialog.getParamListAction()
with the id
of the action to execute.
executeListSingleActions
in class A_CmsListDialog
A_CmsListDialog.executeListSingleActions()
public I_CmsListResourceCollector getCollector()
A_CmsListExplorerDialog
getCollector
in class A_CmsListExplorerDialog
A_CmsListExplorerDialog.getCollector()
public CmsRelationPublishValidator getValidator()
protected void fillDetails(java.lang.String detailId)
A_CmsListDialog
Should fill the given detail column for every list item in
Should not throw any kind of exception.CmsHtmlList.getContent()
fillDetails
in class A_CmsListDialog
detailId
- the id of the detail to initializeA_CmsListDialog.fillDetails(java.lang.String)
protected java.util.List getListItems() throws CmsException
A_CmsListDialog
getListItems
in class A_CmsListExplorerDialog
CmsListItem
s
CmsException
- if something goes wrongA_CmsListExplorerDialog.getListItems()
protected boolean isColumnVisible(int colFlag)
A_CmsListExplorerDialog
The default behavior is to show the same columns as the explorer view, but this can be overwritten.
isColumnVisible
in class A_CmsListExplorerDialog
colFlag
- some CmsUserSettings.FILELIST_TITLE
like value
identifying the column to get the visibility flag for
A_CmsListExplorerDialog.isColumnVisible(int)
protected void setColumns(CmsListMetadata metadata)
A_CmsListExplorerDialog
setColumns
in class A_CmsListExplorerDialog
metadata
- the list metadataA_CmsListDialog.setColumns(org.opencms.workplace.list.CmsListMetadata)
protected void setIndependentActions(CmsListMetadata metadata)
A_CmsListDialog
This method will be just executed once, the first time the constructor is called.
setIndependentActions
in class A_CmsListExplorerDialog
metadata
- the list metadataA_CmsListDialog.setIndependentActions(org.opencms.workplace.list.CmsListMetadata)
protected void setMultiActions(CmsListMetadata metadata)
A_CmsListDialog
This method will be just executed once, the first time the constructor is called.
setMultiActions
in class A_CmsListDialog
metadata
- the list metadataA_CmsListDialog.setMultiActions(org.opencms.workplace.list.CmsListMetadata)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |