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 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 interface com.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 interface com.axemble.easysite.components.extensions.IEditorExtension
    • onAfterLoad

      public boolean onAfterLoad()
      Specified by:
      onAfterLoad in interface com.axemble.easysite.components.extensions.IEditorExtension
    • validate

      public boolean validate()
      Specified by:
      validate in interface com.axemble.easysite.components.extensions.IEditorExtension
    • getComponentName

      public final String getComponentName()
    • onBeforeSaveInternal

      public final boolean onBeforeSaveInternal(com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNode)
    • onBeforeSave

      public boolean onBeforeSave()
      Specified by:
      onBeforeSave in interface com.axemble.easysite.components.extensions.IEditorExtension
    • onAfterSave

      public boolean onAfterSave()
      Specified by:
      onAfterSave in interface com.axemble.easysite.components.extensions.IEditorExtension
    • onBeforeRemove

      public boolean onBeforeRemove()
      Specified by:
      onBeforeRemove in interface com.axemble.easysite.components.extensions.IEditorExtension
    • onAfterRemove

      public boolean onAfterRemove()
      Specified by:
      onAfterRemove in interface com.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

      public final IContentContainer getContentContainer()
    • getContent

      public final IContent getContent()
    • getContentComponent

      public final IContentComponent getContentComponent()
    • getRootBlock

      public final IBlock getRootBlock()
    • getParentBlock

      public final IBlock getParentBlock()
    • getWorkflowModule

      public final IBaseWorkflowModule getWorkflowModule()
      Retrieves the workflow system object.
      Returns:
      A IBaseWorkflowModule object.
    • getSiteModule

      public final IBaseSiteModule getSiteModule()
      Retrieves the site system object.
      Returns:
      A IBaseSiteModule object.
    • getResourceController

      public final IResourceController getResourceController()
      Returns:
      the resourceController