Package org.opencms.ui.actions
Class CmsEditPageAction
java.lang.Object
org.opencms.ui.actions.A_CmsWorkplaceAction
org.opencms.ui.actions.CmsDisplayAction
org.opencms.ui.actions.CmsEditPageAction
- All Implemented Interfaces:
I_CmsADEAction,I_CmsDefaultAction,I_CmsWorkplaceAction,I_CmsHasMenuItemVisibility
The edit page action. Available for container pages.
-
Field Summary
FieldsFields inherited from class org.opencms.ui.actions.CmsDisplayAction
ONLINE_WINDOW_NAME, VISIBILITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the client side command to execute.intgetDefaultActionRank(I_CmsDialogContext context) Returns the action rank, the highest ranked default action will be used.getId()The action id.Returns the optional dialog JSP.Returns the optional command parameters.protected StringReturns the workplace message bundle key of the action title.getVisibility(CmsObject cms, List<CmsResource> resources) Gets the visibility for the current resource and CMS context.getVisibility(I_CmsDialogContext context) Gets the visibility for the current dialog context.booleanReturns whether the ADE context is supported.Methods inherited from class org.opencms.ui.actions.CmsDisplayAction
executeActionMethods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitle, getDialogTitleKey, getTitle, hasBlockingLocks, hasBlockingLocks, isActive, openDialog, openDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.ui.actions.I_CmsWorkplaceAction
getTitle, isActive
-
Field Details
-
ACTION_ID
The action id.- See Also:
-
-
Constructor Details
-
CmsEditPageAction
public CmsEditPageAction()
-
-
Method Details
-
getCommandClassName
Description copied from interface:I_CmsADEActionReturns the client side command to execute.- Specified by:
getCommandClassNamein interfaceI_CmsADEAction- Returns:
- the client side command
- See Also:
-
getDefaultActionRank
Description copied from interface:I_CmsDefaultActionReturns the action rank, the highest ranked default action will be used.- Specified by:
getDefaultActionRankin interfaceI_CmsDefaultAction- Overrides:
getDefaultActionRankin classCmsDisplayAction- Parameters:
context- the dialog context- Returns:
- the action rank
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceActionThe action id.- Specified by:
getIdin interfaceI_CmsWorkplaceAction- Overrides:
getIdin classCmsDisplayAction- Returns:
- the action id
- See Also:
-
getJspPath
Description copied from interface:I_CmsADEActionReturns the optional dialog JSP.- Specified by:
getJspPathin interfaceI_CmsADEAction- Returns:
- the dialog JSP
- See Also:
-
getParams
Description copied from interface:I_CmsADEActionReturns the optional command parameters.- Specified by:
getParamsin interfaceI_CmsADEAction- Returns:
- the command parameters
- See Also:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibilityGets the visibility for the current resource and CMS context.- Specified by:
getVisibilityin interfaceI_CmsHasMenuItemVisibility- Overrides:
getVisibilityin classCmsDisplayAction- Parameters:
cms- the CMS context to useresources- the list of resources to check- Returns:
- the visibility
- See Also:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibilityGets the visibility for the current dialog context.- Specified by:
getVisibilityin interfaceI_CmsHasMenuItemVisibility- Overrides:
getVisibilityin classA_CmsWorkplaceAction- Parameters:
context- the dialog context- Returns:
- the visibility
- See Also:
-
isAdeSupported
Description copied from interface:I_CmsADEActionReturns whether the ADE context is supported.- Specified by:
isAdeSupportedin interfaceI_CmsADEAction- Returns:
truein case the ADE context is supported- See Also:
-
getTitleKey
Description copied from class:A_CmsWorkplaceActionReturns the workplace message bundle key of the action title.- Overrides:
getTitleKeyin classCmsDisplayAction- Returns:
- the title message bundle key
- See Also:
-