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
-
Method Summary
Modifier and TypeMethodDescriptionprotected final IDirectoryModule
final com.axemble.vdp.ui.core.document.CoreDocument
protected final IPortalModule
protected final IProjectModule
final IResourceController
Retrieves the resource controller.final IStorageResource
Retrieves the storage resource object.final IWorkflowModule
Retrieves the workflow system objectvoid
init()
This method is called when the extension is available.final 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).final boolean
isOnChangeSubscriptionOn
(com.axemble.vdp.ui.core.document.fields.ICoreField field) boolean
boolean
boolean
boolean
boolean
final 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
-
BaseStorageResourceExtension
public BaseStorageResourceExtension()
-
-
Method Details
-
init
public final void init(com.axemble.vdp.ui.core.document.CoreDocument document) - Specified by:
init
in 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:
isOnChangeSubscriptionOn
in 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:
onAfterLoad
in interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onAfterSave
public boolean onAfterSave()- Specified by:
onAfterSave
in interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onBeforeClose
public boolean onBeforeClose()- Specified by:
onBeforeClose
in interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onBeforeLoad
public boolean onBeforeLoad()- Specified by:
onBeforeLoad
in interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onBeforeSave
public boolean onBeforeSave()- Specified by:
onBeforeSave
in interfacecom.axemble.vdp.ui.core.document.extensions.IStorageResourceExtension
-
onFieldChanged
public final void onFieldChanged(com.axemble.vdp.ui.core.document.fields.ICoreField field) - Specified by:
onFieldChanged
in 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:
release
in 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
IResourceController
object
-
getStorageResource
Retrieves the storage resource object.- Returns:
- The
IStorageResource
object.
-
getWorkflowModule
Retrieves the workflow system object- Returns:
- the
IWorkflowModule
object.
-
getPortalModule
- Returns:
- the portalModule
-
getDirectoryModule
- Returns:
- the directoryModule
-
getProjectModule
- Returns:
- the projectModule
-