Package org.opencms.ui.actions
Class CmsSeoAction
java.lang.Object
org.opencms.ui.actions.A_CmsWorkplaceAction
org.opencms.ui.actions.CmsSeoAction
- All Implemented Interfaces:
I_CmsADEAction
,I_CmsWorkplaceAction
,I_CmsHasMenuItemVisibility
Action to open the SEO dialog.
Used within the ADE page editor context only.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeAction
(I_CmsDialogContext context) Executes the action.Returns the client side command to execute.getId()
The action id.Returns the optional dialog JSP.Returns the optional command parameters.protected String
Returns 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.boolean
Returns whether the ADE context is supported.Methods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitle, getDialogTitleKey, getTitle, hasBlockingLocks, hasBlockingLocks, isActive, openDialog, openDialog
-
Field Details
-
ACTION_ID
The action id.- See Also:
-
-
Constructor Details
-
CmsSeoAction
public CmsSeoAction()
-
-
Method Details
-
executeAction
Description copied from interface:I_CmsWorkplaceAction
Executes the action.- Specified by:
executeAction
in interfaceI_CmsWorkplaceAction
- Parameters:
context
- the current dialog context.- See Also:
-
getCommandClassName
Description copied from interface:I_CmsADEAction
Returns the client side command to execute.- Specified by:
getCommandClassName
in interfaceI_CmsADEAction
- Returns:
- the client side command
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceAction
The action id.- Specified by:
getId
in interfaceI_CmsWorkplaceAction
- Returns:
- the action id
- See Also:
-
getJspPath
Description copied from interface:I_CmsADEAction
Returns the optional dialog JSP.- Specified by:
getJspPath
in interfaceI_CmsADEAction
- Returns:
- the dialog JSP
- See Also:
-
getParams
Description copied from interface:I_CmsADEAction
Returns the optional command parameters.- Specified by:
getParams
in interfaceI_CmsADEAction
- Returns:
- the command parameters
- See Also:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibility
Gets the visibility for the current resource and CMS context.- Specified by:
getVisibility
in interfaceI_CmsHasMenuItemVisibility
- Parameters:
cms
- the CMS context to useresources
- the list of resources to check- Returns:
- the visibility
- See Also:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibility
Gets the visibility for the current dialog context.- Specified by:
getVisibility
in interfaceI_CmsHasMenuItemVisibility
- Overrides:
getVisibility
in classA_CmsWorkplaceAction
- Parameters:
context
- the dialog context- Returns:
- the visibility
- See Also:
-
isAdeSupported
Description copied from interface:I_CmsADEAction
Returns whether the ADE context is supported.- Specified by:
isAdeSupported
in interfaceI_CmsADEAction
- Returns:
true
in case the ADE context is supported- See Also:
-
getTitleKey
Description copied from class:A_CmsWorkplaceAction
Returns the workplace message bundle key of the action title.- Specified by:
getTitleKey
in classA_CmsWorkplaceAction
- Returns:
- the title message bundle key
- See Also:
-