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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final IDirectoryModule
protected final com.axemble.vdp.ui.framework.composites.base.models.views.ICollectionViewModel
getModel()
protected final IPortalModule
protected final IProjectModule
protected final IResource
Retrieves the container resource.protected final IResourceController
Retrieves the associated resource controller.protected final ISiteModule
protected final com.axemble.vdp.ui.framework.composites.base.CtlAbstractView
getView()
protected final IWorkflowInstance
Retrieves the container workflow instance object.final IWorkflowModule
Retrieves the workflow system object.void
init()
This method is called when the extension is available.final void
init
(com.axemble.vdp.ui.framework.composites.base.CtlAbstractView view) void
onPrepareColumns
(List viewModelColumns) abstract void
onPrepareItem
(ViewItem item) 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) onPrepareSQL
(String sqlQuery) boolean
onPrepareView
(com.axemble.vdp.views.query.Definition viewDefinition) boolean
onReady()
-
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
IWorkflowModule
object.
-
getPortalModule
- Returns:
- the portalModule
-
getDirectoryModule
- Returns:
- the directoryModule
-
getProjectModule
- Returns:
- the projectModule
-
getResource
Retrieves the container resource.- Returns:
- The
IResource
object.
-
getResourceController
Retrieves the associated resource controller.- Returns:
- The
IResourceController
object.
-
getWorkflowInstance
Retrieves the container workflow instance object.- Returns:
- A
IWorkflowInstance
object 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
-