Package com.axemble.vdoc.sdk.modules
Interface IWorkflowModule
- All Superinterfaces:
- IBaseWorkflowModule,- IModule,- Remote
- All Known Implementing Classes:
- com.axemble.vdoc.sdk.impl.ProcessWorkflowModule,- ReportProcessWorkflowModule,- WorkflowModuleImpl
The IWorkflowModule interface is the main entry point from where most of the methods to manipulate the full set of work-flow document 
 objects are made available.
 
Code sample :
 
 // creation of a workflow module object
 IWorkflowModule workflowModule = Modules.getWorkflowModule();
 try
 {
 }
 finally
 {
  // uninitialize the module
        Modules.releaseModule(workflowModule);
 }
 
- Author:
- vlygeros
- 
Method SummaryModifier and TypeMethodDescriptiongetController(IResource resource) Gets the resource controller object.com.axemble.vdoc.sdk.interfaces.ui.definitions.IDefinitionsFactoryGets access to all available definitions.getListLabel(ICatalog catalog, String listName, String key, String language) get translated value of a listgetResourceController(IResource resource) Gets the resource controller object.booleanisLockBySDK(IContext context, IWorkflowInstance workflowInstance) Checks if a specified workflow instance is locked by the SDKbooleanisLocked(IContext context, IWorkflowInstance workflowInstance) Checks if a specified workflow instance is lockedvoidlock(IContext context, IWorkflowInstance workflowInstance, int delay) Allows to lock workflow instance.lockedBy(IContext context, IWorkflowInstance workflowInstance) Retrieve the users who locked the workflow instance.voidunlock(IContext context, IWorkflowInstance workflowInstance) Allows to unlock workflow instance.Methods inherited from interface com.axemble.vdoc.sdk.modules.IBaseWorkflowModuleabort, addAttachment, addAttachment, addAttachment, addAttachment, addChild, addMember, buildMailMessage, buildMailMessage, canDeleteDiscussionMessage, canModifyDiscussionMessage, createCatalog, createCatalog, createDiscussionMessage, createDynamicLocalizationsWrapper, createGenericResource, createLinkedResource, createListOption, createOperatorRole, createProfile, createRole, createStorageResource, createStorageResource, createWorkflow, createWorkflowContainer, createWorkflowInstance, createWorkflowInstance, deleteDiscussionMessage, end, end, evaluatedHtml, evaluatedHtml, execute, execute, findStorageResourceByReference, generateChrono, generateReference, generateReference, generateReference, generateReference, generateReference, getAbortedTaskInstances, getAction, getAction, getActions, getAgent, getAllCatalogs, getArchivingController, getAttachment, getAttachments, getCatalog, getCatalog, getCatalog, getCatalog, getCatalog, getCatalog, getCatalog, getCatalogs, getCatalogs, getCatalogs, getCatalogs, getCatalogViewTransformer, getConfiguration, getDataSourceReference, getDefaultDataSourceReference, getDelegationController, getDiscussionMessagesOrderByCreationDateDesc, getElementByProtocolURI, getEndedTaskInstances, getExternalElements, getExternalFile, getExternalFolder, getExternalGroup, getExternalLibrary, getExternalLocalization, getExternalOrganization, getExternalUser, getForm, getForm, getForm, getForm, getGenericViewTransformer, getGroupByName, getJdbcReference, getJdbcReferences, getLinkedResources, getList, getList, getLists, getMailForm, getMailForms, getMailForms, getManualTaskInstances, getManualTaskInstancesByStatus, getManualTaskInstancesModifiedSince, getOneTaskInstance, getOperator, getOperator, getOperatorByLogin, getOperatorRole, getOperatorRole, getOperatorRoles, getOperators, getParentInstance, getParentInstance, getProfile, getProfile, getProfiles, getProperties, getProperty, getProperty, getResource, getResource, getResource, getResourceDefinition, getResourceDefinition, getResourceDefinitions, getResources, getResources, getResourceViewTransformer, getRole, getRole, getRoles, getSearchController, getSearchController, getSearchController, getSearchController, getSearchViewTransformer, getSecurityController, getStartedTaskInstances, getSubForm, getTask, getTask, getTask, getTaskInstance, getTaskInstance, getTaskInstance, getTaskInstances, getTaskInstances, getTaskInstanceTransformer, getTaskViewTransformer, getTransformer, getUser, getUser, getUserByLogin, getValue, getView, getView, getView, getViewController, getViewController, getViewController, getViewController, getViewController, getViewController, getViews, getViews, getViews, getWorkflow, getWorkflow, getWorkflow, getWorkflow, getWorkflowContainer, getWorkflowContainer, getWorkflowContainer, getWorkflowContainers, getWorkflowContainerViewTransformer, getWorkflowInstance, getWorkflowInstance, getWorkflowInstance, getWorkflowInstances, getWorkflowInstances, getWorkflowInstances, getWorkflowInstances, getWorkflowInstances, getWorkflows, getWorkflows, getWorkflowViewTransformer, hasDiscussionThread, isMemberOf, isMemberOf, remind, remind, send, send, send, send, send, send, send, send, send, setDynamicLocalizationsWrapperMessageForLanguage, setExternalElements, setExternalFile, setExternalFolder, setExternalGroup, setExternalLibrary, setExternalLocalization, setExternalOrganization, setExternalUser, setList, setValue, updateDiscussionMessageMethods inherited from interface com.axemble.vdoc.sdk.modules.IModulebeginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContextByLogin, getElementFromExternalElement, getExternalElement, getExternalElement, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getTranslation, getTranslationForLanguage, getTranslationKey, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitialize
- 
Method Details- 
getResourceControllerGets the resource controller object.- Parameters:
- resource- The main resource to work on.
- Returns:
- A IResourceControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getControllerGets the resource controller object.- Parameters:
- resource- The main resource to work on.
- Returns:
- A IResourceControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getDefinitionsFactorycom.axemble.vdoc.sdk.interfaces.ui.definitions.IDefinitionsFactory getDefinitionsFactory()Gets access to all available definitions.- Returns:
- IDefinitionsFactoryobject.
 
- 
lockvoid lock(IContext context, IWorkflowInstance workflowInstance, int delay) throws WorkflowModuleException Allows to lock workflow instance.- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- delay- lock delay in second
- Throws:
- WorkflowModuleException- default module exception.
 
- 
unlockAllows to unlock workflow instance.- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
isLockedboolean isLocked(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Checks if a specified workflow instance is locked- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Returns:
- true if the resource has been locked, false otherwise.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
lockedByCollection<IUser> lockedBy(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Retrieve the users who locked the workflow instance.- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Returns:
- a list of IUserusers.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
isLockBySDKboolean isLockBySDK(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Checks if a specified workflow instance is locked by the SDK- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Returns:
- true if the resource has been locked by SDK, false otherwise.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getListLabelString getListLabel(ICatalog catalog, String listName, String key, String language) throws WorkflowModuleException get translated value of a list- Parameters:
- catalog- The- ICataloglink to the list
- listName- list name
- key- key of the value
- language- language
- Returns:
- String
- Throws:
- WorkflowModuleException- when list is missing
 
 
-