Class ViewController
java.lang.Object
com.axemble.easysite.mvc.controllers.AbstractContentNodeController
com.axemble.easysite.mvc.controllers.AbstractElementController
com.axemble.vdoc.sdk.impl.base.BaseComponentController
com.axemble.vdoc.sdk.components.plugins.view.ViewController
- All Implemented Interfaces:
com.axemble.easysite.mvc.controllers.IContentNodeController
,com.axemble.easysite.mvc.controllers.IElementController
,IComponentController
,IContentComponentController
,IController
,Serializable
public class ViewController
extends com.axemble.vdoc.sdk.impl.base.BaseComponentController
- Author:
- vlygeros
- See Also:
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.base.BaseComponentController
designView, PLUGIN_URI, pluginImpl
Fields inherited from class com.axemble.easysite.mvc.controllers.AbstractElementController
log
Fields inherited from class com.axemble.easysite.mvc.controllers.AbstractContentNodeController
instance, view
Fields inherited from interface com.axemble.easysite.mvc.controllers.IContentNodeController
CONTEXTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
prepareAlternateModel
(com.axemble.easysite.ui.runtime.ContextHandler contextHandler, IRenderModel alternateModel) protected int
Internal use only.protected void
prepareModel
(IRenderModel model) Allows to set some values to theinvalid reference
IRenderModule
protected void
processEvent
(String eventName, String eventValue) Allows to handle events.protected void
Methods inherited from class com.axemble.vdoc.sdk.impl.base.BaseComponentController
displayDesignView, doHandleEvent, doHandleForm, evaluateBookmarks, getComponent, getComponentContext, getComponentsElement, getSiteModule, initDesignView, prepareContentNode, prepareModel
Methods inherited from class com.axemble.easysite.mvc.controllers.AbstractElementController
getElementContext, getElementInstance, setElementInstance
Methods inherited from class com.axemble.easysite.mvc.controllers.AbstractContentNodeController
buildDefaultModel, doHandlePagerEvent, finalize, getContentNodeContext, getContentNodeInstance, getView, setContentNodeInstance, setView
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.axemble.easysite.mvc.controllers.IContentNodeController
getContentNodeInstance, getView, setContentNodeInstance, setView
-
Constructor Details
-
ViewController
public ViewController()
-
-
Method Details
-
prepareComponent
Description copied from class:com.axemble.vdoc.sdk.impl.base.BaseComponentController
Internal use only.- Overrides:
prepareComponent
in classcom.axemble.vdoc.sdk.impl.base.BaseComponentController
- Returns:
- The render option value to use.
- Throws:
Exception
- Default exception.
-
prepareModel
Description copied from class:com.axemble.vdoc.sdk.impl.base.BaseComponentController
Allows to set some values to theinvalid reference
IRenderModule
- Specified by:
prepareModel
in classcom.axemble.vdoc.sdk.impl.base.BaseComponentController
- Parameters:
model
- TheIRenderModel
object.- Throws:
Exception
- Default exception.
-
processEvent
Description copied from class:com.axemble.vdoc.sdk.impl.base.BaseComponentController
Allows to handle events.- Specified by:
processEvent
in classcom.axemble.vdoc.sdk.impl.base.BaseComponentController
- Parameters:
eventName
- The event name.eventValue
- The event value.- Throws:
Exception
- Default exception.
-
processForm
- Throws:
Exception
-
prepareAlternateModel
public void prepareAlternateModel(com.axemble.easysite.ui.runtime.ContextHandler contextHandler, IRenderModel alternateModel) throws Exception - Specified by:
prepareAlternateModel
in interfacecom.axemble.easysite.mvc.controllers.IContentNodeController
- Overrides:
prepareAlternateModel
in classcom.axemble.easysite.mvc.controllers.AbstractContentNodeController
- Throws:
Exception
-