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 SummaryConstructors
- 
Method SummaryModifier 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- 
BaseStorageResourceExtensionpublic BaseStorageResourceExtension()
 
- 
- 
Method Details- 
initpublic final void init(com.axemble.vdp.ui.core.document.CoreDocument document) - Specified by:
- initin interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
initpublic void init()This method is called when the extension is available. It allows initialization of various specific members.
- 
isOnChangeSubscriptionOnpublic final boolean isOnChangeSubscriptionOn(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
- isOnChangeSubscriptionOnin interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
isOnChangeSubscriptionOnThis 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
 
- 
onAfterLoadpublic boolean onAfterLoad()- Specified by:
- onAfterLoadin interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
onAfterSavepublic boolean onAfterSave()- Specified by:
- onAfterSavein interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
onBeforeClosepublic boolean onBeforeClose()- Specified by:
- onBeforeClosein interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
onBeforeLoadpublic boolean onBeforeLoad()- Specified by:
- onBeforeLoadin interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
onBeforeSavepublic boolean onBeforeSave()- Specified by:
- onBeforeSavein interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
onFieldChangedpublic final void onFieldChanged(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
- onFieldChangedin interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
onPropertyChangedThis method gets called each time the passed property has been changed- Parameters:
- property- The changed property
 
- 
releasepublic void release()- Specified by:
- releasein interface- com.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
 
- 
getDocumentpublic final com.axemble.vdp.ui.core.document.CoreDocument getDocument()- Returns:
- The CoreDocument representing the linked resource
 
- 
getResourceControllerRetrieves the resource controller.- Returns:
- The IResourceControllerobject
 
- 
getStorageResourceRetrieves the storage resource object.- Returns:
- The IStorageResourceobject.
 
- 
getWorkflowModuleRetrieves the workflow system object- Returns:
- the IWorkflowModuleobject.
 
- 
getPortalModule- Returns:
- the portalModule
 
- 
getDirectoryModule- Returns:
- the directoryModule
 
- 
getProjectModule- Returns:
- the projectModule
 
 
-