public class CmsAvailabilityDialogAction extends A_CmsWorkplaceAction implements I_CmsADEAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_ID
The action id.
|
static I_CmsHasMenuItemVisibility |
VISIBILITY
The action visibility.
|
| Constructor and Description |
|---|
CmsAvailabilityDialogAction() |
| 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, openDialogpublic static final java.lang.String ACTION_ID
public static final I_CmsHasMenuItemVisibility VISIBILITY
public CmsAvailabilityDialogAction()
public void executeAction(I_CmsDialogContext context)
I_CmsWorkplaceActionexecuteAction in interface I_CmsWorkplaceActioncontext - the current dialog context.I_CmsWorkplaceAction.executeAction(org.opencms.ui.I_CmsDialogContext)public java.lang.String getCommandClassName()
I_CmsADEActiongetCommandClassName in interface I_CmsADEActionI_CmsADEAction.getCommandClassName()public java.lang.String getId()
I_CmsWorkplaceActiongetId in interface I_CmsWorkplaceActionI_CmsWorkplaceAction.getId()public java.lang.String getJspPath()
I_CmsADEActiongetJspPath in interface I_CmsADEActionI_CmsADEAction.getJspPath()public java.util.Map<java.lang.String,java.lang.String> getParams()
I_CmsADEActiongetParams in interface I_CmsADEActionI_CmsADEAction.getParams()public CmsMenuItemVisibilityMode getVisibility(CmsObject cms, java.util.List<CmsResource> resources)
I_CmsHasMenuItemVisibilitygetVisibility in interface I_CmsHasMenuItemVisibilitycms - the CMS context to useresources - the list of resources to checkI_CmsHasMenuItemVisibility.getVisibility(org.opencms.file.CmsObject, java.util.List)public boolean isAdeSupported()
I_CmsADEActionisAdeSupported in interface I_CmsADEActiontrue in case the ADE context is supportedI_CmsADEAction.isAdeSupported()protected java.lang.String getTitleKey()
A_CmsWorkplaceActiongetTitleKey in class A_CmsWorkplaceActionA_CmsWorkplaceAction.getTitleKey()