Class BaseViewExtension
java.lang.Object
com.axemble.vdoc.sdk.view.extensions.BaseViewExtension
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FormattedNumberViewExtension
The 
BaseViewExtension class allows to override the behavior of a view.
 
 The BaseViewExtension class provides direct access to the SDK API.
 
You can access the following methods:
- getPortalModule() : the module to manipulate the back office system;
- getDirectoryModule() : the module to manipulate the directory system;
- getProjectModule() : the module to manipulate the project system;
- getWorkflowModule() : the module to manipulate the workflow system;
- Version:
- 1.0, 15/04/2004
- Author:
- vlygeros
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected final IDirectoryModuleprotected final com.axemble.vdp.ui.framework.composites.base.models.views.ICollectionViewModelgetModel()protected final IPortalModuleprotected final IProjectModuleprotected final IResourceRetrieves the container resource.protected final IResourceControllerRetrieves the associated resource controller.protected final ISiteModuleprotected final com.axemble.vdp.ui.framework.composites.base.CtlAbstractViewgetView()protected final IWorkflowInstanceRetrieves the container workflow instance object.final IWorkflowModuleRetrieves the workflow system object.voidinit()This method is called when the extension is available.final voidinit(com.axemble.vdp.ui.framework.composites.base.CtlAbstractView view) voidonPrepareColumns(List viewModelColumns) abstract voidonPrepareItem(ViewItem item) final voidonPrepareItemsInternal(com.axemble.vdp.ui.framework.composites.base.models.views.ViewModelItem viewModelItem, Serializable treatmentKey, Serializable resourceKey, Serializable activityKey, com.axemble.vdp.ui.core.document.CoreDocument resourceDocument) onPrepareSQL(String sqlQuery) booleanonPrepareView(com.axemble.vdp.views.query.Definition viewDefinition) booleanonReady()
- 
Field Details- 
LOGGERpublic static final com.axemble.vdp.utils.Logger LOGGER
 
- 
- 
Constructor Details- 
BaseViewExtensionpublic BaseViewExtension()
 
- 
- 
Method Details- 
initpublic final void init(com.axemble.vdp.ui.framework.composites.base.CtlAbstractView view) 
- 
initpublic void init()This method is called when the extension is available. It allows initialization of various specific members.
- 
getWorkflowModuleRetrieves the workflow system object.- Returns:
- The IWorkflowModuleobject.
 
- 
getPortalModule- Returns:
- the portalModule
 
- 
getDirectoryModule- Returns:
- the directoryModule
 
- 
getProjectModule- Returns:
- the projectModule
 
- 
getResourceRetrieves the container resource.- Returns:
- The IResourceobject.
 
- 
getResourceControllerRetrieves the associated resource controller.- Returns:
- The IResourceControllerobject.
 
- 
getWorkflowInstanceRetrieves the container workflow instance object.- Returns:
- A IWorkflowInstanceobject if the container is a process document, null otherwise.
 
- 
onPrepareViewpublic boolean onPrepareView(com.axemble.vdp.views.query.Definition viewDefinition) 
- 
onPrepareColumns
- 
onPrepareSQL
- 
onPrepareItemsInternalpublic final void onPrepareItemsInternal(com.axemble.vdp.ui.framework.composites.base.models.views.ViewModelItem viewModelItem, Serializable treatmentKey, Serializable resourceKey, Serializable activityKey, com.axemble.vdp.ui.core.document.CoreDocument resourceDocument) 
- 
onPrepareItem
- 
onReadypublic boolean onReady()
- 
getViewprotected final com.axemble.vdp.ui.framework.composites.base.CtlAbstractView getView()
- 
getModelprotected final com.axemble.vdp.ui.framework.composites.base.models.views.ICollectionViewModel getModel()
- 
getSiteModule- Returns:
- the siteModule
 
 
-