public abstract class BaseViewExtension extends Object implements Serializable
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:
IWorkflowModule
,
IPortalModule
,
IDirectoryModule
,
IProjectModule
,
Serialized FormModifier and Type | Field and Description |
---|---|
static com.axemble.vdp.utils.Logger |
LOGGER |
Constructor and Description |
---|
BaseViewExtension() |
Modifier and Type | Method and Description |
---|---|
protected IDirectoryModule |
getDirectoryModule() |
protected com.axemble.vdp.ui.framework.composites.base.models.views.ICollectionViewModel |
getModel() |
protected IPortalModule |
getPortalModule() |
protected IProjectModule |
getProjectModule() |
protected IResource |
getResource()
Retrieves the container resource.
|
protected IResourceController |
getResourceController()
Retrieves the associated resource controller.
|
protected ISiteModule |
getSiteModule() |
protected com.axemble.vdp.ui.framework.composites.base.CtlAbstractView |
getView() |
protected IWorkflowInstance |
getWorkflowInstance()
Retrieves the container workflow instance object.
|
IWorkflowModule |
getWorkflowModule()
Retrieves the workflow system object.
|
void |
init()
This method is called when the extension is available.
|
void |
init(com.axemble.vdp.ui.framework.composites.base.CtlAbstractView view) |
void |
onPrepareColumns(List viewModelColumns) |
abstract void |
onPrepareItem(ViewItem item) |
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) |
String |
onPrepareSQL(String sqlQuery) |
boolean |
onPrepareView(com.axemble.vdp.views.query.Definition viewDefinition) |
boolean |
onReady() |
public final void init(com.axemble.vdp.ui.framework.composites.base.CtlAbstractView view)
public void init()
public final IWorkflowModule getWorkflowModule()
IWorkflowModule
object.protected final IPortalModule getPortalModule()
protected final IDirectoryModule getDirectoryModule()
protected final IProjectModule getProjectModule()
protected final IResource getResource()
IResource
object.protected final IResourceController getResourceController()
IResourceController
object.protected final IWorkflowInstance getWorkflowInstance()
IWorkflowInstance
object if the container is a process document, null otherwise.public boolean onPrepareView(com.axemble.vdp.views.query.Definition viewDefinition)
public void onPrepareColumns(List viewModelColumns)
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)
public abstract void onPrepareItem(ViewItem item)
public boolean onReady()
protected final com.axemble.vdp.ui.framework.composites.base.CtlAbstractView getView()
protected final com.axemble.vdp.ui.framework.composites.base.models.views.ICollectionViewModel getModel()
protected final ISiteModule getSiteModule()
Copyright © 2021 Visiativ Software. All rights reserved.