Class WorkflowModuleImpl
- All Implemented Interfaces:
- com.axemble.vdoc.core.interfaces.InternalProcessModule,- IBaseWorkflowModule,- IModule,- IWorkflowModule,- Serializable,- Remote
- Direct Known Subclasses:
- com.axemble.vdoc.sdk.impl.ProcessWorkflowModule
- Author:
- vlygeros
- See Also:
- 
Field SummaryFields inherited from class com.axemble.vdoc.sdk.impl.CoreModuleLOGGER, properties
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated.Use com.axemble.vdoc.sdk.Modules.getWorkflowModule() instead.
- 
Method SummaryModifier and TypeMethodDescriptionvoidabort(IContext context, IWorkflowInstance instance, String comment) Allows to abort workflow instance.addAttachment(IResource resource, String propertyName, IAttachment attachment) Adds an attachment from an attachment.addAttachment(IResource resource, String propertyName, File file) Adds an attachment as a java.io.File object.addAttachment(IResource resource, String propertyName, String fileName, InputStream input) Adds an attachment as an java.io.InputStream object.addAttachment(IResource resource, String propertyName, String fileName, String fullPath) Adds an attachment with its full path.voidAdds a group to a role.voidAdds a user to a role.buildMailMessage(IResource resource, IMailForm mailForm, String language) Evaluates the form and returns the HTML content as a java.lang.String object.buildMailMessage(ITaskInstance taskInstance, IMailForm mailForm, String language) Evaluates the form and returns the HTML content as a java.lang.String object.canDeleteDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Allows knowing if an IDiscussionMessage can be deleted in the current IContext or notcanModifyDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Allows knowing if an IDiscussionMessage can be modified in the current IContext or notcreateCatalog(IContext context, String name, String label) Allows to create a new catalog.createCatalog(IContext context, String name, String label, IProject project) Allows to create a new catalog.createDiscussionMessage(IContext context, IWorkflowInstance iWorkflowInstance, String content, Collection<IAttachment> attachments, String visibility, Collection<IUser> recipients, IOrganization visibilityOrganization) Create and add a new message for an IWorkflowInstance.createDynamicLocalizationsWrapper(IContext context, ICatalog catalog) Creates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.Creates a generic resource for mail purposes.createLinkedResource(IResource resource, String propertyName) Creates a linked resource into a specified property table.createListOption(Object key, String text) createOperatorRole(IContext context, ICatalog catalog, String name) Creates aIOperatorRoleinto the catalog object.createRole(IContext context, ICatalog catalog, String name) Deprecated.createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference) Creates a storage resource object by specifying theIResourceDefinitionobject, its reference.createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference, String label) Creates a storage resource object by specifying theIResourceDefinitionobject, its reference, and its label.createWorkflow(IContext context, IWorkflowContainer container, String name, byte[] content) Creates a workflow within a workflow container.createWorkflowContainer(IContext context, ICatalog catalog, String name) Creates a workflow container within aICatalogobject.createWorkflowInstance(IContext context, IWorkflow workflow, String reference) Creates a workflow instance object by specifying theIWorkflowobject, its reference.createWorkflowInstance(IContext context, IWorkflow workflow, String reference, String label) Creates a workflow instance object by specifying theIWorkflowobject, its reference, and its label.voiddeleteDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, IWorkflowInstance iWorkflowInstance) Delete an IWorkflowInstanceDiscussionMessage for an IWorkflowInstance.voidend(IContext context, ITaskInstance instance, IAction action, String comment) Crosses a transition.voidAllows to cross a transition for another user.evaluatedHtml(IResource resource, IMailForm mailForm) Evaluates the form and returns the HTML content as a java.lang.String object.evaluatedHtml(ITaskInstance taskInstance, IMailForm mailForm) Evaluates the form and returns the HTML content as a java.lang.String object.evaluatedMailForm(IResource resource, IMailForm mailForm, String language) Evaluate mail formevaluatedMailForm(ITaskInstance taskInstance, IMailForm mailForm, String language) Evaluate mail formvoidAllows to execute an agent.voidAllows to execute an agent.findStorageResourceByReference(IContext context, IResourceDefinition resourceDefinition, String reference) Find a storage resource object by specifying theIResourceDefinitionobject, its reference.intgenerateChrono(IResourceDefinition resourceDefinition) Evaluate the next chrono based on the format specified on the Designer tool.generateReference(IResource resource) Evaluate the next reference based on the format specified on the Designer tool.generateReference(IResourceDefinition resourceDefinition) Evaluate the next reference based on the format specified on the Designer tool.generateReference(IResourceDefinition resourceDefinition, String format) Evaluate the next reference based on the passed format.generateReference(IResource resource, String format) Evaluate the next reference based on the specified format.generateReference(IResource resource, Document format) Evaluate the next reference based specified format.generateSystemName(String label) Generate a valid system name for this module and this label.Collection<? extends ITaskInstance> getAbortedTaskInstances(IContext context, IWorkflowInstance instance) Retrieves all the aborted task instances of a workflow instance.Retrieve a specificIActionobject from its system name.getAction(IStorageKey key) Gets an action object from its identifier.Collection<? extends IAction> getActions(IContext context, ITask task) Gets an agent from its name.Collection<? extends ICatalog> getAllCatalogs(IContext context) Retrieves a collection ofICatalogobject.Gets a archiving controller to archiveIElementobjects.getAttachment(IResource resource, String propertyName, String fileName) Gets an attachment by its file name.Collection<? extends IAttachment> getAttachments(IResource resource, String propertyName) Gets all the attachments associated with a property.getCatalog(IContext context, String name) Retrieves a catalog form its name.getCatalog(IContext context, String name, int catalogType) Retrieves a catalog form its name.getCatalog(IContext context, String name, int catalogType, IProject project) Retrieves a catalog form its name.getCatalog(IContext context, String name, IProject project) Retrieves a catalog form its name.getCatalog(IResourceDefinition resourceDefinition) Gets aICatalogobject from a resource definitino.getCatalog(IStorageKey key) Gets a catalog object from its identifier.getCatalog(IWorkflow workflow) Retrieves the catalog of aIWorkflowobject.Collection<? extends ICatalog> getCatalogs(IContext context) Retrieves a collection ofICatalogobject.Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType) Retrieves a collection ofICatalogobject.Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType, IProject project) Retrieves a collection ofICatalogobject.Collection<? extends ICatalog> getCatalogs(IContext context, IProject project) Retrieves a collection ofICatalogobject.Gets a catalog view transformer to transformICatalogobjects.getController(IResource resource) Gets the resource controller object.getDataSourceReference(String name) Gets a data source reference from its JNDI name.Gets the default data source reference.Gets a delegation controller to delegateIDelegationSupportobjects.getDiscussionMessagesOrderByCreationDateDesc(IContext context, IWorkflowInstance iWorkflowInstance) Retrieve IWorkflowInstance's messageCollection<? extends ITaskInstance> getEndedTaskInstances(IContext context, IWorkflowInstance instance) Retrieves all the ended task instances of a workflow instance.Collection<?> getExternalElements(IResource resource, String propertyName) Gets a collection ofIElementobjects from a multiple selector property.getExternalFile(IResource resource, String propertyName) Gets aIFileobject from a single file selector property.getExternalFolder(IResource resource, String propertyName) Gets aIFolderobject from a single folder selector property.getExternalGroup(IResource resource, String propertyName) Gets aIGroupobject from a single group selector property.getExternalLibrary(IResource resource, String propertyName) Gets aILibraryobject from a single library selector property.getExternalLocalization(IResource resource, String propertyName) Gets aILocalizationobject from a single localization selector property.getExternalOrganization(IResource resource, String propertyName) Gets aIOrganizationobject from a single organization selector property.getExternalUser(IResource resource, String propertyName) Gets aIUserobject from a single user selector property.Gets a action form by its name.getForm(IContext context, IResourceDefinition resourceDefinition, String formName) Gets a resource definition form by its name.Gets a task form by its name.Gets a workflow form by its name.Get a group from its idgetGroupByName(String name) Gets a group by its namegetJdbcReference(IContext context, String name) Gets a JDBC reference from its name.Collection<? extends IJdbcReference> getJdbcReferences(IContext context) Gets a collection of JDBC references.Collection<? extends ILinkedResource> getLinkedResources(IResource resource, String propertyName) Gets all the linked resources associated with a table property.Gets a list object from a catalog by its name.Collection<? extends IOptionList.IOption> Gets the available values of a list property.getListLabel(ICatalog catalog, String listName, String key, String language) get translated value of a listCollection<? extends IList> Gets a collection of a the lists available on a specifiedICatalogobject.getMailForm(IContext context, IWorkflow workflow, String mailFormName) Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow) Gets all the mail forms from a specifiedIWorkflowobject.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow, String startsWith) Collection<? extends ITaskInstance> getManualTaskInstances(IContext context, IWorkflowInstance instance) Retrieves all the manual task instances of a workflow instance.Collection<? extends ITaskInstance> getManualTaskInstancesByStatus(IContext context, int status) Retrieves all the manual task instances for a status.Collection<? extends ITaskInstance> getManualTaskInstancesModifiedSince(IContext context, Date date) Retrieves all the manual task instances modified since.Collection<? extends ITask> getManualTasks(IContext context, IWorkflow workflow) Get manual task from workflowgetOneTaskInstance(IContext context, IWorkflowInstance instance) Gets one of the task instances (any).getOperator(IStorageKey key) Gets an operator object from its identifier.getOperator(String id) Gets aIOperatorobject from its string identifier.getOperatorByLogin(String login) Gets anIOperatorfrom a user login.getOperatorRole(IContext context, ICatalog catalog, String name) Retrieves aIOperatorRoleobject by its system name.Gets a role object from its identifier.Collection<? extends IOperatorRole> getOperatorRoles(IContext context, ICatalog catalog) Retrieves a collection ofIOperatorRoleobjects within a specified catalog.Collection<? extends IOperator> getOperators(ITaskInstance instance) Retrieves the operators of a task instance.getParentInstance(ILinkedResource linkedResource) Gets the parent instance of a linked resource.getParentInstance(IWorkflowInstance instance) Gets the parent instance of a specifiedIWorkflowInstanceobject.Collection<? extends IProperty> getProperties(IContext context, IResourceDefinition resourceDefinition) Gets all the properties of a specified definition.getProperty(IContext context, IResourceDefinition resourceDefinition, String name) Gets a property definition by specifying theIResourceDefinitionand its system name.getProperty(IStorageKey key) Gets a property object from its identifier.getResource(IStorageKey key) Gets a resource object from its identifier.protected IResourcegetResource(com.axemble.vdp.ui.core.document.CoreDocument document) getResource(Object document) Gets aIResourceobject from an object.getResource(String id) Gets aIResourceobject from its string identifier.getResourceController(IResource resource) Gets the resource controller object.getResourceDefinition(IContext context, ICatalog catalog, String name) Retrieves a resource definition by specifying theICatalogand its system name.Gets a resource definition object from its identifier.Collection<? extends IResourceDefinition> getResourceDefinitions(IContext context, ICatalog catalog) Retrieves all resource definitions by specifying theICataloggetResourceHistory(IWorkflowInstance workflowInstance) Collection<? extends IResource> getResources(IContext context, ICatalog catalog) Gets a collection ofIResourceobjects from a catalogCollection<? extends IResource> getResources(IContext context, IResourceDefinition resourceDefinition) Gets a collection ofIResourceobjects from a resource definition.Gets a resource view transformer to transformIResourceobjects.Deprecated.getRole(IStorageKey key) Deprecated.Collection<? extends IRole> Deprecated.Gets the defaultISearchControllerobject.getSearchController(IConnectionDefinition connectionDefinition) Gets a search controller object by specifying a ConnectionDefinition object.getSearchController(IDataSourceReference reference) Gets a search controller object by specifying an external data source.getSearchController(IJdbcReference reference) Gets a search controller object by specifying a JDBC external reference.Gets a search view transformer to transformIResourceobjects.getSecurityController(ISecuritySupport securitySupport) Gets a security controller on a specified object.Collection<? extends ITaskInstance> getStartedTaskInstances(IContext context, IWorkflowInstance instance) Retrieves all the started task instances of a workflow instance.getSubForm(IContext context, IWorkflow workflow, String formName) Gets a sub form by its name.Retrieves a specific task of aIWorkflowobject by its name.getTask(IStorageKey key) Gets a task object from its identifier.getTask(ITaskInstance instance) Gets the definition of a task instance.getTaskInstance(IContext context, IWorkflowInstance instance, String name) Gets the started task instance associated with a specified task name.Gets a task instance object from its identifier.Gets aITaskInstanceobject from its string identifier.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance) Retrieves all the task instances of a specified workflow instance.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance, String name) Retrieves all the task instances of a specified workflow instance filtered by the name of aITask.Gets a task transformer to transformITaskInstanceobject.Collection<? extends ITask> Get task from workflowGets a task view transformer to transformITaskInstanceobjects.Gets a transformer to transformIResourceobject.Gets the value of a property.Retrieves a view by its name.getView(IContext context, IResourceDefinition resourceDefinition, String viewName) Retrieves a view by its name.getView(IContext context, IWorkflowContainer workflowContainer, String viewName) Retrieves a view by its name.Deprecated.getViewController(IContext context) Gets a view controller to searchIResourceobjects through their properties.getViewController(IContext context, IProject project, com.axemble.vdp.views.query.Definition definition) Internal methodgetViewController(IContext context, IProject project, InputStream inputStream) Gets a view controller to searchIResourceobjects through their properties.getViewController(IContext context, Class natureClass) Gets a view controller to searchIResourceobjects through their properties.getViewController(IProject project, com.axemble.vdp.views.query.Definition definition) Deprecated.getViewController(IProject project, InputStream inputStream) Deprecated.getViewController(Class natureClass) Deprecated.Collection<? extends IView> Retrieves all the views associated with the catalog.Collection<? extends IView> getViews(IContext context, IResourceDefinition resourceDefinition) Retrieves all the views associated with the resource definition.Collection<? extends IView> getViews(IContext context, IWorkflowContainer workflowContainer) Retrieves all the views associated with the workflow container.getWorkflow(IContext context, ICatalog catalog, String name) Retrieves a workflow within aIWorkflowobject and from its system name.getWorkflow(IContext context, String name) Deprecated.getWorkflow(IStorageKey key) Gets a workflow object from its identifier.getWorkflow(ITask task) Gets the associated workflow of a task.getWorkflow(String id) Get workflow from its idgetWorkflowContainer(IContext context, ICatalog catalog, String name) Retrieves aIWorkflowContainerwithin aICatalogby its system nameGets a workflow container object from its identifier.getWorkflowContainer(IWorkflow workflow) Retrieves the workflow container of aIWorkflowobject.Get workflow container from its idCollection<? extends IWorkflowContainer> getWorkflowContainers(IContext context, ICatalog catalog) Retrieves a collection ofIWorkflowContainerobjects within aICatalogobject.Gets a workflow container view transformer to transformIWorkflowContainerobjects.Gets a workflow instance object from its identifier.protected IWorkflowInstancegetWorkflowInstance(com.axemble.vdp.ui.core.document.CoreDocument document) getWorkflowInstance(Object document) Gets aIWorkflowInstanceobject from an object.Gets aIWorkflowInstanceobject from its string identifier.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog) Gets all the workflow instances of a specifiedICatalogobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog, String reference) Gets all the workflow instances with the same reference within a specifiedICatalogobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ITask task) Gets all the workflow instances of a specifiedITaskobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow) Gets all the workflow instances of a specifiedIWorkflowobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow, String reference) Gets all the workflow instances with the same reference within a specifiedIWorkflowobject.Collection<? extends IWorkflow> getWorkflows(IContext context, ICatalog catalog) Collection<? extends IWorkflow> getWorkflows(IContext context, IWorkflowContainer container) Retrieves a collection ofIWorkflowobjects within aIWorkflowContainerobject.Gets a workflow view transformer to transformIWorkflowobjects.booleanhasDiscussionThread(IContext context, IWorkflowInstance iWorkflowInstance) Allows knowing if an IWorkflowInstance has a discussion thread or notbooleanisLockBySDK(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 lockedbooleanisMemberOf(IUser user, IRole role) Checks if a specified user is member of aIRoleobject.booleanisMemberOf(IUser user, IRole role, boolean recursive) Checks if a specified user is member of aIRoleobject.voidlock(IContext context, IWorkflowInstance workflowInstance, int delay) Allows to lock workflow instance.lockedBy(IContext context, IWorkflowInstance workflowInstance) Retrieve the users who locked the workflow instance.voidremind(IContext context, ITaskInstance instance, String comment) Allows to remind current operators of a specified task instance.voidremind(IContext context, IWorkflowInstance instance, String comment) Allows to remind current operators of a workflow instance.voidsend(IContext context, IResource resource, IMailForm mailForm, Collection<?> entries, String subject, String content) Sends a mail by specifying the subject and the content of the body.voidsend(IContext context, IResource resource, IMailForm mailForm, Collection<? extends IUser> mailTo, String comment) Sends a mail by specifying the subject and the content of the body.protected final voidsend(IContext context, IResource resource, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) voidsend(IContext context, ITaskInstance instance, IMailForm form, String comment) Sends a mail using a specified mail form.voidsend(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) Sends a mail by specifying the subject and the content of the body.voidsend(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<? extends IUser> mailTo, String comment) Sends a mail by specifying the subject and the content of the body.voidSends a mail using a specified mail form.voidsend(IContext context, IWorkflowInstance workflowInstance, String formName, Collection<?> entries) Allows to send a mail with a specific form to a mail recipient.voidsend(IContext context, IWorkflow workflow, IResource resource, String formName, Collection<?> entries) Allows to send a mail.voidsend(IContext context, IWorkflow workflow, String formName, Collection<?> entries) Allows to send a mail.setDynamicLocalizationsWrapperMessageForLanguage(IContext context, IDynamicLocalizationsWrapper dynamicLocalizationsWrapper, ICatalog catalog, String language, String message) Creates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.voidsetExternalElements(IResource resource, String propertyName, Collection<?> elements) Sets aIElementto a multiple selector property.voidsetExternalFile(IResource resource, String propertyName, IFile file) Sets aIFileto a single selector property.voidsetExternalFolder(IResource resource, String propertyName, IFolder folder) Sets aIFolderto a single selector property.voidsetExternalGroup(IResource resource, String propertyName, IGroup group) Sets aIGroupto a single selector property.voidsetExternalLibrary(IResource resource, String propertyName, ILibrary library) Sets aILibraryto a single selector property.voidsetExternalLocalization(IResource resource, String propertyName, ILocalization localization) Sets aILocalizationto a single selector property.voidsetExternalOrganization(IResource resource, String propertyName, IOrganization organization) Sets aIOrganizationto a single selector property.voidsetExternalUser(IResource resource, String propertyName, IUser user) Sets aIUserto a single selector property.voidsetList(IResource resource, String propertyName, Collection<? extends IOptionList.IOption> values) Sets the list of available values to a list property.voidSets a value to a property.voidunlock(IContext context, IWorkflowInstance workflowInstance) Allows to unlock workflow instance.voidupdateDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, String content, Collection<IAttachment> attachments) Update content and/or attachments of a message.Methods inherited from class com.axemble.vdoc.sdk.impl.CoreModulebeginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, createAttachment, createAttachment, createAttachment, createAttachment, createProfile, findNativeClass, getAnonymous, getAnonymousContext, getComponentsFactory, getConfiguration, getContext, getContext, getContext, getContextByLogin, getDefinitionsFactory, getElementByProtocolURI, getElementFromExternalElement, getExternalElement, getExternalElement, getLanguage, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProfile, getProfile, getProfiles, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getUser, getUser, getUserByLogin, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitializeMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractTranslaterModulegetTranslation, getTranslationForLanguage, getTranslationKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.modules.IBaseWorkflowModulecreateProfile, getConfiguration, getElementByProtocolURI, getProfile, getProfile, getProfiles, getUser, getUser, getUserByLoginMethods inherited from interface com.axemble.vdoc.sdk.modules.IModulebeginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, 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, unInitializeMethods inherited from interface com.axemble.vdoc.core.interfaces.InternalProcessModulegetLanguageMethods inherited from interface com.axemble.vdoc.sdk.modules.IWorkflowModulegetDefinitionsFactory
- 
Constructor Details- 
WorkflowModuleImplDeprecated.Use com.axemble.vdoc.sdk.Modules.getWorkflowModule() instead.
 
- 
- 
Method Details- 
createCatalogpublic ICatalog createCatalog(IContext context, String name, String label) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to create a new catalog. This method allows to specify the system name and the label of the catalog.- Specified by:
- createCatalogin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the catalog.
- label- The label of the catalog.
- Returns:
- a ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createCatalogpublic ICatalog createCatalog(IContext context, String name, String label, IProject project) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to create a new catalog. This method allows to specify the system name and the label of the catalog and the project- Specified by:
- createCatalogin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the catalog.
- label- The label of the catalog.
- project- The- IProjectrepresenting the project.
- Returns:
- a ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogDescription copied from interface:IBaseWorkflowModuleRetrieves a catalog form its name.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the catalog.
- Returns:
- a ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogpublic ICatalog getCatalog(IContext context, String name, IProject project) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a catalog form its name.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the catalog.
- project- The- IProjectrepresenting the project.
- Returns:
- a ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogpublic ICatalog getCatalog(IContext context, String name, int catalogType) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a catalog form its name.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the catalog.
- catalogType- The- ICatalog.ITypeof the catalog.
- Returns:
- a ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogpublic ICatalog getCatalog(IContext context, String name, int catalogType, IProject project) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a catalog form its name.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the catalog.
- catalogType- The- ICatalog.ITypeof the catalog.
- project- The- IProjectrepresenting the project.
- Returns:
- a ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogsDescription copied from interface:IBaseWorkflowModuleRetrieves a collection ofICatalogobject.- Specified by:
- getCatalogsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- Returns:
- a collection of ICatalogobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogspublic Collection<? extends ICatalog> getCatalogs(IContext context, IProject project) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofICatalogobject.- Specified by:
- getCatalogsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- project- The- IProjectrepresenting the project.
- Returns:
- a collection of ICatalogobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogspublic Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofICatalogobject.- Specified by:
- getCatalogsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalogType- The- ICatalog.ITypeof the catalogs.
- Returns:
- a collection of ICatalogobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogspublic Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType, IProject project) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofICatalogobject.- Specified by:
- getCatalogsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalogType- The- ICatalog.ITypeof the catalogs.
- project- The- IProjectrepresenting the project.
- Returns:
- a collection of ICatalogobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getAllCatalogspublic Collection<? extends ICatalog> getAllCatalogs(IContext context) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofICatalogobject.- Specified by:
- getAllCatalogsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- Returns:
- a collection of ICatalogobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createRole@Deprecated public IRole createRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated.Description copied from interface:IBaseWorkflowModuleCreates aIRoleinto the catalog object.- Specified by:
- createRolein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- name- The system name of the- IRoleto be created.
- Returns:
- a IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getRole@Deprecated public IRole getRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated.Description copied from interface:IBaseWorkflowModuleRetrieves aIRoleobject by its system name.- Specified by:
- getRolein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogscope object.
- name- The system name of the role.
- Returns:
- a IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getRoles@Deprecated public Collection<? extends IRole> getRoles(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated.Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofIRoleobjects within a specified catalog.- Specified by:
- getRolesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a collection of IRoleobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createOperatorRolepublic IOperatorRole createOperatorRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates aIOperatorRoleinto the catalog object.- Specified by:
- createOperatorRolein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- name- The system name of the- IRoleto be created.
- Returns:
- a IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorRolepublic IOperatorRole getOperatorRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves aIOperatorRoleobject by its system name.- Specified by:
- getOperatorRolein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogscope object.
- name- The system name of the role.
- Returns:
- a IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorRolespublic Collection<? extends IOperatorRole> getOperatorRoles(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofIOperatorRoleobjects within a specified catalog.- Specified by:
- getOperatorRolesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a collection of IRoleobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getDefaultDataSourceReferenceDescription copied from interface:IBaseWorkflowModuleGets the default data source reference.- Specified by:
- getDefaultDataSourceReferencein interface- IBaseWorkflowModule
- Returns:
- a IDataSourceReferenceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getDataSourceReferenceDescription copied from interface:IBaseWorkflowModuleGets a data source reference from its JNDI name.- Specified by:
- getDataSourceReferencein interface- IBaseWorkflowModule
- Parameters:
- name- The JNDI name.
- Returns:
- a IDataSourceReferenceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getJdbcReferencepublic IJdbcReference getJdbcReference(IContext context, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a JDBC reference from its name.- Specified by:
- getJdbcReferencein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The name of the external reference.
- Returns:
- a IJdbcReferenceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getJdbcReferencespublic Collection<? extends IJdbcReference> getJdbcReferences(IContext context) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a collection of JDBC references.- Specified by:
- getJdbcReferencesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- Returns:
- a Collectionof IJdbcReference object.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getListpublic IList getList(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a list object from a catalog by its name.- Specified by:
- getListin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogrepresenting the application.
- name- The name of the list.
- Returns:
- a IListobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getListspublic Collection<? extends IList> getLists(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a collection of a the lists available on a specifiedICatalogobject.- Specified by:
- getListsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogrepresenting the application.
- Returns:
- a collection of IListobject
- Throws:
- WorkflowModuleException- default module exception.
 
- 
isMemberOfDescription copied from interface:IBaseWorkflowModuleChecks if a specified user is member of aIRoleobject.- Specified by:
- isMemberOfin interface- IBaseWorkflowModule
- Parameters:
- user- The- IUserobject to check.
- role- The- IRoleobject.
- Returns:
- return true if the user is member of the IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
isMemberOfDescription copied from interface:IBaseWorkflowModuleChecks if a specified user is member of aIRoleobject.- Specified by:
- isMemberOfin interface- IBaseWorkflowModule
- Parameters:
- user- The- IUserobject to check.
- role- The- IRoleobject.
- recursive- Set to true if you wish to check recursively, false otherwise.
- Returns:
- return true if the user is member of the IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createWorkflowContainerpublic IWorkflowContainer createWorkflowContainer(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a workflow container within aICatalogobject.- Specified by:
- createWorkflowContainerin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- name- The system name of the- IWorkflowContainerobject.
- Returns:
- a IWorkflowContainerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowContainerpublic IWorkflowContainer getWorkflowContainer(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves aIWorkflowContainerwithin aICatalogby its system name- Specified by:
- getWorkflowContainerin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- name- The system name of the- IWorkflowContainerobject.
- Returns:
- a IWorkflowContainerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowContainerspublic Collection<? extends IWorkflowContainer> getWorkflowContainers(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofIWorkflowContainerobjects within aICatalogobject.- Specified by:
- getWorkflowContainersin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a collection of IWorkflowContainerobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createWorkflowpublic IWorkflow createWorkflow(IContext context, IWorkflowContainer container, String name, byte[] content) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a workflow within a workflow container.- Specified by:
- createWorkflowin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- container- The- IWorkflowContainerobject.
- name- The system name of the workflow.
- content- The XML content of the workflow.
- Returns:
- a IWorkflowobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflow@Deprecated public IWorkflow getWorkflow(IContext context, String name) throws WorkflowModuleException Deprecated.Description copied from interface:IBaseWorkflowModuleRetrieves a workflow form its system name.- Specified by:
- getWorkflowin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The system name of the workflow to retrieve.
- Returns:
- a IWorkflowobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowpublic IWorkflow getWorkflow(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a workflow within aIWorkflowobject and from its system name.- Specified by:
- getWorkflowin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- name- The system name of the workflow.
- Returns:
- a IWorkflowobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowspublic Collection<? extends IWorkflow> getWorkflows(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModule- Specified by:
- getWorkflowsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a collection of IWorkflowobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowspublic Collection<? extends IWorkflow> getWorkflows(IContext context, IWorkflowContainer container) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a collection ofIWorkflowobjects within aIWorkflowContainerobject.- Specified by:
- getWorkflowsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- container- The- IWorkflowContainerobject.
- Returns:
- a collection of IWorkflowobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogDescription copied from interface:IBaseWorkflowModuleRetrieves the catalog of aIWorkflowobject.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- workflow- The workflow object.
- Returns:
- a ICatalogobject
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowContainerDescription copied from interface:IBaseWorkflowModuleRetrieves the workflow container of aIWorkflowobject.- Specified by:
- getWorkflowContainerin interface- IBaseWorkflowModule
- Parameters:
- workflow- The workflow object.
- Returns:
- a IWorkflowContainerobject
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createWorkflowInstancepublic IWorkflowInstance createWorkflowInstance(IContext context, IWorkflow workflow, String reference, String label) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a workflow instance object by specifying theIWorkflowobject, its reference, and its label. The permission to create workflow instance is not checked- Specified by:
- createWorkflowInstancein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- reference- The reference to set.
- label- The label to set.
- Returns:
- a IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createWorkflowInstancepublic IWorkflowInstance createWorkflowInstance(IContext context, IWorkflow workflow, String reference) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a workflow instance object by specifying theIWorkflowobject, its reference. The permission to create workflow instance is not checked- Specified by:
- createWorkflowInstancein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- reference- The reference to set.
- Returns:
- a IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstancespublic Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog, String reference) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the workflow instances with the same reference within a specifiedICatalogobject.- Specified by:
- getWorkflowInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- reference- The reference of the workflow instance.
- Returns:
- a collection of IWorkflowInstanceobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstancespublic Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow, String reference) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the workflow instances with the same reference within a specifiedIWorkflowobject.- Specified by:
- getWorkflowInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- reference- The reference of the workflow instance.
- Returns:
- a collection of IWorkflowInstanceobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstancespublic Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the workflow instances of a specifiedICatalogobject.- Specified by:
- getWorkflowInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a collection of IWorkflowInstanceobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstancespublic Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the workflow instances of a specifiedIWorkflowobject.- Specified by:
- getWorkflowInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- Returns:
- a collection of IWorkflowInstanceobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstancespublic Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ITask task) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the workflow instances of a specifiedITaskobject.- Specified by:
- getWorkflowInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- task- The- ITaskobject.
- Returns:
- a collection of IWorkflowInstanceobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getParentInstancepublic IWorkflowInstance getParentInstance(IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets the parent instance of a specifiedIWorkflowInstanceobject.- Specified by:
- getParentInstancein interface- IBaseWorkflowModule
- Parameters:
- instance- the- IWorkflowInstanceobject.
- Returns:
- a IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
abortpublic void abort(IContext context, IWorkflowInstance instance, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to abort workflow instance.- Specified by:
- abortin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- comment- The reason of the abortion. This comment will appear in the history entries.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
remindpublic void remind(IContext context, IWorkflowInstance instance, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to remind current operators of a workflow instance.- Specified by:
- remindin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- comment- The reason of the reminder. This comment will appear in the history entries.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
remindpublic void remind(IContext context, ITaskInstance instance, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to remind current operators of a specified task instance.- Specified by:
- remindin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- ITaskInstanceobject.
- comment- The reason of the reminder. This comment will appear in the history entries.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setValuepublic void setValue(IResource resource, String propertyName, Object value) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets a value to a property.- Specified by:
- setValuein interface- IBaseWorkflowModule
- Parameters:
- resource- The- IWorkflowInstanceobject.
- propertyName- The system name of the property.
- value- The value object to set.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getValueDescription copied from interface:IBaseWorkflowModuleGets the value of a property.- Specified by:
- getValuein interface- IBaseWorkflowModule
- Parameters:
- resource- The- IWorkflowInstanceobject.
- propertyName- The system name of the property.
- Returns:
- a Objectobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setListpublic void setList(IResource resource, String propertyName, Collection<? extends IOptionList.IOption> values) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets the list of available values to a list property.- Specified by:
- setListin interface- IBaseWorkflowModule
- Parameters:
- resource- The- IWorkflowInstanceobject.
- propertyName- The system name of the property.
- values- a collection of- IOptionList.IOption.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getListpublic Collection<? extends IOptionList.IOption> getList(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets the available values of a list property.- Specified by:
- getListin interface- IBaseWorkflowModule
- Parameters:
- resource- The- IWorkflowInstanceobject.
- propertyName- The system name of the property.
- Returns:
- a collection of IOptionList.IOption.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createListOption- Specified by:
- createListOptionin interface- IBaseWorkflowModule
- Parameters:
- key-
- text-
- Returns:
- a new IOptionList.IOption
 
- 
getWorkflowDescription copied from interface:IBaseWorkflowModuleGets the associated workflow of a task.- Specified by:
- getWorkflowin interface- IBaseWorkflowModule
- Parameters:
- task- the- ITaskobject.
- Returns:
- a IWorkflowobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskpublic ITask getTask(IContext context, IWorkflow workflow, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a specific task of aIWorkflowobject by its name.- Specified by:
- getTaskin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- name- The system name of the- ITaskobject.
- Returns:
- a ITaskobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getActionspublic Collection<? extends IAction> getActions(IContext context, ITask task) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModule- Specified by:
- getActionsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- task- The- ITaskobject.
- Returns:
- a collection of IActionobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getActionDescription copied from interface:IBaseWorkflowModuleRetrieve a specificIActionobject from its system name.- Specified by:
- getActionin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- task- The- ITaskobject.
- name- The system name of the- IActionobject to retrieve.
- Returns:
- a IActionobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceDefinitionpublic IResourceDefinition getResourceDefinition(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a resource definition by specifying theICatalogand its system name.- Specified by:
- getResourceDefinitionin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- name- The system name of the resource definition.
- Returns:
- a IResourceDefinitionobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceDefinitionspublic Collection<? extends IResourceDefinition> getResourceDefinitions(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all resource definitions by specifying theICatalog- Specified by:
- getResourceDefinitionsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a collection of IResourceDefinitionobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewpublic IView getView(IContext context, ICatalog catalog, String viewName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a view by its name.- Specified by:
- getViewin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- viewName- The name of the view.
- Returns:
- a IViewobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewspublic Collection<? extends IView> getViews(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the views associated with the catalog.- Specified by:
- getViewsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a IViewobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewpublic IView getView(IContext context, IWorkflowContainer workflowContainer, String viewName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a view by its name.- Specified by:
- getViewin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflowContainer- The- IWorkflowContainerobject.
- viewName- The name of the view.
- Returns:
- a IViewobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewspublic Collection<? extends IView> getViews(IContext context, IWorkflowContainer workflowContainer) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the views associated with the workflow container.- Specified by:
- getViewsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflowContainer- The- IWorkflowContainerobject.
- Returns:
- a IViewobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewpublic IView getView(IContext context, IResourceDefinition resourceDefinition, String viewName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves a view by its name.- Specified by:
- getViewin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- viewName- The name of the view.
- Returns:
- a IViewobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewspublic Collection<? extends IView> getViews(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the views associated with the resource definition.- Specified by:
- getViewsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- Returns:
- a IViewobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getPropertiespublic Collection<? extends IProperty> getProperties(IContext context, IResourceDefinition resourceDefinition) Description copied from interface:IBaseWorkflowModuleGets all the properties of a specified definition.- Specified by:
- getPropertiesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- a- IResourceDefinitionobject.
- Returns:
- a collection of IPropertyobjects.
 
- 
getPropertyDescription copied from interface:IBaseWorkflowModuleGets a property definition by specifying theIResourceDefinitionand its system name.- Specified by:
- getPropertyin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- name- The system name of the property.
- Returns:
- a IPropertyobject.
 
- 
getTaskspublic Collection<? extends ITask> getTasks(IContext context, IWorkflow workflow) throws WorkflowModuleException Get task from workflow- Parameters:
- context- the current context
- workflow- the workflow
- Returns:
- the task
- Throws:
- WorkflowModuleException- on error
 
- 
getManualTaskspublic Collection<? extends ITask> getManualTasks(IContext context, IWorkflow workflow) throws WorkflowModuleException Get manual task from workflow- Parameters:
- context- the current context
- workflow- the workflow
- Returns:
- the task
- Throws:
- WorkflowModuleException- on error
 
- 
getOneTaskInstancepublic ITaskInstance getOneTaskInstance(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets one of the task instances (any).- Specified by:
- getOneTaskInstancein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- Returns:
- a ITaskInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskInstancespublic Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the task instances of a specified workflow instance filtered by the name of aITask.- Specified by:
- getTaskInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- name- The system name of ITask to use as a filter.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskInstancepublic ITaskInstance getTaskInstance(IContext context, IWorkflowInstance instance, String name) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets the started task instance associated with a specified task name.- Specified by:
- getTaskInstancein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- name- The system name of a- ITaskobject.
- Returns:
- a ITaskInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskInstancespublic Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the task instances of a specified workflow instance.- Specified by:
- getTaskInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getManualTaskInstancespublic Collection<? extends ITaskInstance> getManualTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the manual task instances of a workflow instance.- Specified by:
- getManualTaskInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getManualTaskInstancesByStatuspublic Collection<? extends ITaskInstance> getManualTaskInstancesByStatus(IContext context, int status) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the manual task instances for a status.- Specified by:
- getManualTaskInstancesByStatusin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- status- The- IWorkflowInstance.IStatusstatus.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getManualTaskInstancesModifiedSincepublic Collection<? extends ITaskInstance> getManualTaskInstancesModifiedSince(IContext context, Date date) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the manual task instances modified since.- Specified by:
- getManualTaskInstancesModifiedSincein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- date- The date.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskDescription copied from interface:IBaseWorkflowModuleGets the definition of a task instance.- Specified by:
- getTaskin interface- IBaseWorkflowModule
- Parameters:
- instance- The- ITaskInstanceobject.
- Returns:
- a ITaskobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorspublic Collection<? extends IOperator> getOperators(ITaskInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves the operators of a task instance.- Specified by:
- getOperatorsin interface- IBaseWorkflowModule
- Parameters:
- instance- the- ITaskInstanceobject.
- Returns:
- a collection of IOperatorobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getStartedTaskInstancespublic Collection<? extends ITaskInstance> getStartedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the started task instances of a workflow instance.- Specified by:
- getStartedTaskInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getEndedTaskInstancespublic Collection<? extends ITaskInstance> getEndedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the ended task instances of a workflow instance.- Specified by:
- getEndedTaskInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getAbortedTaskInstancespublic Collection<? extends ITaskInstance> getAbortedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleRetrieves all the aborted task instances of a workflow instance.- Specified by:
- getAbortedTaskInstancesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- IWorkflowInstanceobject.
- Returns:
- a collection of ITaskInstance
- Throws:
- WorkflowModuleException- default module exception.
 
- 
endpublic void end(IContext context, ITaskInstance instance, IAction action, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCrosses a transition.- Specified by:
- endin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- ITaskInstanceobject.
- action- The- IActionto use to cross the transition.
- comment- The comment which will be displayed in the history entries.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
endpublic void end(IContext context, IUser addressee, ITaskInstance instance, IAction action, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to cross a transition for another user.- Specified by:
- endin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- addressee- The- IUserfor whom to cross the transition.
- instance- The- ITaskInstanceobject.
- action- The- IActionobject.
- comment- The comment which will be displayed in the history entries.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
sendpublic void send(IContext context, ITaskInstance instance, IMailForm form, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSends a mail using a specified mail form.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- instance- The- ITaskInstanceobject.
- form- The- IMailFormobject.
- comment- The comment which will be displayed in the history entries.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
sendpublic void send(IContext context, IUser addressee, ITaskInstance instance, IMailForm form, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSends a mail using a specified mail form.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- addressee-
- instance- The- ITaskInstanceobject.
- form- The- IMailFormobject.
- comment- The comment which will be displayed in the history entries.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
sendpublic void send(IContext context, IWorkflow workflow, IResource resource, String formName, Collection<?> entries) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to send a mail.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- resource- The- IResourceobject created from- IBaseWorkflowModule.createGenericResource()method.
- formName- The system name of the form to use.
- entries- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
sendpublic void send(IContext context, IWorkflow workflow, String formName, Collection<?> entries) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to send a mail.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- formName- The system name of the form to use.
- entries- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
sendpublic void send(IContext context, IWorkflowInstance workflowInstance, String formName, Collection<?> entries) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAllows to send a mail with a specific form to a mail recipient.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflowInstance- The- IWorkflowInstanceobject.
- formName- The system name of the form to use.
- entries- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createLinkedResourcepublic ILinkedResource createLinkedResource(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a linked resource into a specified property table.Code sample :// create a linked resource ILinkedResource childResource = getWorkflowModule().createLinkedResource( getWorkflowInstance(), "Details" ); // set some values childResource.setValue( "Date", new Timestamp(System.currentTimeMillis()) ); childResource.setValue( "Type", "Parking" ); childResource.setValue( "Cost", Float.valueOf(1) ); childResource.setValue( "Customer", "VDoc" ); childResource.setValue( "Comment", "My comment" ); // add the line to a collection ArrayList arrResource = new ArrayList(); arrResource.add( childResource ); // add the linked resources to the main document getWorkflowInstance().addLinkedResources( arrResource ); - Specified by:
- createLinkedResourcein interface- IBaseWorkflowModule
- Parameters:
- resource- The parent resource.
- propertyName- The system name of the property.
- Returns:
- The ILinkedResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getLinkedResourcespublic Collection<? extends ILinkedResource> getLinkedResources(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the linked resources associated with a table property.- Specified by:
- getLinkedResourcesin interface- IBaseWorkflowModule
- Parameters:
- resource- The parent resource.
- propertyName- The system name of the property.
- Returns:
- A collection of ILinkedResourceobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getAttachmentspublic Collection<? extends IAttachment> getAttachments(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the attachments associated with a property.- Specified by:
- getAttachmentsin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A collection of IAttachmentobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getAttachmentpublic IAttachment getAttachment(IResource resource, String propertyName, String fileName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets an attachment by its file name.- Specified by:
- getAttachmentin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- fileName- The file name to retrieve.
- Returns:
- An IAttachmentobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
addAttachmentpublic IAttachment addAttachment(IResource resource, String propertyName, IAttachment attachment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAdds an attachment from an attachment.- Specified by:
- addAttachmentin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- attachment- The- IAttachmentto add.
- Returns:
- An IAttachmentobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
addAttachmentpublic IAttachment addAttachment(IResource resource, String propertyName, String fileName, String fullPath) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAdds an attachment with its full path.- Specified by:
- addAttachmentin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- fileName- The name of the file
- fullPath- The full path of the file to add.
- Returns:
- An IAttachmentobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
addAttachmentpublic IAttachment addAttachment(IResource resource, String propertyName, File file) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAdds an attachment as a java.io.File object.- Specified by:
- addAttachmentin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- file- The- Fileobject.
- Returns:
- An IAttachmentobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
addAttachmentpublic IAttachment addAttachment(IResource resource, String propertyName, String fileName, InputStream input) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleAdds an attachment as an java.io.InputStream object.- Specified by:
- addAttachmentin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- fileName- The name of the file
- input- The- InputStreamobject.
- Returns:
- An IAttachmentobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogDescription copied from interface:IBaseWorkflowModuleGets a catalog object from its identifier.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getRoleDeprecated.Description copied from interface:IBaseWorkflowModuleGets a role object from its identifier.- Specified by:
- getRolein interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorRoleDescription copied from interface:IBaseWorkflowModuleGets a role object from its identifier.- Specified by:
- getOperatorRolein interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IOperatorRoleobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowContainerDescription copied from interface:IBaseWorkflowModuleGets a workflow container object from its identifier.- Specified by:
- getWorkflowContainerin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IWorkflowContainerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowDescription copied from interface:IBaseWorkflowModuleGets a workflow object from its identifier.- Specified by:
- getWorkflowin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IWorkflowobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskDescription copied from interface:IBaseWorkflowModuleGets a task object from its identifier.- Specified by:
- getTaskin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A ITaskobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getActionDescription copied from interface:IBaseWorkflowModuleGets an action object from its identifier.- Specified by:
- getActionin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IActionobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceDefinitionDescription copied from interface:IBaseWorkflowModuleGets a resource definition object from its identifier.- Specified by:
- getResourceDefinitionin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IResourceDefinitionobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getPropertyDescription copied from interface:IBaseWorkflowModuleGets a property object from its identifier.- Specified by:
- getPropertyin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IPropertyobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstanceDescription copied from interface:IBaseWorkflowModuleGets aIWorkflowInstanceobject from an object.- Specified by:
- getWorkflowInstancein interface- IBaseWorkflowModule
- Parameters:
- document- Any of the following values:- com.axemble.vdp.treatment.interfaces.Treatment 
- Returns:
- A IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowInstanceprotected IWorkflowInstance getWorkflowInstance(com.axemble.vdp.ui.core.document.CoreDocument document) throws WorkflowModuleException - Throws:
- WorkflowModuleException
 
- 
getWorkflowInstanceDescription copied from interface:IBaseWorkflowModuleGets a workflow instance object from its identifier.- Specified by:
- getWorkflowInstancein interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceDescription copied from interface:IBaseWorkflowModuleGets aIResourceobject from an object.- Specified by:
- getResourcein interface- IBaseWorkflowModule
- Parameters:
- document- Any of the following values:- com.axemble.vdp.resource.interfaces.Resource com.axemble.vdp.ui.core.document.CoreDocument com.axemble.vdp.ui.core.document.GenericDocument 
- Returns:
- A IResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceprotected IResource getResource(com.axemble.vdp.ui.core.document.CoreDocument document) throws WorkflowModuleException - Throws:
- WorkflowModuleException
 
- 
findStorageResourceByReferencepublic IStorageResource findStorageResourceByReference(IContext context, IResourceDefinition resourceDefinition, String reference) Description copied from interface:IBaseWorkflowModuleFind a storage resource object by specifying theIResourceDefinitionobject, its reference.- Specified by:
- findStorageResourceByReferencein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- reference- The reference to set.
- Returns:
- a IStorageResourceobject or null.
 
- 
createStorageResourcepublic IStorageResource createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a storage resource object by specifying theIResourceDefinitionobject, its reference.- Specified by:
- createStorageResourcein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- reference- The reference to set.
- Returns:
- a IStorageResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createStorageResourcepublic IStorageResource createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference, String label) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleCreates a storage resource object by specifying theIResourceDefinitionobject, its reference, and its label.- Specified by:
- createStorageResourcein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- reference- The reference to set.
- label- The label to set.
- Returns:
- a IStorageResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorDescription copied from interface:IBaseWorkflowModuleGets an operator object from its identifier.- Specified by:
- getOperatorin interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IOperatorobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorByLoginDescription copied from interface:IBaseWorkflowModuleGets anIOperatorfrom a user login.- Specified by:
- getOperatorByLoginin interface- IBaseWorkflowModule
- Parameters:
- login- The user login
- Returns:
- A IOperatorobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceDescription copied from interface:IBaseWorkflowModuleGets a resource object from its identifier.- Specified by:
- getResourcein interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A IResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskInstanceDescription copied from interface:IBaseWorkflowModuleGets a task instance object from its identifier.- Specified by:
- getTaskInstancein interface- IBaseWorkflowModule
- Parameters:
- key- A- IStorageKeyobject.
- Returns:
- A ITaskInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogDescription copied from interface:IBaseWorkflowModuleGets aICatalogobject from a resource definitino.- Specified by:
- getCatalogin interface- IBaseWorkflowModule
- Parameters:
- resourceDefinition- A resource definition.
- Returns:
- A ICatalogobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getGroupGet a group from its id- Parameters:
- id- the group's id
- Returns:
- the group
- Throws:
- WorkflowModuleException- on error
 
- 
getGroupByNameDescription copied from interface:IBaseWorkflowModuleGets a group by its name- Specified by:
- getGroupByNamein interface- IBaseWorkflowModule
- Parameters:
- name- The system name of the group.
- Returns:
- A IGroupobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowContainerGet workflow container from its id- Parameters:
- id- the workflow container's id
- Returns:
- the workflow container
- Throws:
- WorkflowModuleException- on error
 
- 
getWorkflowGet workflow from its id- Parameters:
- id- the workflow's id
- Returns:
- the workflow
- Throws:
- WorkflowModuleException- on error
 
- 
getWorkflowInstanceDescription copied from interface:IBaseWorkflowModuleGets aIWorkflowInstanceobject from its string identifier.- Specified by:
- getWorkflowInstancein interface- IBaseWorkflowModule
- Parameters:
- id- A string identifier.
- Returns:
- A IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskInstanceDescription copied from interface:IBaseWorkflowModuleGets aITaskInstanceobject from its string identifier.- Specified by:
- getTaskInstancein interface- IBaseWorkflowModule
- Parameters:
- id- A string identifier.
- Returns:
- A ITaskInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getOperatorDescription copied from interface:IBaseWorkflowModuleGets aIOperatorobject from its string identifier.- Specified by:
- getOperatorin interface- IBaseWorkflowModule
- Parameters:
- id- A string identifier.
- Returns:
- A IOperatorobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceDescription copied from interface:IBaseWorkflowModuleGets aIResourceobject from its string identifier.- Specified by:
- getResourcein interface- IBaseWorkflowModule
- Parameters:
- id- A string identifier.
- Returns:
- A IResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourcespublic Collection<? extends IResource> getResources(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a collection ofIResourceobjects from a resource definition.- Specified by:
- getResourcesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- Returns:
- a Collection of IResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourcespublic Collection<? extends IResource> getResources(IContext context, ICatalog catalog) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a collection ofIResourceobjects from a catalog- Specified by:
- getResourcesin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- a Collection of IResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getParentInstancepublic IWorkflowInstance getParentInstance(ILinkedResource linkedResource) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets the parent instance of a linked resource.- Specified by:
- getParentInstancein interface- IBaseWorkflowModule
- Parameters:
- linkedResource- The linked resource.
- Returns:
- The IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalElementspublic Collection<?> getExternalElements(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a collection ofIElementobjects from a multiple selector property.- Specified by:
- getExternalElementsin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A collection of IElementobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalGrouppublic IGroup getExternalGroup(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aIGroupobject from a single group selector property.- Specified by:
- getExternalGroupin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A IGroupobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalLocalizationpublic ILocalization getExternalLocalization(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aILocalizationobject from a single localization selector property.- Specified by:
- getExternalLocalizationin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A ILocalizationobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalOrganizationpublic IOrganization getExternalOrganization(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aIOrganizationobject from a single organization selector property.- Specified by:
- getExternalOrganizationin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A IOrganizationobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalUserpublic IUser getExternalUser(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aIUserobject from a single user selector property.- Specified by:
- getExternalUserin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A IUserobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalFilepublic IFile getExternalFile(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aIFileobject from a single file selector property.- Specified by:
- getExternalFilein interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A IFileobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalFolderpublic IFolder getExternalFolder(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aIFolderobject from a single folder selector property.- Specified by:
- getExternalFolderin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A IFolderobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getExternalLibrarypublic ILibrary getExternalLibrary(IResource resource, String propertyName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets aILibraryobject from a single library selector property.- Specified by:
- getExternalLibraryin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- Returns:
- A ILibraryobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalElementspublic void setExternalElements(IResource resource, String propertyName, Collection<?> elements) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aIElementto a multiple selector property.- Specified by:
- setExternalElementsin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- elements- A collection of- IElementobjects.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalUserpublic void setExternalUser(IResource resource, String propertyName, IUser user) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aIUserto a single selector property.- Specified by:
- setExternalUserin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- user- A- IUserobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalGrouppublic void setExternalGroup(IResource resource, String propertyName, IGroup group) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aIGroupto a single selector property.- Specified by:
- setExternalGroupin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- group- A- IGroupobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalLocalizationpublic void setExternalLocalization(IResource resource, String propertyName, ILocalization localization) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aILocalizationto a single selector property.- Specified by:
- setExternalLocalizationin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- localization- A- ILocalizationobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalOrganizationpublic void setExternalOrganization(IResource resource, String propertyName, IOrganization organization) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aIOrganizationto a single selector property.- Specified by:
- setExternalOrganizationin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- organization- A- IOrganizationobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalFilepublic void setExternalFile(IResource resource, String propertyName, IFile file) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aIFileto a single selector property.- Specified by:
- setExternalFilein interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- file- A- IFileobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalFolderpublic void setExternalFolder(IResource resource, String propertyName, IFolder folder) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aIFolderto a single selector property.- Specified by:
- setExternalFolderin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- folder- A- IFolderobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
setExternalLibrarypublic void setExternalLibrary(IResource resource, String propertyName, ILibrary library) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSets aILibraryto a single selector property.- Specified by:
- setExternalLibraryin interface- IBaseWorkflowModule
- Parameters:
- resource- The main resource object.
- propertyName- The system name of the property.
- library- A- ILibraryobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getSearchControllerpublic ISearchController getSearchController(IJdbcReference reference) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a search controller object by specifying a JDBC external reference.- Specified by:
- getSearchControllerin interface- IBaseWorkflowModule
- Parameters:
- reference- The- IJdbcReferenceobject.
- Returns:
- The ISearchControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getSearchControllerpublic ISearchController getSearchController(IConnectionDefinition connectionDefinition) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a search controller object by specifying a ConnectionDefinition object.- Specified by:
- getSearchControllerin interface- IBaseWorkflowModule
- Parameters:
- connectionDefinition- The- IConnectionDefinitionobject.
- Returns:
- The ISearchControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getSearchControllerpublic ISearchController getSearchController(IDataSourceReference reference) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a search controller object by specifying an external data source.- Specified by:
- getSearchControllerin interface- IBaseWorkflowModule
- Parameters:
- reference- The- IDataSourceReferenceobject.
- Returns:
- The ISearchControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getSearchControllerDescription copied from interface:IBaseWorkflowModuleGets the defaultISearchControllerobject.- Specified by:
- getSearchControllerin interface- IBaseWorkflowModule
- Returns:
- The default ISearchControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getSecurityControllerpublic ISecurityController getSecurityController(ISecuritySupport securitySupport) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a security controller on a specified object.- Specified by:
- getSecurityControllerin interface- IBaseWorkflowModule
- Parameters:
- securitySupport- Any IElement that implements ISecuritySupport interface.
- Returns:
- The ISecurityControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getArchivingControllerDescription copied from interface:IBaseWorkflowModuleGets a archiving controller to archiveIElementobjects.- Specified by:
- getArchivingControllerin interface- IBaseWorkflowModule
- Returns:
- A IArchivingControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getDelegationControllerDescription copied from interface:IBaseWorkflowModuleGets a delegation controller to delegateIDelegationSupportobjects.- Specified by:
- getDelegationControllerin interface- IBaseWorkflowModule
- Returns:
- A IDelegationControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTransformerDescription copied from interface:IBaseWorkflowModuleGets a transformer to transformIResourceobject.- Specified by:
- getTransformerin interface- IBaseWorkflowModule
- Returns:
- A ITransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewControllerDeprecated.Description copied from interface:IBaseWorkflowModuleGets a view controller to searchIResourceobjects through their properties.- Specified by:
- getViewControllerin interface- IBaseWorkflowModule
- Returns:
- A IViewControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewControllerDescription copied from interface:IBaseWorkflowModuleGets a view controller to searchIResourceobjects through their properties.- Specified by:
- getViewControllerin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- Returns:
- A IViewControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewController@Deprecated public IViewController getViewController(Class natureClass) throws WorkflowModuleException Deprecated.Description copied from interface:IBaseWorkflowModuleGets a view controller to searchIResourceobjects through their properties.- Specified by:
- getViewControllerin interface- IBaseWorkflowModule
- Parameters:
- natureClass- : The class of the searched objects- IWorkflowInstance,- ITaskInstance,- IResource}
- Returns:
- A IViewControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewControllerpublic IViewController getViewController(IContext context, Class natureClass) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a view controller to searchIResourceobjects through their properties.- Specified by:
- getViewControllerin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- natureClass- : The class of the searched objects- IWorkflowInstance,- ITaskInstance,- IResource}
- Returns:
- A IViewControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewController@Deprecated public IViewController getViewController(IProject project, com.axemble.vdp.views.query.Definition definition) throws WorkflowModuleException Deprecated.Internal method- Throws:
- WorkflowModuleException
 
- 
getViewControllerpublic IViewController getViewController(IContext context, IProject project, com.axemble.vdp.views.query.Definition definition) throws WorkflowModuleException Internal methodGet a view controller build with the given parameters - Parameters:
- context- the current context
- project- the project
- definition- the definition
- Returns:
- the view controller
- Throws:
- WorkflowModuleException- on error
 
- 
getViewController@Deprecated public IViewController getViewController(IProject project, InputStream inputStream) throws WorkflowModuleException Deprecated.Description copied from interface:IBaseWorkflowModuleGets a view controller to searchIResourceobjects through their properties.- Specified by:
- getViewControllerin interface- IBaseWorkflowModule
- Parameters:
- project- The current project
- inputStream- The java.io.InputStream XML entry.
- Returns:
- A IViewControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewControllerpublic IViewController getViewController(IContext context, IProject project, InputStream inputStream) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a view controller to searchIResourceobjects through their properties.- Specified by:
- getViewControllerin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- project- The current project
- inputStream- The java.io.InputStream XML entry.
- Returns:
- A IViewControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskViewTransformerDescription copied from interface:IBaseWorkflowModuleGets a task view transformer to transformITaskInstanceobjects.- Specified by:
- getTaskViewTransformerin interface- IBaseWorkflowModule
- Returns:
- A ITaskViewTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getResourceViewTransformerDescription copied from interface:IBaseWorkflowModuleGets a resource view transformer to transformIResourceobjects.- Specified by:
- getResourceViewTransformerin interface- IBaseWorkflowModule
- Returns:
- A IResourceViewTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowViewTransformerDescription copied from interface:IBaseWorkflowModuleGets a workflow view transformer to transformIWorkflowobjects.- Specified by:
- getWorkflowViewTransformerin interface- IBaseWorkflowModule
- Returns:
- A IWorkflowViewTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getWorkflowContainerViewTransformerpublic IWorkflowContainerViewTransformer getWorkflowContainerViewTransformer() throws WorkflowModuleExceptionDescription copied from interface:IBaseWorkflowModuleGets a workflow container view transformer to transformIWorkflowContainerobjects.- Specified by:
- getWorkflowContainerViewTransformerin interface- IBaseWorkflowModule
- Returns:
- A IWorkflowContainerViewTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getCatalogViewTransformerDescription copied from interface:IBaseWorkflowModuleGets a catalog view transformer to transformICatalogobjects.- Specified by:
- getCatalogViewTransformerin interface- IBaseWorkflowModule
- Returns:
- A ICatalogViewTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getSearchViewTransformerDescription copied from interface:IBaseWorkflowModuleGets a search view transformer to transformIResourceobjects.- Specified by:
- getSearchViewTransformerin interface- IBaseWorkflowModule
- Returns:
- A ISearchViewTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
generateReferencepublic String generateReference(IResourceDefinition resourceDefinition) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleEvaluate the next reference based on the format specified on the Designer tool.- Specified by:
- generateReferencein interface- IBaseWorkflowModule
- Parameters:
- resourceDefinition- The resource definition object.
- Returns:
- The evaluated reference.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
generateReferencepublic String generateReference(IResourceDefinition resourceDefinition, String format) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleEvaluate the next reference based on the passed format.- Specified by:
- generateReferencein interface- IBaseWorkflowModule
- Parameters:
- resourceDefinition- The- IResourceDefinitionobject.
- format- The format to use to evaluate the next reference.
- Returns:
- The evaluated reference.
- Throws:
- WorkflowModuleException
 
- 
generateReferenceDescription copied from interface:IBaseWorkflowModuleEvaluate the next reference based specified format.- Specified by:
- generateReferencein interface- IBaseWorkflowModule
- Parameters:
- resource- The resource to be created.
- format- An XML format definition.
- Returns:
- The evaluated reference.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
generateReferenceDescription copied from interface:IBaseWorkflowModuleEvaluate the next reference based on the format specified on the Designer tool.- Specified by:
- generateReferencein interface- IBaseWorkflowModule
- Parameters:
- resource- The resource to be created.
- Returns:
- The evaluated reference.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
generateReferenceDescription copied from interface:IBaseWorkflowModuleEvaluate the next reference based on the specified format.- Specified by:
- generateReferencein interface- IBaseWorkflowModule
- Parameters:
- resource- The resource to be created.
- format- The format to use to evaluate the next reference.
- Returns:
- The evaluated reference.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
generateChronoDescription copied from interface:IBaseWorkflowModuleEvaluate the next chrono based on the format specified on the Designer tool.- Specified by:
- generateChronoin interface- IBaseWorkflowModule
- Parameters:
- resourceDefinition- The resource definition object
- Returns:
- The evaluated chrono.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
createGenericResourceDescription copied from interface:IBaseWorkflowModuleCreates a generic resource for mail purposes.- Specified by:
- createGenericResourcein interface- IBaseWorkflowModule
- Returns:
- The IResourceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
executeDescription copied from interface:IBaseWorkflowModuleAllows to execute an agent.- Specified by:
- executein interface- IBaseWorkflowModule
- Parameters:
- agent- The- IAgentto execute.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
executeDescription copied from interface:IBaseWorkflowModuleAllows to execute an agent.- Specified by:
- executein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- agent- The- IAgentto execute.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getAgentDescription copied from interface:IBaseWorkflowModuleGets an agent from its name.- Specified by:
- getAgentin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- name- The name of the agent.
- Returns:
- a IAgentobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
addChildDescription copied from interface:IBaseWorkflowModuleAdds a group to a role.- Specified by:
- addChildin interface- IBaseWorkflowModule
- Parameters:
- group- The group to add.
- role- The role object.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
addMemberDescription copied from interface:IBaseWorkflowModuleAdds a user to a role.- Specified by:
- addMemberin interface- IBaseWorkflowModule
- Parameters:
- user- The user to add.
- role- The role object.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
evaluatedHtmlDescription copied from interface:IBaseWorkflowModuleEvaluates the form and returns the HTML content as a java.lang.String object.- Specified by:
- evaluatedHtmlin interface- IBaseWorkflowModule
- Parameters:
- resource- The- IResourceobject to evaluate with.
- mailForm- The- IMailFormobject.
- Returns:
- A java.lang.String object.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
buildMailMessagepublic String buildMailMessage(IResource resource, IMailForm mailForm, String language) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleEvaluates the form and returns the HTML content as a java.lang.String object.- Specified by:
- buildMailMessagein interface- IBaseWorkflowModule
- Parameters:
- resource- The- IResourceobject to evaluate with.
- mailForm- The- IMailFormobject.
- language- the mail language.
- Returns:
- A java.lang.String object.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
evaluatedHtmlpublic String evaluatedHtml(ITaskInstance taskInstance, IMailForm mailForm) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleEvaluates the form and returns the HTML content as a java.lang.String object.- Specified by:
- evaluatedHtmlin interface- IBaseWorkflowModule
- Parameters:
- taskInstance- The- ITaskInstanceobject to evaluate with.
- mailForm- The- IMailFormobject.
- Returns:
- A java.lang.String object.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
buildMailMessagepublic String buildMailMessage(ITaskInstance taskInstance, IMailForm mailForm, String language) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleEvaluates the form and returns the HTML content as a java.lang.String object.- Specified by:
- buildMailMessagein interface- IBaseWorkflowModule
- Parameters:
- taskInstance- The- ITaskInstanceobject to evaluate with.
- mailForm- The- IMailFormobject.
- language- the mail language.
- Returns:
- A java.lang.String object.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
evaluatedMailFormpublic MailMessage evaluatedMailForm(IResource resource, IMailForm mailForm, String language) throws WorkflowModuleException Evaluate mail form- Parameters:
- resource- the current resource
- mailForm- The- IMailFormobject.
- language- the mail language.
- Returns:
- the mail message
- Throws:
- WorkflowModuleException- on error
 
- 
evaluatedMailFormpublic MailMessage evaluatedMailForm(ITaskInstance taskInstance, IMailForm mailForm, String language) throws WorkflowModuleException Evaluate mail form- Parameters:
- taskInstance- the current task instance
- mailForm- The- IMailFormobject.
- language- the mail language.
- Returns:
- the mail message
- Throws:
- WorkflowModuleException- on error
 
- 
sendpublic void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSends a mail by specifying the subject and the content of the body.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- taskInstance- The- ITaskInstanceobject to evaluate with.
- mailForm- The- IMailFormobject.
- entries- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- subject- The subject of the mail.
- content- The content of the mail.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
sendpublic void send(IContext context, IResource resource, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSends a mail by specifying the subject and the content of the body.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resource- The- IResourceobject to evaluate with.
- mailForm- The- IMailFormobject.
- entries- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- subject- The subject of the mail.
- content- The content of the mail.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
sendprotected final void send(IContext context, IResource resource, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException - Throws:
- WorkflowModuleException
 
- 
getMailFormspublic Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets all the mail forms from a specifiedIWorkflowobject.- Specified by:
- getMailFormsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- Returns:
- A collection of IMailFormobjects.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getMailFormspublic Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow, String startsWith) throws WorkflowModuleException - Specified by:
- getMailFormsin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- startsWith- The start part of the form name.
- Returns:
- A collection of IMailFormobjects.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getMailFormpublic IMailForm getMailForm(IContext context, IWorkflow workflow, String mailFormName) throws WorkflowModuleException - Specified by:
- getMailFormin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- mailFormName- The name of the form.
- Returns:
- a IMailFormobject.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getFormpublic IForm getForm(IContext context, IWorkflow workflow, String formName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a workflow form by its name.- Specified by:
- getFormin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- formName- The name of the form.
- Returns:
- a IFormobject.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getFormpublic IForm getForm(IContext context, IResourceDefinition resourceDefinition, String formName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a resource definition form by its name.- Specified by:
- getFormin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resourceDefinition- The- IResourceDefinitionobject.
- formName- The name of the form.
- Returns:
- a IFormobject.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getFormDescription copied from interface:IBaseWorkflowModuleGets a task form by its name.- Specified by:
- getFormin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- task- The- ITaskobject.
- formName- The name of the form.
- Returns:
- a IFormobject.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getFormpublic IForm getForm(IContext context, IAction action, String formName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a action form by its name.- Specified by:
- getFormin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- action- The- IActionobject.
- formName- The name of the form.
- Returns:
- a IFormobject.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getSubFormpublic IForm getSubForm(IContext context, IWorkflow workflow, String formName) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleGets a sub form by its name.- Specified by:
- getSubFormin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- workflow- The- IWorkflowobject.
- formName- The name of the form.
- Returns:
- a IFormobject.
- Throws:
- WorkflowModuleException- default module exception. default module exception.
 
- 
getGenericViewTransformer- Specified by:
- getGenericViewTransformerin interface- IBaseWorkflowModule
- Throws:
- WorkflowModuleException
 
- 
getResourceHistory- Specified by:
- getResourceHistoryin interface- com.axemble.vdoc.core.interfaces.InternalProcessModule
 
- 
getResourceControllerDescription copied from interface:IWorkflowModuleGets the resource controller object.- Specified by:
- getResourceControllerin interface- IWorkflowModule
- Parameters:
- resource- The main resource to work on.
- Returns:
- A IResourceControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getControllerDescription copied from interface:IWorkflowModuleGets the resource controller object.- Specified by:
- getControllerin interface- IWorkflowModule
- Parameters:
- resource- The main resource to work on.
- Returns:
- A IResourceControllerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getTaskInstanceTransformerDescription copied from interface:IBaseWorkflowModuleGets a task transformer to transformITaskInstanceobject.- Specified by:
- getTaskInstanceTransformerin interface- IBaseWorkflowModule
- Returns:
- A ITaskInstanceTransformerobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
getViewTransformer- Throws:
- WorkflowModuleException
 
- 
sendpublic void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<? extends IUser> mailTo, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSends a mail by specifying the subject and the content of the body.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- taskInstance- The- ITaskInstanceobject to evaluate with.
- mailForm- The- IMailFormobject.
- mailTo- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- comment- The comment which will be displayed in the history entries.
- Throws:
- WorkflowModuleException
 
- 
sendpublic void send(IContext context, IResource resource, IMailForm mailForm, Collection<? extends IUser> mailTo, String comment) throws WorkflowModuleException Description copied from interface:IBaseWorkflowModuleSends a mail by specifying the subject and the content of the body.- Specified by:
- sendin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- resource- The- IResourceobject to evaluate with.
- mailForm- The- IMailFormobject.
- mailTo- A collection of- IUser,- IGroup,- InternetAddressor- Stringobjects.
- comment- The comment which will be displayed in the history entries.
- Throws:
- WorkflowModuleException
 
- 
lockpublic void lock(IContext context, IWorkflowInstance workflowInstance, int delay) throws WorkflowModuleException Description copied from interface:IWorkflowModuleAllows to lock workflow instance.- Specified by:
- lockin interface- IWorkflowModule
- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- delay- lock delay in second
- Throws:
- WorkflowModuleException- default module exception.
 
- 
unlockpublic void unlock(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Description copied from interface:IWorkflowModuleAllows to unlock workflow instance.- Specified by:
- unlockin interface- IWorkflowModule
- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
isLockedpublic boolean isLocked(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Description copied from interface:IWorkflowModuleChecks if a specified workflow instance is locked- Specified by:
- isLockedin interface- IWorkflowModule
- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Returns:
- true if the resource has been locked, false otherwise.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
lockedBypublic Collection<IUser> lockedBy(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Description copied from interface:IWorkflowModuleRetrieve the users who locked the workflow instance.- Specified by:
- lockedByin interface- IWorkflowModule
- Parameters:
- context- The- IContextexecution context.
- workflowInstance- The- IWorkflowInstanceobject.
- Returns:
- a list of IUserusers.
- Throws:
- WorkflowModuleException- default module exception.
 
- 
isLockBySDKpublic boolean isLockBySDK(IContext context, IWorkflowInstance workflowInstance) throws WorkflowModuleException Description copied from interface:IWorkflowModuleChecks if a specified workflow instance is locked by the SDK- Specified by:
- isLockBySDKin interface- IWorkflowModule
- 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.
 
- 
getListLabelpublic String getListLabel(ICatalog catalog, String listName, String key, String language) throws WorkflowModuleException Description copied from interface:IWorkflowModuleget translated value of a list- Specified by:
- getListLabelin interface- IWorkflowModule
- 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
 
- 
setDynamicLocalizationsWrapperMessageForLanguagepublic IDynamicLocalizationsWrapper setDynamicLocalizationsWrapperMessageForLanguage(IContext context, IDynamicLocalizationsWrapper dynamicLocalizationsWrapper, ICatalog catalog, String language, String message) throws ModuleException Description copied from interface:IBaseWorkflowModuleCreates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.- Specified by:
- setDynamicLocalizationsWrapperMessageForLanguagein interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- language- The language
- message- The message
- Returns:
- A IDynamicLocalizationsWrapperobject.
- Throws:
- ModuleException
 
- 
createDynamicLocalizationsWrapperpublic IDynamicLocalizationsWrapper createDynamicLocalizationsWrapper(IContext context, ICatalog catalog) throws ModuleException Description copied from interface:IBaseWorkflowModuleCreates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.- Specified by:
- createDynamicLocalizationsWrapperin interface- IBaseWorkflowModule
- Parameters:
- context- The execution context.
- catalog- The- ICatalogobject.
- Returns:
- A IDynamicLocalizationsWrapperobject.
- Throws:
- ModuleException
 
- 
generateSystemNameDescription copied from interface:IModuleGenerate a valid system name for this module and this label.- Specified by:
- generateSystemNamein interface- IModule
- Parameters:
- label- label to normalize
- Returns:
- normalized value
 
- 
hasDiscussionThreadDescription copied from interface:IBaseWorkflowModuleAllows knowing if an IWorkflowInstance has a discussion thread or not- Specified by:
- hasDiscussionThreadin interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iWorkflowInstance- the- IWorkflowInstance
- Returns:
- true if IWorkflowInstance has a discussion thread otherwise false
 
- 
getDiscussionMessagesOrderByCreationDateDescpublic Collection<IWorkflowInstanceDiscussionMessage> getDiscussionMessagesOrderByCreationDateDesc(IContext context, IWorkflowInstance iWorkflowInstance) Description copied from interface:IBaseWorkflowModuleRetrieve IWorkflowInstance's message- Specified by:
- getDiscussionMessagesOrderByCreationDateDescin interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iWorkflowInstance- the workflowInstance
- Returns:
- the IWorkflowInstanceDiscussionMessagecollection
 
- 
canModifyDiscussionMessagepublic DiscussionAccessCheckResult canModifyDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Description copied from interface:IBaseWorkflowModuleAllows knowing if an IDiscussionMessage can be modified in the current IContext or not- Specified by:
- canModifyDiscussionMessagein interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iDiscussionMessage- the- IDiscussionMessage
- Returns:
- the DiscussionAccessCheckResultenum value result
 
- 
canDeleteDiscussionMessagepublic DiscussionAccessCheckResult canDeleteDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Description copied from interface:IBaseWorkflowModuleAllows knowing if an IDiscussionMessage can be deleted in the current IContext or not- Specified by:
- canDeleteDiscussionMessagein interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iDiscussionMessage- the- IDiscussionMessage
- Returns:
- the DiscussionAccessCheckResultenum value result
 
- 
deleteDiscussionMessagepublic void deleteDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, IWorkflowInstance iWorkflowInstance) Description copied from interface:IBaseWorkflowModuleDelete an IWorkflowInstanceDiscussionMessage for an IWorkflowInstance. It is necessary to save the IWorkflowInstance after calling this method.- Specified by:
- deleteDiscussionMessagein interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iWorkflowInstanceDiscussionMessage- the iWorkflowInstanceDiscussionMessage
- iWorkflowInstance- the the- IWorkflowInstance
 
- 
createDiscussionMessagepublic IWorkflowInstanceDiscussionMessage createDiscussionMessage(IContext context, IWorkflowInstance iWorkflowInstance, String content, Collection<IAttachment> attachments, String visibility, Collection<IUser> recipients, IOrganization visibilityOrganization) Description copied from interface:IBaseWorkflowModuleCreate and add a new message for an IWorkflowInstance.It is necessary to save the IWorkflowInstance after calling this method. The "visibility" String parameter can have the following values: "ALL" (Everyone can see the message), "SENDER" (Only the creator of the message can see it), "SENDER_AND_ORGANIZATION" (In addition to the creator, the members of the organization to which he belongs at the time he creates the message can see the message), "SENDER_AND_RECIPIENTS" (In addition to the creator, the recipients specified during the creation of the message can see the message). - Specified by:
- createDiscussionMessagein interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iWorkflowInstance- the- IWorkflowInstance
- content- The content
- attachments- the collection of- IAttachment
- visibility- the visibility string code
- recipients- the collection of- IUserrecipients for visibility mode VisibilityMode SENDER_AND_RECIPIENTS or null
- visibilityOrganization- the- IOrganizationfor visibility mode VisibilityMode SENDER_AND_ORGANIZATION or null
- Returns:
- the new IWorkflowInstanceDiscussionMessage
 
- 
updateDiscussionMessagepublic void updateDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, String content, Collection<IAttachment> attachments) Description copied from interface:IBaseWorkflowModuleUpdate content and/or attachments of a message.- Specified by:
- updateDiscussionMessagein interface- IBaseWorkflowModule
- Parameters:
- context- the context
- iWorkflowInstanceDiscussionMessage- the iWorkflowInstanceDiscussionMessage
- content- the content
- attachments- the collection of- IAttachment
 
 
-