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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
LOGGER
public static final com.axemble.vdp.utils.Logger LOGGER
-
-
Constructor Details
-
BaseViewExtension
public BaseViewExtension()
-
-
Method Details
-
init
public final void init(com.axemble.vdp.ui.framework.composites.base.CtlAbstractView view) -
init
public void init()This method is called when the extension is available. It allows initialization of various specific members. -
getWorkflowModule
Retrieves the workflow system object.- Returns:
- The
IWorkflowModuleobject.
-
getPortalModule
- Returns:
- the portalModule
-
getDirectoryModule
- Returns:
- the directoryModule
-
getProjectModule
- Returns:
- the projectModule
-
getResource
Retrieves the container resource.- Returns:
- The
IResourceobject.
-
getResourceController
Retrieves the associated resource controller.- Returns:
- The
IResourceControllerobject.
-
getWorkflowInstance
Retrieves the container workflow instance object.- Returns:
- A
IWorkflowInstanceobject if the container is a process document, null otherwise.
-
onPrepareView
public boolean onPrepareView(com.axemble.vdp.views.query.Definition viewDefinition) -
onPrepareColumns
-
onPrepareSQL
-
onPrepareItemsInternal
public 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
-
onReady
public boolean onReady() -
getView
protected final com.axemble.vdp.ui.framework.composites.base.CtlAbstractView getView() -
getModel
protected final com.axemble.vdp.ui.framework.composites.base.models.views.ICollectionViewModel getModel() -
getSiteModule
- Returns:
- the siteModule
-