Class BaseStorageResourceExtension
java.lang.Object
com.axemble.vdoc.sdk.document.extensions.BaseStorageResourceExtension
- All Implemented Interfaces:
com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension,Serializable
public abstract class BaseStorageResourceExtension
extends Object
implements com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
This base class provides direct access to the SDK API.
The following methods are available:
- getWorkflowModule() : the module to manipulate the workflow system;
- getStorageResource() : the storage resource;
- getResourceController() : the resource controller;
- Version:
- 1.0, 25/06/2009
- Author:
- omenuel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final IDirectoryModulefinal com.axemble.vdp.ui.core.document.CoreDocumentprotected final IPortalModuleprotected final IProjectModulefinal IResourceControllerRetrieves the resource controller.final IStorageResourceRetrieves the storage resource object.final IWorkflowModuleRetrieves the workflow system objectvoidinit()This method is called when the extension is available.final voidinit(com.axemble.vdp.ui.core.document.CoreDocument document) booleanisOnChangeSubscriptionOn(IProperty property) This method is called for each property of the current form (workflow, task, action).final booleanisOnChangeSubscriptionOn(com.axemble.vdp.ui.core.document.fields.ICoreField field) booleanbooleanbooleanbooleanbooleanfinal voidonFieldChanged(com.axemble.vdp.ui.core.document.fields.ICoreField field) voidonPropertyChanged(IProperty property) This method gets called each time the passed property has been changedvoidrelease()
-
Constructor Details
-
BaseStorageResourceExtension
public BaseStorageResourceExtension()
-
-
Method Details
-
init
public final void init(com.axemble.vdp.ui.core.document.CoreDocument document) - Specified by:
initin interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
init
public void init()This method is called when the extension is available. It allows initialization of various specific members. -
isOnChangeSubscriptionOn
public final boolean isOnChangeSubscriptionOn(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
isOnChangeSubscriptionOnin interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
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:
onAfterLoadin interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onAfterSave
public boolean onAfterSave()- Specified by:
onAfterSavein interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onBeforeClose
public boolean onBeforeClose()- Specified by:
onBeforeClosein interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onBeforeLoad
public boolean onBeforeLoad()- Specified by:
onBeforeLoadin interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onBeforeSave
public boolean onBeforeSave()- Specified by:
onBeforeSavein interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onFieldChanged
public final void onFieldChanged(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
onFieldChangedin interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onPropertyChanged
This method gets called each time the passed property has been changed- Parameters:
property- The changed property
-
release
public void release()- Specified by:
releasein interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
getDocument
public final com.axemble.vdp.ui.core.document.CoreDocument getDocument()- Returns:
- The CoreDocument representing the linked resource
-
getResourceController
Retrieves the resource controller.- Returns:
- The
IResourceControllerobject
-
getStorageResource
Retrieves the storage resource object.- Returns:
- The
IStorageResourceobject.
-
getWorkflowModule
Retrieves the workflow system object- Returns:
- the
IWorkflowModuleobject.
-
getPortalModule
- Returns:
- the portalModule
-
getDirectoryModule
- Returns:
- the directoryModule
-
getProjectModule
- Returns:
- the projectModule
-