| org.opencms.workplace.editors.I_CmsPreEditorActionDefinition
All known Subclasses: org.opencms.workplace.editors.A_CmsPreEditorActionDefinition,
I_CmsPreEditorActionDefinition | public interface I_CmsPreEditorActionDefinition (Code) | | Defines an action to be performed before the workplace editor is opened for the first time.
author: Andreas Zahner version: $Revision: 1.4 $ since: 6.5.4 |
doPreAction | boolean doPreAction(CmsResource resource, CmsDialog dialog, String originalParams) throws Exception(Code) | | Returns if an action has to be performed before opening the editor depending on the resource to edit
and eventual request parameter values.
Parameters: resource - the resource to be edited Parameters: dialog - the dialog instance Parameters: originalParams - the original request parameters as String passed to the editor true if an action has to be performed before opening the editor throws: Exception - if something goes wrong |
getResourceType | I_CmsResourceType getResourceType()(Code) | | Returns the resource type for which the action should be performed.
the resource type |
getResourceTypeName | String getResourceTypeName()(Code) | | Returns the resource type name for which the action should be performed.
the resource type name |
setResourceTypeName | void setResourceTypeName(String resourceTypeName)(Code) | | Sets the resource type name for which the action should be performed.
Parameters: resourceTypeName - the resource type name |
|
|