public final class CmsLockedResourcesAction extends A_CmsWorkplaceAction implements I_CmsADEAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_ID
The action id.
|
Constructor and Description |
---|
CmsLockedResourcesAction() |
Modifier and Type | Method and Description |
---|---|
void |
executeAction(I_CmsDialogContext context)
Executes the action.
|
java.lang.String |
getCommandClassName()
Returns the client side command to execute.
|
java.lang.String |
getId()
The action id.
|
java.lang.String |
getJspPath()
Returns the optional dialog JSP.
|
java.util.Map<java.lang.String,java.lang.String> |
getParams()
Returns the optional command parameters.
|
protected java.lang.String |
getTitleKey()
Returns the workplace message bundle key of the action title.
|
CmsMenuItemVisibilityMode |
getVisibility(CmsObject cms,
java.util.List<CmsResource> resources)
Gets the visibility for the current resource and CMS context.
|
boolean |
isAdeSupported()
Returns whether the ADE context is supported.
|
getDialogTitle, getDialogTitleKey, getTitle, getVisibility, hasBlockingLocks, isActive, openDialog
public static final java.lang.String ACTION_ID
public CmsLockedResourcesAction()
public void executeAction(I_CmsDialogContext context)
I_CmsWorkplaceAction
executeAction
in interface I_CmsWorkplaceAction
context
- the current dialog context.I_CmsWorkplaceAction.executeAction(org.opencms.ui.I_CmsDialogContext)
public java.lang.String getCommandClassName()
I_CmsADEAction
getCommandClassName
in interface I_CmsADEAction
I_CmsADEAction.getCommandClassName()
public java.lang.String getId()
I_CmsWorkplaceAction
getId
in interface I_CmsWorkplaceAction
I_CmsWorkplaceAction.getId()
public java.lang.String getJspPath()
I_CmsADEAction
getJspPath
in interface I_CmsADEAction
I_CmsADEAction.getJspPath()
public java.util.Map<java.lang.String,java.lang.String> getParams()
I_CmsADEAction
getParams
in interface I_CmsADEAction
I_CmsADEAction.getParams()
public CmsMenuItemVisibilityMode getVisibility(CmsObject cms, java.util.List<CmsResource> resources)
I_CmsHasMenuItemVisibility
getVisibility
in interface I_CmsHasMenuItemVisibility
cms
- the CMS context to useresources
- the list of resources to checkI_CmsHasMenuItemVisibility.getVisibility(org.opencms.file.CmsObject, java.util.List)
public boolean isAdeSupported()
I_CmsADEAction
isAdeSupported
in interface I_CmsADEAction
true
in case the ADE context is supportedI_CmsADEAction.isAdeSupported()
protected java.lang.String getTitleKey()
A_CmsWorkplaceAction
getTitleKey
in class A_CmsWorkplaceAction
A_CmsWorkplaceAction.getTitleKey()