|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.editors.A_CmsPreEditorActionDefinition
public abstract class A_CmsPreEditorActionDefinition
Defines an action to be performed before the workplace editor is opened for the first time.
Implements the basic methods to handle the resource type.
Constructor Summary | |
---|---|
A_CmsPreEditorActionDefinition()
Constructor, without parameters. |
Method Summary | |
---|---|
abstract 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public A_CmsPreEditorActionDefinition()
Method Detail |
---|
public abstract boolean doPreAction(CmsResource resource, CmsDialog dialog, java.lang.String originalParams) throws java.lang.Exception
I_CmsPreEditorActionDefinition
doPreAction
in interface I_CmsPreEditorActionDefinition
resource
- the resource to be editeddialog
- the dialog instanceoriginalParams
- the original request parameters as String passed to the editor
java.lang.Exception
- if something goes wrongI_CmsPreEditorActionDefinition.doPreAction(org.opencms.file.CmsResource, org.opencms.workplace.CmsDialog, java.lang.String)
public I_CmsResourceType getResourceType()
I_CmsPreEditorActionDefinition
getResourceType
in interface I_CmsPreEditorActionDefinition
I_CmsPreEditorActionDefinition.getResourceType()
public java.lang.String getResourceTypeName()
I_CmsPreEditorActionDefinition
getResourceTypeName
in interface I_CmsPreEditorActionDefinition
I_CmsPreEditorActionDefinition.getResourceTypeName()
public void setResourceTypeName(java.lang.String resourceTypeName)
I_CmsPreEditorActionDefinition
setResourceTypeName
in interface I_CmsPreEditorActionDefinition
resourceTypeName
- the resource type nameI_CmsPreEditorActionDefinition.setResourceTypeName(java.lang.String)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |