Class BaseEditorExtension
java.lang.Object
com.axemble.vdoc.sdk.document.extensions.BaseEditorExtension
- All Implemented Interfaces:
com.axemble.easysite.components.extensions.IEditorExtension
,Serializable
- Direct Known Subclasses:
AbstractComponentEditor
,BaseDisplayModeEditor
,BaseDisplayModeEditor
,BaseDisplayModeEditor
,BaseDisplayModeEditor
,BaseDisplayModeEditor
,BaseDisplayModeEditor
,JavaExtensionEditor
,JavaExtensionEditor
,JavaScriptEditor
,JavaScriptEditor
,NavigationEditor
public abstract class BaseEditorExtension
extends Object
implements com.axemble.easysite.components.extensions.IEditorExtension
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
final IContent
final IContentComponent
final IContentContainer
final com.axemble.vdp.ui.framework.document.AbstractDocument
final com.axemble.vdp.ui.framework.composites.base.CtlAbstractForm
getForm()
final IBlock
final IResourceController
final IBlock
final IBaseSiteModule
Retrieves the site system object.final IBaseWorkflowModule
Retrieves the workflow system object.void
init()
This method is called when the extension is available.final void
init
(com.axemble.vdp.ui.framework.document.AbstractDocument document, com.axemble.vdp.ui.framework.composites.base.CtlAbstractForm abstractForm, com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode, com.axemble.easysite.dao.domain.impl.ContentNodeDefImpl contentNodeDef, com.axemble.easysite.dao.domain.impl.BlockImpl rootBlock, Serializable parentBlockId, String uri, Boolean isCreation) final boolean
boolean
boolean
boolean
boolean
boolean
boolean
final boolean
onBeforeSaveInternal
(com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode) boolean
validate()
-
Field Details
-
LOGGER
protected static com.axemble.vdp.utils.Logger LOGGER
-
-
Constructor Details
-
BaseEditorExtension
public BaseEditorExtension()
-
-
Method Details
-
init
public final void init(com.axemble.vdp.ui.framework.document.AbstractDocument document, com.axemble.vdp.ui.framework.composites.base.CtlAbstractForm abstractForm, com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode, com.axemble.easysite.dao.domain.impl.ContentNodeDefImpl contentNodeDef, com.axemble.easysite.dao.domain.impl.BlockImpl rootBlock, Serializable parentBlockId, String uri, Boolean isCreation) - Specified by:
init
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
init
public void init()This method is called when the extension is available. It allows initialization of various specific members. -
onBeforeLoad
public boolean onBeforeLoad()- Specified by:
onBeforeLoad
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
onAfterLoad
public boolean onAfterLoad()- Specified by:
onAfterLoad
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
validate
public boolean validate()- Specified by:
validate
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
getComponentName
-
onBeforeSaveInternal
public final boolean onBeforeSaveInternal(com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode) -
onBeforeSave
public boolean onBeforeSave()- Specified by:
onBeforeSave
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
onAfterSave
public boolean onAfterSave()- Specified by:
onAfterSave
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
onBeforeRemove
public boolean onBeforeRemove()- Specified by:
onBeforeRemove
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
onAfterRemove
public boolean onAfterRemove()- Specified by:
onAfterRemove
in interfacecom.axemble.easysite.components.extensions.IEditorExtension
-
getDocument
public final com.axemble.vdp.ui.framework.document.AbstractDocument getDocument() -
getForm
public final com.axemble.vdp.ui.framework.composites.base.CtlAbstractForm getForm() -
isCreation
public final boolean isCreation() -
getContentContainer
-
getContent
-
getContentComponent
-
getRootBlock
-
getParentBlock
-
getWorkflowModule
Retrieves the workflow system object.- Returns:
- A
IBaseWorkflowModule
object.
-
getSiteModule
Retrieves the site system object.- Returns:
- A
IBaseSiteModule
object.
-
getResourceController
- Returns:
- the resourceController
-