Class BaseResourceExtension
java.lang.Object
com.axemble.vdoc.sdk.document.extensions.BaseResourceExtension
- All Implemented Interfaces:
com.axemble.vdp.ui.core.document.extensions.IDocumentExtension
,Serializable
public abstract class BaseResourceExtension
extends Object
implements com.axemble.vdp.ui.core.document.extensions.IDocumentExtension
This base class provides direct access to the SDK API.
It implements
interface.
The following methods are available:
- getWorkflowModule() : the module to manipulate the workflow system;
- getLinkedResource() : the linked resource;
- getResourceController() : the resource controller;
invalid reference
IDocumentExtension3
- Version:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final IDirectoryModule
com.axemble.vdp.ui.core.document.CoreDocument
Retrieves the linked resource object.protected final IPortalModule
protected final IProjectModule
Retrieves the resource controller.Retrieves the workflow system objectvoid
init()
This method is called when the extension is available.void
init
(com.axemble.vdp.ui.core.document.CoreDocument document) boolean
isOnChangeSubscriptionOn
(IProperty property) This method is called for each property of the current form (workflow, task, action).boolean
isOnChangeSubscriptionOn
(com.axemble.vdp.ui.core.document.fields.ICoreField field) boolean
boolean
boolean
void
onAfterFieldChanged
(com.axemble.vdp.ui.core.document.fields.ICoreField field) boolean
void
onAfterPropertyChanged
(IProperty property) This method gets called each time the passed property has been changedboolean
boolean
boolean
boolean
onAfterSubmit
(IAction action) boolean
onAfterSubmit
(IStorageKey actionKey) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
onBeforeSubmit
(IAction action) boolean
onBeforeSubmit
(IStorageKey actionKey) void
onFieldChanged
(com.axemble.vdp.ui.core.document.fields.ICoreField field) void
onPropertyChanged
(IProperty property) This method gets called each time the passed property has been changedvoid
release()
-
Constructor Details
-
BaseResourceExtension
public BaseResourceExtension()
-
-
Method Details
-
onBeforeRemind
public boolean onBeforeRemind()- Specified by:
onBeforeRemind
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
init
public void init(com.axemble.vdp.ui.core.document.CoreDocument document) - Specified by:
init
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
init
public void init()This method is called when the extension is available. It allows initialization of various specific members. -
isOnChangeSubscriptionOn
public boolean isOnChangeSubscriptionOn(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
isOnChangeSubscriptionOn
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
isOnChangeSubscriptionOn
This method is called for each property of the current form (workflow, task, action).- Parameters:
property
- The property which has been loaded- Returns:
- true if you wish to call back the server when the property gets changed, otherwise false
-
onAfterLoad
public boolean onAfterLoad()- Specified by:
onAfterLoad
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterSave
public boolean onAfterSave()- Specified by:
onAfterSave
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterSubmit
- Specified by:
onAfterSubmit
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeAbort
public boolean onBeforeAbort()- Specified by:
onBeforeAbort
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeClose
public boolean onBeforeClose()- Specified by:
onBeforeClose
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeLoad
public boolean onBeforeLoad()- Specified by:
onBeforeLoad
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeSave
public boolean onBeforeSave()- Specified by:
onBeforeSave
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeSubmit
-
onAfterSubmit
-
onBeforeSubmit
- Specified by:
onBeforeSubmit
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onFieldChanged
public void onFieldChanged(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
onFieldChanged
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterFieldChanged
public void onAfterFieldChanged(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
onAfterFieldChanged
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterPropertyChanged
This method gets called each time the passed property has been changed- Parameters:
property
- The changed property
-
onPropertyChanged
This method gets called each time the passed property has been changed- Parameters:
property
- The changed property
-
release
public void release()- Specified by:
release
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
getDocument
public com.axemble.vdp.ui.core.document.CoreDocument getDocument()- Returns:
- The CoreDocument representing the linked resource
-
getResourceController
Retrieves the resource controller.- Returns:
- The
IResourceController
object
-
getLinkedResource
Retrieves the linked resource object.- Returns:
- The
ILinkedResource
object.
-
getWorkflowModule
Retrieves the workflow system object- Returns:
- the
IWorkflowModule
object.
-
getPortalModule
- Returns:
- the portalModule
-
getDirectoryModule
- Returns:
- the directoryModule
-
getProjectModule
- Returns:
- the projectModule
-
onAfterCancelDelegation
public boolean onAfterCancelDelegation()- Specified by:
onAfterCancelDelegation
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterDelegate
public boolean onAfterDelegate()- Specified by:
onAfterDelegate
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterDelegateTaskOnly
public boolean onAfterDelegateTaskOnly()- Specified by:
onAfterDelegateTaskOnly
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterRefuseDelegation
public boolean onAfterRefuseDelegation()- Specified by:
onAfterRefuseDelegation
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onAfterSendInformation
public boolean onAfterSendInformation()- Specified by:
onAfterSendInformation
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeCancelDelegation
public boolean onBeforeCancelDelegation()- Specified by:
onBeforeCancelDelegation
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeDelegate
public boolean onBeforeDelegate()- Specified by:
onBeforeDelegate
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeDelegateTaskOnly
public boolean onBeforeDelegateTaskOnly()- Specified by:
onBeforeDelegateTaskOnly
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeRefuseDelegation
public boolean onBeforeRefuseDelegation()- Specified by:
onBeforeRefuseDelegation
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-
onBeforeSendInformation
public boolean onBeforeSendInformation()- Specified by:
onBeforeSendInformation
in interfacecom.axemble.vdp.ui.core.document.extensions.IDocumentExtension
-