public interface I_CmsPreEditorActionDefinition extends I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
限定符和类型 | 方法和说明 |
---|---|
boolean |
doPreAction(CmsResource resource,
CmsDialog dialog,
java.lang.String originalParams)
Returns if an action has to be performed before opening the editor depending on the resource to edit
and eventual request parameter values.
|
I_CmsResourceType |
getResourceType()
Returns the resource type for which the action should be performed.
|
java.lang.String |
getResourceTypeName()
Returns the resource type name for which the action should be performed.
|
void |
setResourceTypeName(java.lang.String resourceTypeName)
Sets the resource type name for which the action should be performed.
|
addConfigurationParameter, getConfiguration, initConfiguration
boolean doPreAction(CmsResource resource, CmsDialog dialog, java.lang.String originalParams) throws java.lang.Exception
resource
- the resource to be editeddialog
- the dialog instanceoriginalParams
- the original request parameters as String passed to the editorjava.lang.Exception
- if something goes wrongI_CmsResourceType getResourceType()
java.lang.String getResourceTypeName()
void setResourceTypeName(java.lang.String resourceTypeName)
resourceTypeName
- the resource type name