Class BaseEditorExtension
java.lang.Object
com.axemble.vdoc.sdk.document.extensions.forms.BaseEditorExtension
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.axemble.easysite.content.definitions.ContentDefinition
com.axemble.easysite.content.block.xml.Def
final com.axemble.vdp.ui.framework.document.AbstractDocument
final com.axemble.vdp.ui.framework.composites.base.CtlAbstractSheetPage
getPage()
final com.axemble.easysite.content.definitions.BlockDefinition
com.axemble.vdp.form.domain.Form
final IResourceController
final com.axemble.easysite.content.definitions.InheritedBlockDefinition
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.CtlAbstractSheetPage abstractSheetPage, com.axemble.vdp.form.domain.Form parentForm, com.axemble.easysite.content.definitions.ContentDefinition contentNode, com.axemble.easysite.content.block.xml.Def contentNodeDef, com.axemble.easysite.content.definitions.InheritedBlockDefinition rootBlock, com.axemble.easysite.content.definitions.BlockDefinition parentNode, Boolean isCreation) final boolean
boolean
boolean
boolean
boolean
boolean
boolean
final boolean
onBeforeSaveInternal
(com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode) boolean
validate
(boolean checkMandatory, com.axemble.vdp.ui.framework.composites.base.ISection section)
-
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.CtlAbstractSheetPage abstractSheetPage, com.axemble.vdp.form.domain.Form parentForm, com.axemble.easysite.content.definitions.ContentDefinition contentNode, com.axemble.easysite.content.block.xml.Def contentNodeDef, com.axemble.easysite.content.definitions.InheritedBlockDefinition rootBlock, com.axemble.easysite.content.definitions.BlockDefinition parentNode, Boolean isCreation) -
init
public void init()This method is called when the extension is available. It allows initialization of various specific members. -
onBeforeLoad
public boolean onBeforeLoad() -
onAfterLoad
public boolean onAfterLoad() -
validate
public boolean validate(boolean checkMandatory, com.axemble.vdp.ui.framework.composites.base.ISection section) -
onBeforeSaveInternal
public final boolean onBeforeSaveInternal(com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode) -
onBeforeSave
public boolean onBeforeSave() -
onAfterSave
public boolean onAfterSave() -
onBeforeRemove
public boolean onBeforeRemove() -
onAfterRemove
public boolean onAfterRemove() -
getDocument
public final com.axemble.vdp.ui.framework.document.AbstractDocument getDocument() -
getPage
public final com.axemble.vdp.ui.framework.composites.base.CtlAbstractSheetPage getPage() -
isCreation
public final boolean isCreation() -
getRootBlock
public final com.axemble.easysite.content.definitions.InheritedBlockDefinition getRootBlock() -
getParentBlock
public final com.axemble.easysite.content.definitions.BlockDefinition 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
-
getContentNode
public com.axemble.easysite.content.definitions.ContentDefinition getContentNode() -
getContentNodeDef
public com.axemble.easysite.content.block.xml.Def getContentNodeDef() -
getParentForm
public com.axemble.vdp.form.domain.Form getParentForm() -
getFormContext
-