Interface IBaseWorkflowModule
- All Known Subinterfaces:
IWorkflowModule
- All Known Implementing Classes:
com.axemble.vdoc.sdk.impl.ProcessWorkflowModule,ReportProcessWorkflowModule,WorkflowModuleImpl
Code sample :
// creation of a workflow module object
IBaseWorkflowModule workflowModule = Modules.getWorkflowModule();
try
{
}
finally
{
// uninitialize the module
Modules.releaseModule(workflowModule);
}
-
Method Summary
Modifier and TypeMethodDescriptionvoidabort(IContext context, IWorkflowInstance instance, String comment) Deprecated, for removal: This API element is subject to removal in a future version.Allows to abort workflow instance.addAttachment(IResource resource, String propertyName, IAttachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment from an attachment.addAttachment(IResource resource, String propertyName, File file) Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment as a java.io.File object.addAttachment(IResource resource, String propertyName, String fileName, InputStream inputStream) Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment as an java.io.InputStream object.addAttachment(IResource resource, String propertyName, String fileName, String fullPath) Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment with its full path.voidDeprecated, for removal: This API element is subject to removal in a future version.Adds a group to a role.voidDeprecated, for removal: This API element is subject to removal in a future version.Adds a user to a role.buildMailMessage(IResource resource, IMailForm mailForm, String language) Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the form and returns the HTML content as a java.lang.String object.buildMailMessage(ITaskInstance taskInstance, IMailForm mailForm, String language) Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the form and returns the HTML content as a java.lang.String object.canDeleteDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Deprecated, for removal: This API element is subject to removal in a future version.Allows knowing if an IDiscussionMessage can be deleted in the current IContext or notcanModifyDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Deprecated, for removal: This API element is subject to removal in a future version.Allows knowing if an IDiscussionMessage can be modified in the current IContext or notcreateCatalog(IContext context, String name, String label) Deprecated.: use createCatalog( IContext context, String name, String label, IProject project )createCatalog(IContext context, String name, String label, IProject project) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a new catalog.createDiscussionMessage(IContext context, IWorkflowInstance iWorkflowInstance, String content, Collection<IAttachment> attachments, String visibility, Collection<IUser> recipients, IOrganization visibilityOrganization) Deprecated, for removal: This API element is subject to removal in a future version.Create and add a new message for an IWorkflowInstance.createDynamicLocalizationsWrapper(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Creates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.Deprecated, for removal: This API element is subject to removal in a future version.Creates a generic resource for mail purposes.createLinkedResource(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Creates a linked resource into a specified property table.createListOption(Object key, String text) Deprecated, for removal: This API element is subject to removal in a future version.createOperatorRole(IContext context, ICatalog catalog, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates aIOperatorRoleinto the catalog object.createProfile(IContext context, IProtocolSupport link, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates aIProfile.createRole(IContext context, ICatalog catalog, String name) Deprecated.: use createOperatorRole or createProfilecreateStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference) Deprecated, for removal: This API element is subject to removal in a future version.Creates a storage resource object by specifying theIResourceDefinitionobject, its reference.createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference, String label) Deprecated, for removal: This API element is subject to removal in a future version.Creates a storage resource object by specifying theIResourceDefinitionobject, its reference, and its label.createWorkflow(IContext context, IWorkflowContainer container, String name, byte[] content) Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow within a workflow container.createWorkflowContainer(IContext context, ICatalog catalog, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow container within aICatalogobject.createWorkflowInstance(IContext context, IWorkflow workflow, String reference) Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow instance object by specifying theIWorkflowobject, its reference.createWorkflowInstance(IContext context, IWorkflow workflow, String reference, String label) Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow instance object by specifying theIWorkflowobject, its reference, and its label.voiddeleteDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, IWorkflowInstance iWorkflowInstance) Deprecated, for removal: This API element is subject to removal in a future version.Delete an IWorkflowInstanceDiscussionMessage for an IWorkflowInstance.voidend(IContext context, ITaskInstance instance, IAction action, String comment) Deprecated, for removal: This API element is subject to removal in a future version.Crosses a transition.voidDeprecated, for removal: This API element is subject to removal in a future version.Allows to cross a transition for another user.evaluatedHtml(IResource resource, IMailForm mailForm) Deprecated.: use buildMailMessage( IResource resource, IMailForm mailForm, String language )evaluatedHtml(ITaskInstance taskInstance, IMailForm mailForm) Deprecated.: use buildMailMessage( ITaskInstance taskInstance, IMailForm mailForm, String language )voidDeprecated, for removal: This API element is subject to removal in a future version.Allows to execute an agent.voidDeprecated, for removal: This API element is subject to removal in a future version.Allows to execute an agent.findStorageResourceByReference(IContext context, IResourceDefinition resourceDefinition, String reference) Deprecated, for removal: This API element is subject to removal in a future version.Find a storage resource object by specifying theIResourceDefinitionobject, its reference.intgenerateChrono(IResourceDefinition resourceDefinition) Deprecated.: should not use this method anymore.generateReference(IResource resource) Deprecated, for removal: This API element is subject to removal in a future version.Evaluate the next reference based on the format specified on the Designer tool.generateReference(IResourceDefinition resourceDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Evaluate the next reference based on the format specified on the Designer tool.generateReference(IResourceDefinition resourceDefinition, String format) Deprecated.: should not use this method anymore.generateReference(IResource resource, String format) Deprecated.: should not use this method anymore.generateReference(IResource resource, Document format) Deprecated, for removal: This API element is subject to removal in a future version.Evaluate the next reference based specified format.Collection<? extends ITaskInstance> getAbortedTaskInstances(IContext context, IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the aborted task instances of a workflow instance.Deprecated, for removal: This API element is subject to removal in a future version.Retrieve a specificIActionobject from its system name.getAction(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets an action object from its identifier.Collection<? extends IAction> getActions(IContext context, ITask task) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets an agent from its name.Collection<? extends ICatalog> getAllCatalogs(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofICatalogobject.Deprecated, for removal: This API element is subject to removal in a future version.Gets a archiving controller to archiveIElementobjects.getAttachment(IResource resource, String propertyName, String fileName) Deprecated, for removal: This API element is subject to removal in a future version.Gets an attachment by its file name.Collection<? extends IAttachment> getAttachments(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the attachments associated with a property.getCatalog(IContext context, String name) Deprecated.: use getCatalog( IContext context, String name, IProject project )getCatalog(IContext context, String name, int catalogType) Deprecated.: use getCatalog( IContext context, String name, int catalogType, IProject project )getCatalog(IContext context, String name, int catalogType, IProject project) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a catalog form its name.getCatalog(IContext context, String name, IProject project) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a catalog form its name.getCatalog(IResourceDefinition resourceDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Gets aICatalogobject from a resource definitino.getCatalog(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a catalog object from its identifier.getCatalog(IWorkflow workflow) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the catalog of aIWorkflowobject.Collection<? extends ICatalog> getCatalogs(IContext context) Deprecated.: use getCatalogs( IContext context, IProject project )Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType) Deprecated.: use getCatalogs( IContext context, int catalogType, IProject project )Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType, IProject project) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofICatalogobject.Collection<? extends ICatalog> getCatalogs(IContext context, IProject project) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofICatalogobject.Deprecated, for removal: This API element is subject to removal in a future version.Gets a catalog view transformer to transformICatalogobjects.Deprecated, for removal: This API element is subject to removal in a future version.Gets the global configuration.getDataSourceReference(String name) Deprecated, for removal: This API element is subject to removal in a future version.Gets a data source reference from its JNDI name.Deprecated, for removal: This API element is subject to removal in a future version.Gets the default data source reference.Deprecated, for removal: This API element is subject to removal in a future version.Gets a delegation controller to delegateIDelegationSupportobjects.getDiscussionMessagesOrderByCreationDateDesc(IContext context, IWorkflowInstance workflowInstance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieve IWorkflowInstance's messagegetElementByProtocolURI(String protocolURI) Deprecated, for removal: This API element is subject to removal in a future version.Gets anIElementobject which implementsIProtocolSupportinterface.Collection<? extends ITaskInstance> getEndedTaskInstances(IContext context, IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the ended task instances of a workflow instance.Collection<?> getExternalElements(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection ofIElementobjects from a multiple selector property.getExternalFile(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIFileobject from a single file selector property.getExternalFolder(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIFolderobject from a single folder selector property.getExternalGroup(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIGroupobject from a single group selector property.getExternalLibrary(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aILibraryobject from a single library selector property.getExternalLocalization(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aILocalizationobject from a single localization selector property.getExternalOrganization(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIOrganizationobject from a single organization selector property.getExternalUser(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIUserobject from a single user selector property.Deprecated, for removal: This API element is subject to removal in a future version.Gets a action form by its name.getForm(IContext context, IResourceDefinition resourceDefinition, String formName) Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource definition form by its name.Deprecated, for removal: This API element is subject to removal in a future version.Gets a task form by its name.Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow form by its name.Deprecated, for removal: This API element is subject to removal in a future version.getGroupByName(String name) Deprecated.use the IDirectoryModule instead.getJdbcReference(IContext context, String name) Deprecated.: use getConnectionDefinition( IContext context, String name ) method instead.Collection<? extends IJdbcReference> getJdbcReferences(IContext context) Deprecated.: use getConnectionDefinitions( IContext context ) method instead.Collection<? extends ILinkedResource> getLinkedResources(IResource resource, String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the linked resources associated with a table property.Deprecated, for removal: This API element is subject to removal in a future version.Gets a list object from a catalog by its name.Collection<? extends IOptionList.IOption> Deprecated, for removal: This API element is subject to removal in a future version.Gets the available values of a list property.Collection<? extends IList> Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection of a the lists available on a specifiedICatalogobject.getMailForm(IContext context, IWorkflow workflow, String mailFormName) Deprecated, for removal: This API element is subject to removal in a future version.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the mail forms from a specifiedIWorkflowobject.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow, String startsWith) Deprecated, for removal: This API element is subject to removal in a future version.Collection<? extends ITaskInstance> getManualTaskInstances(IContext context, IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the manual task instances of a workflow instance.Collection<? extends ITaskInstance> getManualTaskInstancesByStatus(IContext context, int status) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the manual task instances for a status.Collection<? extends ITaskInstance> getManualTaskInstancesModifiedSince(IContext context, Date date) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the manual task instances modified since.getOneTaskInstance(IContext context, IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Gets one of the task instances (any).getOperator(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets an operator object from its identifier.getOperator(String id) Deprecated.Use getOperator(IStorageKeykey ) method instead.getOperatorByLogin(String login) Deprecated, for removal: This API element is subject to removal in a future version.Gets anIOperatorfrom a user login.getOperatorRole(IContext context, ICatalog catalog, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aIOperatorRoleobject by its system name.Deprecated, for removal: This API element is subject to removal in a future version.Gets a role object from its identifier.Collection<? extends IOperatorRole> getOperatorRoles(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIOperatorRoleobjects within a specified catalog.Collection<? extends IOperator> getOperators(ITaskInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the operators of a task instance.getParentInstance(ILinkedResource linkedResource) Deprecated, for removal: This API element is subject to removal in a future version.Gets the parent instance of a linked resource.getParentInstance(IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Gets the parent instance of a specifiedIWorkflowInstanceobject.getProfile(IContext context, IProtocolSupport link, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aIProfileobject by its system name.getProfile(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a role object from its identifier.Collection<? extends IProfile> getProfiles(IContext context, IProtocolSupport link) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIProfileobjects within a specified link.Collection<? extends IProperty> getProperties(IContext context, IResourceDefinition resourceDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the properties of a specified definition.getProperty(IContext context, IResourceDefinition resourceDefinition, String name) Deprecated, for removal: This API element is subject to removal in a future version.Gets a property definition by specifying theIResourceDefinitionand its system name.getProperty(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a property object from its identifier.getResource(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource object from its identifier.getResource(Object object) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIResourceobject from an object.getResource(String id) Deprecated.Use getResource(IStorageKeykey ) method instead.getResourceDefinition(IContext context, ICatalog catalog, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a resource definition by specifying theICatalogand its system name.Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource definition object from its identifier.Collection<? extends IResourceDefinition> getResourceDefinitions(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all resource definitions by specifying theICatalogCollection<? extends IResource> getResources(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection ofIResourceobjects from a catalogCollection<? extends IResource> getResources(IContext context, IResourceDefinition resourceDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection ofIResourceobjects from a resource definition.Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource view transformer to transformIResourceobjects.Deprecated.: use getRole or getProfilegetRole(IStorageKey key) Deprecated.use getOperatorRole or getProfileCollection<? extends IRole> Deprecated.: use getRoles or getProfilesDeprecated, for removal: This API element is subject to removal in a future version.Gets the defaultISearchControllerobject.getSearchController(IConnectionDefinition connectionDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying a ConnectionDefinition object.getSearchController(IDataSourceReference reference) Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying an external data source.getSearchController(IJdbcReference reference) Deprecated.use getSearchController( IConnectionDefinition connectionDefinition ) method instead.Deprecated, for removal: This API element is subject to removal in a future version.Gets a search view transformer to transformIResourceobjects.getSecurityController(ISecuritySupport securitySupport) Deprecated, for removal: This API element is subject to removal in a future version.Gets a security controller on a specified object.Collection<? extends ITaskInstance> getStartedTaskInstances(IContext context, IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the started task instances of a workflow instance.getSubForm(IContext context, IWorkflow workflow, String formName) Deprecated, for removal: This API element is subject to removal in a future version.Gets a sub form by its name.Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a specific task of aIWorkflowobject by its name.getTask(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a task object from its identifier.getTask(ITaskInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Gets the definition of a task instance.getTaskInstance(IContext context, IWorkflowInstance instance, String name) Deprecated, for removal: This API element is subject to removal in a future version.Gets the started task instance associated with a specified task name.Deprecated, for removal: This API element is subject to removal in a future version.Gets a task instance object from its identifier.Deprecated.Use getTaskInstance(IStorageKeykey ) method instead.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the task instances of a specified workflow instance.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the task instances of a specified workflow instance filtered by the name of aITask.Deprecated, for removal: This API element is subject to removal in a future version.Gets a task transformer to transformITaskInstanceobject.Deprecated, for removal: This API element is subject to removal in a future version.Gets a task view transformer to transformITaskInstanceobjects.Deprecated, for removal: This API element is subject to removal in a future version.Gets a transformer to transformIResourceobject.getUser(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a user object from its identifier.Deprecated.Use getUser(IStorageKeykey ) method instead.getUserByLogin(String login) Deprecated, for removal: This API element is subject to removal in a future version.Gets a user by its loginDeprecated, for removal: This API element is subject to removal in a future version.Gets the value of a property.Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a view by its name.getView(IContext context, IResourceDefinition resourceDefinition, String viewName) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a view by its name.getView(IContext context, IWorkflowContainer workflowContainer, String viewName) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a view by its name.Deprecated.getViewController(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.getViewController(IContext context, IProject project, InputStream inputStream) Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.getViewController(IContext context, Class natureClass) Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.getViewController(IProject project, InputStream inputStream) Deprecated.getViewController(Class natureClass) Deprecated.Collection<? extends IView> Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the views associated with the catalog.Collection<? extends IView> getViews(IContext context, IResourceDefinition resourceDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the views associated with the resource definition.Collection<? extends IView> getViews(IContext context, IWorkflowContainer workflowContainer) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the views associated with the workflow container.getWorkflow(IContext context, ICatalog catalog, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a workflow within aIWorkflowobject and from its system name.getWorkflow(IContext context, String name) Deprecated.: use getWorkflow( IContext context, ICatalog catalog, String name )getWorkflow(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow object from its identifier.getWorkflow(ITask task) Deprecated, for removal: This API element is subject to removal in a future version.Gets the associated workflow of a task.getWorkflowContainer(IContext context, ICatalog catalog, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aIWorkflowContainerwithin aICatalogby its system nameDeprecated, for removal: This API element is subject to removal in a future version.Gets a workflow container object from its identifier.getWorkflowContainer(IWorkflow workflow) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the workflow container of aIWorkflowobject.Collection<? extends IWorkflowContainer> getWorkflowContainers(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIWorkflowContainerobjects within aICatalogobject.Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow container view transformer to transformIWorkflowContainerobjects.Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow instance object from its identifier.getWorkflowInstance(Object object) Deprecated, for removal: This API element is subject to removal in a future version.Gets aIWorkflowInstanceobject from an object.Deprecated.Use getWorkflowInstance(IStorageKeykey ) method instead.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances of a specifiedICatalogobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog, String reference) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances with the same reference within a specifiedICatalogobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ITask task) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances of a specifiedITaskobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances of a specifiedIWorkflowobject.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow, String reference) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances with the same reference within a specifiedIWorkflowobject.Collection<? extends IWorkflow> getWorkflows(IContext context, ICatalog catalog) Deprecated, for removal: This API element is subject to removal in a future version.Collection<? extends IWorkflow> getWorkflows(IContext context, IWorkflowContainer container) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIWorkflowobjects within aIWorkflowContainerobject.Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow view transformer to transformIWorkflowobjects.booleanhasDiscussionThread(IContext context, IWorkflowInstance iWorkflowInstance) Deprecated, for removal: This API element is subject to removal in a future version.Allows knowing if an IWorkflowInstance has a discussion thread or notbooleanisMemberOf(IUser user, IRole role) Deprecated, for removal: This API element is subject to removal in a future version.Checks if a specified user is member of aIRoleobject.booleanisMemberOf(IUser user, IRole role, boolean recursive) Deprecated, for removal: This API element is subject to removal in a future version.Checks if a specified user is member of aIRoleobject.voidremind(IContext context, ITaskInstance taskInstance, String comment) Deprecated, for removal: This API element is subject to removal in a future version.Allows to remind current operators of a specified task instance.voidremind(IContext context, IWorkflowInstance instance, String comment) Deprecated, for removal: This API element is subject to removal in a future version.Allows to remind current operators of a workflow instance.voidsend(IContext context, IResource resource, IMailForm mailForm, Collection<?> entries, String subject, String content) Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )voidsend(IContext context, IResource resource, IMailForm mailForm, Collection<? extends IUser> mail_to, String comment) Deprecated, for removal: This API element is subject to removal in a future version.Sends a mail by specifying the subject and the content of the body.voidsend(IContext context, ITaskInstance instance, IMailForm form, String comment) Deprecated.use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )voidsend(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) Deprecated.use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )voidsend(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<? extends IUser> mail_to, String comment) Deprecated, for removal: This API element is subject to removal in a future version.Sends a mail by specifying the subject and the content of the body.voidDeprecated.use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )voidsend(IContext context, IWorkflowInstance workflowInstance, String formName, Collection<?> entries) Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )voidsend(IContext context, IWorkflow workflow, IResource resource, String formName, Collection<?> entries) Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )voidsend(IContext context, IWorkflow workflow, String formName, Collection<?> entries) Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )setDynamicLocalizationsWrapperMessageForLanguage(IContext context, IDynamicLocalizationsWrapper dynamicLocalizationsWrapper, ICatalog catalog, String language, String message) Deprecated, for removal: This API element is subject to removal in a future version.Creates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.voidsetExternalElements(IResource resource, String propertyName, Collection<?> elements) Deprecated, for removal: This API element is subject to removal in a future version.Sets aIElementto a multiple selector property.voidsetExternalFile(IResource resource, String propertyName, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.Sets aIFileto a single selector property.voidsetExternalFolder(IResource resource, String propertyName, IFolder folder) Deprecated, for removal: This API element is subject to removal in a future version.Sets aIFolderto a single selector property.voidsetExternalGroup(IResource resource, String propertyName, IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Sets aIGroupto a single selector property.voidsetExternalLibrary(IResource resource, String propertyName, ILibrary library) Deprecated, for removal: This API element is subject to removal in a future version.Sets aILibraryto a single selector property.voidsetExternalLocalization(IResource resource, String propertyName, ILocalization localization) Deprecated, for removal: This API element is subject to removal in a future version.Sets aILocalizationto a single selector property.voidsetExternalOrganization(IResource resource, String propertyName, IOrganization organization) Deprecated, for removal: This API element is subject to removal in a future version.Sets aIOrganizationto a single selector property.voidsetExternalUser(IResource resource, String propertyName, IUser user) Deprecated, for removal: This API element is subject to removal in a future version.Sets aIUserto a single selector property.voidsetList(IResource resource, String propertyName, Collection<? extends IOptionList.IOption> values) Deprecated, for removal: This API element is subject to removal in a future version.Sets the list of available values to a list property.voidDeprecated, for removal: This API element is subject to removal in a future version.Sets a value to a property.voidupdateDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, String content, Collection<IAttachment> attachments) Deprecated, for removal: This API element is subject to removal in a future version.Update content and/or attachments of a message.Methods inherited from interface com.axemble.vdoc.sdk.modules.IModule
beginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContextByLogin, getElementFromExternalElement, getExternalElement, getExternalElement, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getTranslation, getTranslationForLanguage, getTranslationKey, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitialize
-
Method Details
-
getConfiguration
IConfiguration getConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.Gets the global configuration.- Returns:
- a
IConfigurationobject.
-
getAgent
Deprecated, for removal: This API element is subject to removal in a future version.Gets an agent from its name.- Parameters:
context- The execution context.name- The name of the agent.- Returns:
- a
IAgentobject. - Throws:
WorkflowModuleException- default module exception.
-
execute
Deprecated, for removal: This API element is subject to removal in a future version.Allows to execute an agent.- Parameters:
agent- TheIAgentto execute.- Throws:
WorkflowModuleException- default module exception.
-
execute
Deprecated, for removal: This API element is subject to removal in a future version.Allows to execute an agent.- Parameters:
context- The execution context.agent- TheIAgentto execute.- Throws:
WorkflowModuleException- default module exception.
-
getDefaultDataSourceReference
Deprecated, for removal: This API element is subject to removal in a future version.Gets the default data source reference.- Returns:
- a
IDataSourceReferenceobject. - Throws:
WorkflowModuleException- default module exception.
-
getDataSourceReference
Deprecated, for removal: This API element is subject to removal in a future version.Gets a data source reference from its JNDI name.- Parameters:
name- The JNDI name.- Returns:
- a
IDataSourceReferenceobject. - Throws:
WorkflowModuleException- default module exception.
-
getJdbcReference
@Deprecated IJdbcReference getJdbcReference(IContext context, String name) throws WorkflowModuleException Deprecated.: use getConnectionDefinition( IContext context, String name ) method instead.Gets a JDBC reference from its name.- Parameters:
context- The execution context.name- The name of the external reference.- Returns:
- a
IJdbcReferenceobject. - Throws:
WorkflowModuleException- default module exception.
-
getJdbcReferences
@Deprecated Collection<? extends IJdbcReference> getJdbcReferences(IContext context) throws WorkflowModuleException Deprecated.: use getConnectionDefinitions( IContext context ) method instead.Gets a collection of JDBC references.- Parameters:
context- The execution context.- Returns:
- a
Collectionof IJdbcReference object. - Throws:
WorkflowModuleException- default module exception.
-
getList
Deprecated, for removal: This API element is subject to removal in a future version.Gets a list object from a catalog by its name.- Parameters:
context- The execution context.catalog- TheICatalogrepresenting the application.name- The name of the list.- Returns:
- a
IListobject. - Throws:
WorkflowModuleException- default module exception.
-
getLists
Collection<? extends IList> getLists(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection of a the lists available on a specifiedICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogrepresenting the application.- Returns:
- a collection of
IListobject - Throws:
WorkflowModuleException- default module exception.
-
createCatalog
@Deprecated ICatalog createCatalog(IContext context, String name, String label) throws WorkflowModuleException Deprecated.: use createCatalog( IContext context, String name, String label, IProject project )Allows to create a new catalog. This method allows to specify the system name and the label of the catalog.- 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.
-
createCatalog
ICatalog createCatalog(IContext context, String name, String label, IProject project) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a new catalog. This method allows to specify the system name and the label of the catalog and the project- Parameters:
context- The execution context.name- The system name of the catalog.label- The label of the catalog.project- TheIProjectrepresenting the project.- Returns:
- a
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalog
Deprecated.: use getCatalog( IContext context, String name, IProject project )Retrieves a catalog form its name.- Parameters:
context- The execution context.name- The system name of the catalog.- Returns:
- a
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalog
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a catalog form its name.- Parameters:
context- The execution context.name- The system name of the catalog.project- TheIProjectrepresenting the project.- Returns:
- a
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalog
@Deprecated ICatalog getCatalog(IContext context, String name, int catalogType) throws WorkflowModuleException Deprecated.: use getCatalog( IContext context, String name, int catalogType, IProject project )Retrieves a catalog form its name.- Parameters:
context- The execution context.name- The system name of the catalog.catalogType- TheICatalog.ITypeof the catalog.- Returns:
- a
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalog
ICatalog getCatalog(IContext context, String name, int catalogType, IProject project) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a catalog form its name.- Parameters:
context- The execution context.name- The system name of the catalog.catalogType- TheICatalog.ITypeof the catalog.project- TheIProjectrepresenting the project.- Returns:
- a
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalogs
@Deprecated Collection<? extends ICatalog> getCatalogs(IContext context) throws WorkflowModuleException Deprecated.: use getCatalogs( IContext context, IProject project )Retrieves a collection ofICatalogobject.- Parameters:
context- The execution context.- Returns:
- a collection of
ICatalogobjects. - Throws:
WorkflowModuleException- default module exception.
-
getCatalogs
Collection<? extends ICatalog> getCatalogs(IContext context, IProject project) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofICatalogobject.- Parameters:
context- The execution context.project- TheIProjectrepresenting the project.- Returns:
- a collection of
ICatalogobjects. - Throws:
WorkflowModuleException- default module exception.
-
getCatalogs
@Deprecated Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType) throws WorkflowModuleException Deprecated.: use getCatalogs( IContext context, int catalogType, IProject project )Retrieves a collection ofICatalogobject.- Parameters:
context- The execution context.catalogType- TheICatalog.ITypeof the catalogs.- Returns:
- a collection of
ICatalogobjects. - Throws:
WorkflowModuleException- default module exception.
-
getCatalogs
Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType, IProject project) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofICatalogobject.- Parameters:
context- The execution context.catalogType- TheICatalog.ITypeof the catalogs.project- TheIProjectrepresenting the project.- Returns:
- a collection of
ICatalogobjects. - Throws:
WorkflowModuleException- default module exception.
-
getAllCatalogs
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofICatalogobject.- Parameters:
context- The execution context.- Returns:
- a collection of
ICatalogobjects. - Throws:
WorkflowModuleException- default module exception.
-
createRole
@Deprecated IRole createRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated.: use createOperatorRole or createProfileCreates aIRoleinto the catalog object.- Parameters:
context- The execution context.catalog- TheICatalogobject.name- The system name of theIRoleto be created.- Returns:
- a
IRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
getRole
@Deprecated IRole getRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated.: use getRole or getProfileRetrieves aIRoleobject by its system name.- Parameters:
context- The execution context.catalog- TheICatalogscope object.name- The system name of the role.- Returns:
- a
IRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
getRoles
@Deprecated Collection<? extends IRole> getRoles(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated.: use getRoles or getProfilesRetrieves a collection ofIRoleobjects within a specified catalog.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a collection of
IRoleobjects. - Throws:
WorkflowModuleException- default module exception.
-
createOperatorRole
IOperatorRole createOperatorRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates aIOperatorRoleinto the catalog object.- Parameters:
context- The execution context.catalog- TheICatalogobject.name- The system name of theIRoleto be created.- Returns:
- a
IRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperatorRole
IOperatorRole getOperatorRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aIOperatorRoleobject by its system name.- Parameters:
context- The execution context.catalog- TheICatalogscope object.name- The system name of the role.- Returns:
- a
IRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperatorRoles
Collection<? extends IOperatorRole> getOperatorRoles(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIOperatorRoleobjects within a specified catalog.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a collection of
IRoleobjects. - Throws:
WorkflowModuleException- default module exception.
-
createProfile
Deprecated, for removal: This API element is subject to removal in a future version.Creates aIProfile.- Parameters:
context- The execution context.link- TheIProtocolSupportobject.name- The system name of theIProfileto be created.- Returns:
- a
IProfileobject. - Throws:
ModuleException- default module exception.
-
getProfile
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aIProfileobject by its system name.- Parameters:
context- The execution context.link- TheIProtocolSupportscope object.name- The system name of the role.- Returns:
- a
IProfileobject. - Throws:
ModuleException- default module exception.
-
getProfiles
Collection<? extends IProfile> getProfiles(IContext context, IProtocolSupport link) throws ModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIProfileobjects within a specified link.- Parameters:
context- The execution context.link- TheIProtocolSupportobject.- Returns:
- a collection of
IProfileobjects. - Throws:
ModuleException- default module exception.
-
isMemberOf
Deprecated, for removal: This API element is subject to removal in a future version.Checks if a specified user is member of aIRoleobject.- Parameters:
user- TheIUserobject to check.role- TheIRoleobject.- Returns:
- return true if the user is member of the
IRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
isMemberOf
Deprecated, for removal: This API element is subject to removal in a future version.Checks if a specified user is member of aIRoleobject.- Parameters:
user- TheIUserobject to check.role- TheIRoleobject.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.
-
addChild
Deprecated, for removal: This API element is subject to removal in a future version.Adds a group to a role.- Parameters:
group- The group to add.role- The role object.- Throws:
WorkflowModuleException- default module exception.
-
addMember
Deprecated, for removal: This API element is subject to removal in a future version.Adds a user to a role.- Parameters:
user- The user to add.role- The role object.- Throws:
WorkflowModuleException- default module exception.
-
createWorkflowContainer
IWorkflowContainer createWorkflowContainer(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow container within aICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogobject.name- The system name of theIWorkflowContainerobject.- Returns:
- a
IWorkflowContainerobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowContainer
IWorkflowContainer getWorkflowContainer(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aIWorkflowContainerwithin aICatalogby its system name- Parameters:
context- The execution context.catalog- TheICatalogobject.name- The system name of theIWorkflowContainerobject.- Returns:
- a
IWorkflowContainerobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowContainers
Collection<? extends IWorkflowContainer> getWorkflowContainers(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIWorkflowContainerobjects within aICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a collection of
IWorkflowContainerobjects. - Throws:
WorkflowModuleException- default module exception.
-
createWorkflow
IWorkflow createWorkflow(IContext context, IWorkflowContainer container, String name, byte[] content) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow within a workflow container.- Parameters:
context- The execution context.container- TheIWorkflowContainerobject.name- The system name of the workflow.content- The XML content of the workflow.- Returns:
- a
IWorkflowobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflow
IWorkflow getWorkflow(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a workflow within aIWorkflowobject and from its system name.- Parameters:
context- The execution context.catalog- TheICatalogobject.name- The system name of the workflow.- Returns:
- a
IWorkflowobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflows
Collection<? extends IWorkflow> getWorkflows(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a collection of
IWorkflowobjects. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflows
Collection<? extends IWorkflow> getWorkflows(IContext context, IWorkflowContainer container) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection ofIWorkflowobjects within aIWorkflowContainerobject.- Parameters:
context- The execution context.container- TheIWorkflowContainerobject.- Returns:
- a collection of
IWorkflowobjects. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflow
Deprecated.: use getWorkflow( IContext context, ICatalog catalog, String name )Retrieves a workflow form its system name.- Parameters:
context- The execution context.name- The system name of the workflow to retrieve.- Returns:
- a
IWorkflowobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalog
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the catalog of aIWorkflowobject.- Parameters:
workflow- The workflow object.- Returns:
- a
ICatalogobject - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowContainer
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the workflow container of aIWorkflowobject.- Parameters:
workflow- The workflow object.- Returns:
- a
IWorkflowContainerobject - Throws:
WorkflowModuleException- default module exception.
-
getTask
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a specific task of aIWorkflowobject by its name.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.name- The system name of theITaskobject.- Returns:
- a
ITaskobject. - Throws:
WorkflowModuleException- default module exception.
-
getActions
Collection<? extends IAction> getActions(IContext context, ITask task) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.task- TheITaskobject.- Returns:
- a collection of
IActionobjects. - Throws:
WorkflowModuleException- default module exception.
-
getAction
Deprecated, for removal: This API element is subject to removal in a future version.Retrieve a specificIActionobject from its system name.- Parameters:
context- The execution context.task- TheITaskobject.name- The system name of theIActionobject to retrieve.- Returns:
- a
IActionobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflow
Deprecated, for removal: This API element is subject to removal in a future version.Gets the associated workflow of a task.- Parameters:
task- theITaskobject.- Returns:
- a
IWorkflowobject. - Throws:
WorkflowModuleException- default module exception.
-
getResourceDefinition
IResourceDefinition getResourceDefinition(IContext context, ICatalog catalog, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a resource definition by specifying theICatalogand its system name.- Parameters:
context- The execution context.catalog- TheICatalogobject.name- The system name of the resource definition.- Returns:
- a
IResourceDefinitionobject. - Throws:
WorkflowModuleException- default module exception.
-
getResourceDefinitions
Collection<? extends IResourceDefinition> getResourceDefinitions(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all resource definitions by specifying theICatalog- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a collection of
IResourceDefinitionobjects. - Throws:
WorkflowModuleException- default module exception.
-
getView
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a view by its name.- Parameters:
context- The execution context.catalog- TheICatalogobject.viewName- The name of the view.- Returns:
- a
IViewobject. - Throws:
WorkflowModuleException- default module exception.
-
getViews
Collection<? extends IView> getViews(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the views associated with the catalog.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a
IViewobject. - Throws:
WorkflowModuleException- default module exception.
-
getView
IView getView(IContext context, IWorkflowContainer workflowContainer, String viewName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a view by its name.- Parameters:
context- The execution context.workflowContainer- TheIWorkflowContainerobject.viewName- The name of the view.- Returns:
- a
IViewobject. - Throws:
WorkflowModuleException- default module exception.
-
getViews
Collection<? extends IView> getViews(IContext context, IWorkflowContainer workflowContainer) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the views associated with the workflow container.- Parameters:
context- The execution context.workflowContainer- TheIWorkflowContainerobject.- Returns:
- a
IViewobject. - Throws:
WorkflowModuleException- default module exception.
-
getView
IView getView(IContext context, IResourceDefinition resourceDefinition, String viewName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a view by its name.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.viewName- The name of the view.- Returns:
- a
IViewobject. - Throws:
WorkflowModuleException- default module exception.
-
getViews
Collection<? extends IView> getViews(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the views associated with the resource definition.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.- Returns:
- a
IViewobject. - Throws:
WorkflowModuleException- default module exception.
-
getProperties
Collection<? extends IProperty> getProperties(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the properties of a specified definition.- Parameters:
context- The execution context.resourceDefinition- aIResourceDefinitionobject.- Returns:
- a collection of
IPropertyobjects. - Throws:
WorkflowModuleException- default module exception.
-
getProperty
IProperty getProperty(IContext context, IResourceDefinition resourceDefinition, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a property definition by specifying theIResourceDefinitionand its system name.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.name- The system name of the property.- Returns:
- a
IPropertyobject. - Throws:
WorkflowModuleException- default module exception.
-
generateReference
Deprecated, for removal: This API element is subject to removal in a future version.Evaluate the next reference based on the format specified on the Designer tool.- Parameters:
resourceDefinition- The resource definition object.- Returns:
- The evaluated reference.
- Throws:
WorkflowModuleException- default module exception.
-
generateReference
@Deprecated String generateReference(IResourceDefinition resourceDefinition, String format) throws WorkflowModuleException Deprecated.: should not use this method anymore. The format argument is not supported.Evaluate the next reference based on the passed format.- Parameters:
resourceDefinition- TheIResourceDefinitionobject.format- The format to use to evaluate the next reference.- Returns:
- The evaluated reference.
- Throws:
WorkflowModuleException
-
generateReference
Deprecated, for removal: This API element is subject to removal in a future version.Evaluate the next reference based on the format specified on the Designer tool.- Parameters:
resource- The resource to be created.- Returns:
- The evaluated reference.
- Throws:
WorkflowModuleException- default module exception.
-
generateReference
Deprecated, for removal: This API element is subject to removal in a future version.Evaluate the next reference based specified format.- Parameters:
resource- The resource to be created.format- An XML format definition.- Returns:
- The evaluated reference.
- Throws:
WorkflowModuleException- default module exception.
-
generateReference
@Deprecated String generateReference(IResource resource, String format) throws WorkflowModuleException Deprecated.: should not use this method anymore. The format argument is not supported.Evaluate the next reference based on the specified format.- 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.
-
generateChrono
@Deprecated int generateChrono(IResourceDefinition resourceDefinition) throws WorkflowModuleException Deprecated.: should not use this method anymore.Evaluate the next chrono based on the format specified on the Designer tool.- Parameters:
resourceDefinition- The resource definition object- Returns:
- The evaluated chrono.
- Throws:
WorkflowModuleException- default module exception.
-
createWorkflowInstance
IWorkflowInstance createWorkflowInstance(IContext context, IWorkflow workflow, String reference, String label) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow instance object by specifying theIWorkflowobject, its reference, and its label. The permission to create workflow instance is not checked- Parameters:
context- The execution context.workflow- TheIWorkflowobject.reference- The reference to set.label- The label to set.- Returns:
- a
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
createWorkflowInstance
IWorkflowInstance createWorkflowInstance(IContext context, IWorkflow workflow, String reference) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a workflow instance object by specifying theIWorkflowobject, its reference. The permission to create workflow instance is not checked- Parameters:
context- The execution context.workflow- TheIWorkflowobject.reference- The reference to set.- Returns:
- a
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstances
Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog, String reference) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances with the same reference within a specifiedICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogobject.reference- The reference of the workflow instance.- Returns:
- a collection of
IWorkflowInstanceobjects. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstances
Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow, String reference) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances with the same reference within a specifiedIWorkflowobject.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.reference- The reference of the workflow instance.- Returns:
- a collection of
IWorkflowInstanceobjects. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstances
Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances of a specifiedICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a collection of
IWorkflowInstanceobjects. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstances
Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances of a specifiedIWorkflowobject.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.- Returns:
- a collection of
IWorkflowInstanceobjects. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstances
Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ITask task) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the workflow instances of a specifiedITaskobject.- Parameters:
context- The execution context.task- TheITaskobject.- Returns:
- a collection of
IWorkflowInstanceobjects. - Throws:
WorkflowModuleException- default module exception.
-
getParentInstance
Deprecated, for removal: This API element is subject to removal in a future version.Gets the parent instance of a specifiedIWorkflowInstanceobject.- Parameters:
instance- theIWorkflowInstanceobject.- Returns:
- a
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
setValue
Deprecated, for removal: This API element is subject to removal in a future version.Sets a value to a property.- Parameters:
resource- TheIWorkflowInstanceobject.propertyName- The system name of the property.value- The value object to set.- Throws:
WorkflowModuleException- default module exception.
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.Gets the value of a property.- Parameters:
resource- TheIWorkflowInstanceobject.propertyName- The system name of the property.- Returns:
- a
Objectobject. - Throws:
WorkflowModuleException- default module exception.
-
setList
void setList(IResource resource, String propertyName, Collection<? extends IOptionList.IOption> values) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets the list of available values to a list property.- Parameters:
resource- TheIWorkflowInstanceobject.propertyName- The system name of the property.values- a collection ofIOptionList.IOption.- Throws:
WorkflowModuleException- default module exception.
-
getList
Collection<? extends IOptionList.IOption> getList(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets the available values of a list property.- Parameters:
resource- TheIWorkflowInstanceobject.propertyName- The system name of the property.- Returns:
- a collection of
IOptionList.IOption. - Throws:
WorkflowModuleException- default module exception.
-
createListOption
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
key-text-- Returns:
- a new
IOptionList.IOption
-
abort
void abort(IContext context, IWorkflowInstance instance, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to abort workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.comment- The reason of the abortion. This comment will appear in the history entries.- Throws:
WorkflowModuleException- default module exception.
-
remind
void remind(IContext context, IWorkflowInstance instance, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to remind current operators of a workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.comment- The reason of the reminder. This comment will appear in the history entries.- Throws:
WorkflowModuleException- default module exception.
-
remind
void remind(IContext context, ITaskInstance taskInstance, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to remind current operators of a specified task instance.- Parameters:
context- The execution context.taskInstance- TheITaskInstanceobject.comment- The reason of the reminder. This comment will appear in the history entries.- Throws:
WorkflowModuleException- default module exception.
-
send
@Deprecated void send(IContext context, IWorkflowInstance workflowInstance, String formName, Collection<?> entries) throws WorkflowModuleException Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Allows to send a mail with a specific form to a mail recipient.- Parameters:
context- The execution context.workflowInstance- TheIWorkflowInstanceobject.formName- The system name of the form to use.entries- A collection ofIUser,IGroup,InternetAddressorStringobjects.- Throws:
WorkflowModuleException- default module exception.
-
send
@Deprecated void send(IContext context, IWorkflow workflow, IResource resource, String formName, Collection<?> entries) throws WorkflowModuleException Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Allows to send a mail.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.resource- TheIResourceobject created fromcreateGenericResource()method.formName- The system name of the form to use.entries- A collection ofIUser,IGroup,InternetAddressorStringobjects.- Throws:
WorkflowModuleException- default module exception.
-
send
@Deprecated void send(IContext context, IWorkflow workflow, String formName, Collection<?> entries) throws WorkflowModuleException Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Allows to send a mail.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.formName- The system name of the form to use.entries- A collection ofIUser,IGroup,InternetAddressorStringobjects.- Throws:
WorkflowModuleException- default module exception.
-
getTaskInstances
Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the task instances of a specified workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getTaskInstances
Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the task instances of a specified workflow instance filtered by the name of aITask.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.name- The system name of ITask to use as a filter.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getManualTaskInstances
Collection<? extends ITaskInstance> getManualTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the manual task instances of a workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getManualTaskInstancesByStatus
Collection<? extends ITaskInstance> getManualTaskInstancesByStatus(IContext context, int status) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the manual task instances for a status.- Parameters:
context- The execution context.status- TheIWorkflowInstance.IStatusstatus.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getManualTaskInstancesModifiedSince
Collection<? extends ITaskInstance> getManualTaskInstancesModifiedSince(IContext context, Date date) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the manual task instances modified since.- Parameters:
context- The execution context.date- The date.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getStartedTaskInstances
Collection<? extends ITaskInstance> getStartedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the started task instances of a workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getEndedTaskInstances
Collection<? extends ITaskInstance> getEndedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the ended task instances of a workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getAbortedTaskInstances
Collection<? extends ITaskInstance> getAbortedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the aborted task instances of a workflow instance.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.- Returns:
- a collection of
ITaskInstance - Throws:
WorkflowModuleException- default module exception.
-
getTaskInstance
ITaskInstance getTaskInstance(IContext context, IWorkflowInstance instance, String name) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets the started task instance associated with a specified task name.- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.name- The system name of aITaskobject.- Returns:
- a
ITaskInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getOneTaskInstance
ITaskInstance getOneTaskInstance(IContext context, IWorkflowInstance instance) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets one of the task instances (any).- Parameters:
context- The execution context.instance- TheIWorkflowInstanceobject.- Returns:
- a
ITaskInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getTask
Deprecated, for removal: This API element is subject to removal in a future version.Gets the definition of a task instance.- Parameters:
instance- TheITaskInstanceobject.- Returns:
- a
ITaskobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperators
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the operators of a task instance.- Parameters:
instance- theITaskInstanceobject.- Returns:
- a collection of
IOperatorobjects. - Throws:
WorkflowModuleException- default module exception.
-
end
void end(IContext context, ITaskInstance instance, IAction action, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Crosses a transition.- Parameters:
context- The execution context.instance- TheITaskInstanceobject.action- TheIActionto use to cross the transition.comment- The comment which will be displayed in the history entries.- Throws:
WorkflowModuleException- default module exception.
-
end
void end(IContext context, IUser addressee, ITaskInstance instance, IAction action, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to cross a transition for another user.- Parameters:
context- The execution context.addressee- TheIUserfor whom to cross the transition.instance- TheITaskInstanceobject.action- TheIActionobject.comment- The comment which will be displayed in the history entries.- Throws:
WorkflowModuleException- default module exception.
-
send
@Deprecated void send(IContext context, ITaskInstance instance, IMailForm form, String comment) throws WorkflowModuleException Deprecated.use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Sends a mail using a specified mail form.- Parameters:
context- The execution context.instance- TheITaskInstanceobject.form- TheIMailFormobject.comment- The comment which will be displayed in the history entries.- Throws:
WorkflowModuleException- default module exception.
-
send
@Deprecated void send(IContext context, IUser addressee, ITaskInstance instance, IMailForm form, String comment) throws WorkflowModuleException Deprecated.use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Sends a mail using a specified mail form.- Parameters:
context- The execution context.addressee-instance- TheITaskInstanceobject.form- TheIMailFormobject.comment- The comment which will be displayed in the history entries.- Throws:
WorkflowModuleException- default module exception. default module exception.
-
evaluatedHtml
@Deprecated String evaluatedHtml(IResource resource, IMailForm mailForm) throws WorkflowModuleException Deprecated.: use buildMailMessage( IResource resource, IMailForm mailForm, String language )Evaluates the form and returns the HTML content as a java.lang.String object.- Parameters:
resource- TheIResourceobject to evaluate with.mailForm- TheIMailFormobject.- Returns:
- A java.lang.String object.
- Throws:
WorkflowModuleException- default module exception. default module exception.
-
buildMailMessage
String buildMailMessage(IResource resource, IMailForm mailForm, String language) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the form and returns the HTML content as a java.lang.String object.- Parameters:
resource- TheIResourceobject to evaluate with.mailForm- TheIMailFormobject.language- the mail language.- Returns:
- A java.lang.String object.
- Throws:
WorkflowModuleException- default module exception. default module exception.
-
evaluatedHtml
@Deprecated String evaluatedHtml(ITaskInstance taskInstance, IMailForm mailForm) throws WorkflowModuleException Deprecated.: use buildMailMessage( ITaskInstance taskInstance, IMailForm mailForm, String language )Evaluates the form and returns the HTML content as a java.lang.String object.- Parameters:
taskInstance- TheITaskInstanceobject to evaluate with.mailForm- TheIMailFormobject.- Returns:
- A java.lang.String object.
- Throws:
WorkflowModuleException- default module exception. default module exception.
-
buildMailMessage
String buildMailMessage(ITaskInstance taskInstance, IMailForm mailForm, String language) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the form and returns the HTML content as a java.lang.String object.- Parameters:
taskInstance- TheITaskInstanceobject to evaluate with.mailForm- TheIMailFormobject.language- the mail language.- Returns:
- A java.lang.String object.
- Throws:
WorkflowModuleException- default module exception. default module exception.
-
send
@Deprecated void send(IContext context, IResource resource, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException Deprecated.use send( IContext context, IResource resource, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Sends a mail by specifying the subject and the content of the body.- Parameters:
context- The execution context.resource- TheIResourceobject to evaluate with.mailForm- TheIMailFormobject.entries- A collection ofIUser,IGroup,InternetAddressorStringobjects.subject- The subject of the mail.content- The content of the mail.- Throws:
WorkflowModuleException- default module exception. default module exception.
-
send
@Deprecated void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException Deprecated.use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collectioninvalid input: '<'? extends IUser> mail_to, String comment )Sends a mail by specifying the subject and the content of the body.- Parameters:
context- The execution context.taskInstance- TheITaskInstanceobject to evaluate with.mailForm- TheIMailFormobject.entries- A collection ofIUser,IGroup,InternetAddressorStringobjects.subject- The subject of the mail.content- The content of the mail.- Throws:
WorkflowModuleException- default module exception. default module exception.
-
send
void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<? extends IUser> mail_to, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sends a mail by specifying the subject and the content of the body.- Parameters:
context- The execution context.taskInstance- TheITaskInstanceobject to evaluate with.mailForm- TheIMailFormobject.mail_to- A collection ofIUser,IGroup,InternetAddressorStringobjects.comment- The comment which will be displayed in the history entries.- Throws:
WorkflowModuleException
-
send
void send(IContext context, IResource resource, IMailForm mailForm, Collection<? extends IUser> mail_to, String comment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sends a mail by specifying the subject and the content of the body.- Parameters:
context- The execution context.resource- TheIResourceobject to evaluate with.mailForm- TheIMailFormobject.mail_to- A collection ofIUser,IGroup,InternetAddressorStringobjects.comment- The comment which will be displayed in the history entries.- Throws:
WorkflowModuleException
-
getForm
Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow form by its name.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.formName- The name of the form.- Returns:
- a
IFormobject. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getForm
IForm getForm(IContext context, IResourceDefinition resourceDefinition, String formName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource definition form by its name.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.formName- The name of the form.- Returns:
- a
IFormobject. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getForm
Deprecated, for removal: This API element is subject to removal in a future version.Gets a task form by its name.- Parameters:
context- The execution context.task- TheITaskobject.formName- The name of the form.- Returns:
- a
IFormobject. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getForm
Deprecated, for removal: This API element is subject to removal in a future version.Gets a action form by its name.- Parameters:
context- The execution context.action- TheIActionobject.formName- The name of the form.- Returns:
- a
IFormobject. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getSubForm
IForm getSubForm(IContext context, IWorkflow workflow, String formName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a sub form by its name.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.formName- The name of the form.- Returns:
- a
IFormobject. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getMailForms
Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the mail forms from a specifiedIWorkflowobject.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.- Returns:
- A collection of
IMailFormobjects. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getMailForm
IMailForm getMailForm(IContext context, IWorkflow workflow, String mailFormName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.mailFormName- The name of the form.- Returns:
- a
IMailFormobject. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
getMailForms
Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow, String startsWith) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.workflow- TheIWorkflowobject.startsWith- The start part of the form name.- Returns:
- A collection of
IMailFormobjects. - Throws:
WorkflowModuleException- default module exception. default module exception.
-
createGenericResource
Deprecated, for removal: This API element is subject to removal in a future version.Creates a generic resource for mail purposes.- Returns:
- The
IResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
createLinkedResource
ILinkedResource createLinkedResource(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates 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 );
- Parameters:
resource- The parent resource.propertyName- The system name of the property.- Returns:
- The
ILinkedResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
getLinkedResources
Collection<? extends ILinkedResource> getLinkedResources(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the linked resources associated with a table property.- Parameters:
resource- The parent resource.propertyName- The system name of the property.- Returns:
- A collection of
ILinkedResourceobjects. - Throws:
WorkflowModuleException- default module exception.
-
getParentInstance
Deprecated, for removal: This API element is subject to removal in a future version.Gets the parent instance of a linked resource.- Parameters:
linkedResource- The linked resource.- Returns:
- The
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getAttachments
Collection<? extends IAttachment> getAttachments(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets all the attachments associated with a property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A collection of
IAttachmentobjects. - Throws:
WorkflowModuleException- default module exception.
-
getAttachment
IAttachment getAttachment(IResource resource, String propertyName, String fileName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets an attachment by its file name.- 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.
-
addAttachment
IAttachment addAttachment(IResource resource, String propertyName, File file) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment as a java.io.File object.- Parameters:
resource- The main resource object.propertyName- The system name of the property.file- TheFileobject.- Returns:
- An
IAttachmentobject. - Throws:
WorkflowModuleException- default module exception.
-
addAttachment
IAttachment addAttachment(IResource resource, String propertyName, String fileName, InputStream inputStream) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment as an java.io.InputStream object.- Parameters:
resource- The main resource object.propertyName- The system name of the property.fileName- The name of the fileinputStream- TheInputStreamobject.- Returns:
- An
IAttachmentobject. - Throws:
WorkflowModuleException- default module exception.
-
addAttachment
IAttachment addAttachment(IResource resource, String propertyName, String fileName, String fullPath) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment with its full path.- Parameters:
resource- The main resource object.propertyName- The system name of the property.fileName- The name of the filefullPath- The full path of the file to add.- Returns:
- An
IAttachmentobject. - Throws:
WorkflowModuleException- default module exception.
-
addAttachment
IAttachment addAttachment(IResource resource, String propertyName, IAttachment attachment) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Adds an attachment from an attachment.- Parameters:
resource- The main resource object.propertyName- The system name of the property.attachment- TheIAttachmentto add.- Returns:
- An
IAttachmentobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalUser
Deprecated, for removal: This API element is subject to removal in a future version.Gets aIUserobject from a single user selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
IUserobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalGroup
Deprecated, for removal: This API element is subject to removal in a future version.Gets aIGroupobject from a single group selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
IGroupobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalLocalization
ILocalization getExternalLocalization(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets aILocalizationobject from a single localization selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
ILocalizationobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalOrganization
IOrganization getExternalOrganization(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets aIOrganizationobject from a single organization selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
IOrganizationobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalFile
Deprecated, for removal: This API element is subject to removal in a future version.Gets aIFileobject from a single file selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
IFileobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalFolder
Deprecated, for removal: This API element is subject to removal in a future version.Gets aIFolderobject from a single folder selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
IFolderobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalLibrary
Deprecated, for removal: This API element is subject to removal in a future version.Gets aILibraryobject from a single library selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A
ILibraryobject. - Throws:
WorkflowModuleException- default module exception.
-
getExternalElements
Collection<?> getExternalElements(IResource resource, String propertyName) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection ofIElementobjects from a multiple selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.- Returns:
- A collection of
IElementobjects. - Throws:
WorkflowModuleException- default module exception.
-
setExternalUser
void setExternalUser(IResource resource, String propertyName, IUser user) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aIUserto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.user- AIUserobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalGroup
void setExternalGroup(IResource resource, String propertyName, IGroup group) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aIGroupto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.group- AIGroupobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalLocalization
void setExternalLocalization(IResource resource, String propertyName, ILocalization localization) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aILocalizationto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.localization- AILocalizationobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalOrganization
void setExternalOrganization(IResource resource, String propertyName, IOrganization organization) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aIOrganizationto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.organization- AIOrganizationobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalFile
void setExternalFile(IResource resource, String propertyName, IFile file) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aIFileto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.file- AIFileobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalFolder
void setExternalFolder(IResource resource, String propertyName, IFolder folder) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aIFolderto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.folder- AIFolderobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalLibrary
void setExternalLibrary(IResource resource, String propertyName, ILibrary library) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aILibraryto a single selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.library- AILibraryobject.- Throws:
WorkflowModuleException- default module exception.
-
setExternalElements
void setExternalElements(IResource resource, String propertyName, Collection<?> elements) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets aIElementto a multiple selector property.- Parameters:
resource- The main resource object.propertyName- The system name of the property.elements- A collection ofIElementobjects.- Throws:
WorkflowModuleException- default module exception.
-
getSearchController
Deprecated, for removal: This API element is subject to removal in a future version.Gets the defaultISearchControllerobject.- Returns:
- The default
ISearchControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getSearchController
@Deprecated ISearchController getSearchController(IJdbcReference reference) throws WorkflowModuleException Deprecated.use getSearchController( IConnectionDefinition connectionDefinition ) method instead.Gets a search controller object by specifying a JDBC external reference.- Parameters:
reference- TheIJdbcReferenceobject.- Returns:
- The
ISearchControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getSearchController
ISearchController getSearchController(IConnectionDefinition connectionDefinition) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying a ConnectionDefinition object.- Parameters:
connectionDefinition- TheIConnectionDefinitionobject.- Returns:
- The
ISearchControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getSearchController
ISearchController getSearchController(IDataSourceReference reference) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying an external data source.- Parameters:
reference- TheIDataSourceReferenceobject.- Returns:
- The
ISearchControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getSecurityController
ISecurityController getSecurityController(ISecuritySupport securitySupport) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a security controller on a specified object.- Parameters:
securitySupport- Any IElement that implements ISecuritySupport interface.- Returns:
- The
ISecurityControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a transformer to transformIResourceobject.- Returns:
- A
ITransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getTaskInstanceTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a task transformer to transformITaskInstanceobject.- Returns:
- A
ITaskInstanceTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getTaskViewTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a task view transformer to transformITaskInstanceobjects.- Returns:
- A
ITaskViewTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getResourceViewTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource view transformer to transformIResourceobjects.- Returns:
- A
IResourceViewTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowViewTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow view transformer to transformIWorkflowobjects.- Returns:
- A
IWorkflowViewTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowContainerViewTransformer
IWorkflowContainerViewTransformer getWorkflowContainerViewTransformer() throws WorkflowModuleExceptionDeprecated, for removal: This API element is subject to removal in a future version.Gets a workflow container view transformer to transformIWorkflowContainerobjects.- Returns:
- A
IWorkflowContainerViewTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalogViewTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a catalog view transformer to transformICatalogobjects.- Returns:
- A
ICatalogViewTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getSearchViewTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a search view transformer to transformIResourceobjects.- Returns:
- A
ISearchViewTransformerobject. - Throws:
WorkflowModuleException- default module exception.
-
getGenericViewTransformer
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
WorkflowModuleException
-
getViewController
Deprecated.Gets a view controller to searchIResourceobjects through their properties.- Returns:
- A
IViewControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getViewController
Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
context- The execution context.- Returns:
- A
IViewControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getViewController
Deprecated.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
natureClass- : The class of the searched objectsIWorkflowInstance,ITaskInstance,IResource}- Returns:
- A
IViewControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getViewController
IViewController getViewController(IContext context, Class natureClass) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
context- The execution context.natureClass- : The class of the searched objectsIWorkflowInstance,ITaskInstance,IResource}- Returns:
- A
IViewControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getViewController
@Deprecated IViewController getViewController(IProject project, InputStream inputStream) throws WorkflowModuleException Deprecated.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
project- The current projectinputStream- The java.io.InputStream XML entry.- Returns:
- A
IViewControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getViewController
IViewController getViewController(IContext context, IProject project, InputStream inputStream) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
context- The execution context.project- The current projectinputStream- The java.io.InputStream XML entry.- Returns:
- A
IViewControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getDelegationController
Deprecated, for removal: This API element is subject to removal in a future version.Gets a delegation controller to delegateIDelegationSupportobjects.- Returns:
- A
IDelegationControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getArchivingController
Deprecated, for removal: This API element is subject to removal in a future version.Gets a archiving controller to archiveIElementobjects.- Returns:
- A
IArchivingControllerobject. - Throws:
WorkflowModuleException- default module exception.
-
getUserByLogin
Deprecated, for removal: This API element is subject to removal in a future version.Gets a user by its login- Parameters:
login- The login of the user- Returns:
- A
IUserobject. - Throws:
WorkflowModuleException- default module exception.
-
getGroupByName
Deprecated.use the IDirectoryModule instead.Gets a group by its name- Parameters:
name- The system name of the group.- Returns:
- A
IGroupobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstance
Deprecated, for removal: This API element is subject to removal in a future version.Gets aIWorkflowInstanceobject from an object.- Parameters:
object- Any of the following values:com.axemble.vdp.treatment.interfaces.Treatment
- Returns:
- A
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getResource
Deprecated, for removal: This API element is subject to removal in a future version.Gets aIResourceobject from an object.- Parameters:
object- 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.
-
getCatalog
Deprecated, for removal: This API element is subject to removal in a future version.Gets a catalog object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getUser
Deprecated, for removal: This API element is subject to removal in a future version.Gets a user object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IUserobject. - Throws:
WorkflowModuleException- default module exception.
-
getRole
Deprecated.use getOperatorRole or getProfileGets a role object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperatorRole
Deprecated, for removal: This API element is subject to removal in a future version.Gets a role object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IOperatorRoleobject. - Throws:
WorkflowModuleException- default module exception.
-
getProfile
Deprecated, for removal: This API element is subject to removal in a future version.Gets a role object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IProfileobject. - Throws:
ModuleException- default module exception.
-
getWorkflowContainer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow container object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IWorkflowContainerobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflow
Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IWorkflowobject. - Throws:
WorkflowModuleException- default module exception.
-
getTask
Deprecated, for removal: This API element is subject to removal in a future version.Gets a task object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
ITaskobject. - Throws:
WorkflowModuleException- default module exception.
-
getAction
Deprecated, for removal: This API element is subject to removal in a future version.Gets an action object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IActionobject. - Throws:
WorkflowModuleException- default module exception.
-
getResourceDefinition
Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource definition object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IResourceDefinitionobject. - Throws:
WorkflowModuleException- default module exception.
-
getProperty
Deprecated, for removal: This API element is subject to removal in a future version.Gets a property object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IPropertyobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstance
Deprecated, for removal: This API element is subject to removal in a future version.Gets a workflow instance object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getTaskInstance
Deprecated, for removal: This API element is subject to removal in a future version.Gets a task instance object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
ITaskInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperator
Deprecated, for removal: This API element is subject to removal in a future version.Gets an operator object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IOperatorobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperatorByLogin
Deprecated, for removal: This API element is subject to removal in a future version.Gets anIOperatorfrom a user login.- Parameters:
login- The user login- Returns:
- A
IOperatorobject. - Throws:
WorkflowModuleException- default module exception.
-
getResource
Deprecated, for removal: This API element is subject to removal in a future version.Gets a resource object from its identifier.- Parameters:
key- AIStorageKeyobject.- Returns:
- A
IResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
getCatalog
Deprecated, for removal: This API element is subject to removal in a future version.Gets aICatalogobject from a resource definitino.- Parameters:
resourceDefinition- A resource definition.- Returns:
- A
ICatalogobject. - Throws:
WorkflowModuleException- default module exception.
-
getUser
Deprecated.Use getUser(IStorageKeykey ) method instead.Gets aIUserobject from its string identifier.- Parameters:
id- A string identifier.- Returns:
- A
IUserobject. - Throws:
WorkflowModuleException- default module exception.
-
getWorkflowInstance
Deprecated.Use getWorkflowInstance(IStorageKeykey ) method instead.Gets aIWorkflowInstanceobject from its string identifier.- Parameters:
id- A string identifier.- Returns:
- A
IWorkflowInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getTaskInstance
Deprecated.Use getTaskInstance(IStorageKeykey ) method instead.Gets aITaskInstanceobject from its string identifier.- Parameters:
id- A string identifier.- Returns:
- A
ITaskInstanceobject. - Throws:
WorkflowModuleException- default module exception.
-
getOperator
Deprecated.Use getOperator(IStorageKeykey ) method instead.Gets aIOperatorobject from its string identifier.- Parameters:
id- A string identifier.- Returns:
- A
IOperatorobject. - Throws:
WorkflowModuleException- default module exception.
-
getResource
Deprecated.Use getResource(IStorageKeykey ) method instead.Gets aIResourceobject from its string identifier.- Parameters:
id- A string identifier.- Returns:
- A
IResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
getResources
Collection<? extends IResource> getResources(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection ofIResourceobjects from a resource definition.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.- Returns:
- a Collection of
IResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
getResources
Collection<? extends IResource> getResources(IContext context, ICatalog catalog) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a collection ofIResourceobjects from a catalog- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- a Collection of
IResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
findStorageResourceByReference
IStorageResource findStorageResourceByReference(IContext context, IResourceDefinition resourceDefinition, String reference) Deprecated, for removal: This API element is subject to removal in a future version.Find a storage resource object by specifying theIResourceDefinitionobject, its reference.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.reference- The reference to set.- Returns:
- a
IStorageResourceobject or null.
-
createStorageResource
IStorageResource createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference, String label) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a storage resource object by specifying theIResourceDefinitionobject, its reference, and its label.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.reference- The reference to set.label- The label to set.- Returns:
- a
IStorageResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
createStorageResource
IStorageResource createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference) throws WorkflowModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a storage resource object by specifying theIResourceDefinitionobject, its reference.- Parameters:
context- The execution context.resourceDefinition- TheIResourceDefinitionobject.reference- The reference to set.- Returns:
- a
IStorageResourceobject. - Throws:
WorkflowModuleException- default module exception.
-
getElementByProtocolURI
Deprecated, for removal: This API element is subject to removal in a future version.Gets anIElementobject which implementsIProtocolSupportinterface.- Parameters:
protocolURI- The protocol URI as a java.lang.String.- Returns:
- A
IProtocolSupportobject. - Throws:
ModuleException- default module exception.
-
setDynamicLocalizationsWrapperMessageForLanguage
IDynamicLocalizationsWrapper setDynamicLocalizationsWrapperMessageForLanguage(IContext context, IDynamicLocalizationsWrapper dynamicLocalizationsWrapper, ICatalog catalog, String language, String message) throws ModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogobject.language- The languagemessage- The message- Returns:
- A
IDynamicLocalizationsWrapperobject. - Throws:
ModuleException
-
createDynamicLocalizationsWrapper
IDynamicLocalizationsWrapper createDynamicLocalizationsWrapper(IContext context, ICatalog catalog) throws ModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a dynamicLocalizationsWrapper object by specifying the parentICatalogobject.- Parameters:
context- The execution context.catalog- TheICatalogobject.- Returns:
- A
IDynamicLocalizationsWrapperobject. - Throws:
ModuleException
-
hasDiscussionThread
Deprecated, for removal: This API element is subject to removal in a future version.Allows knowing if an IWorkflowInstance has a discussion thread or not- Parameters:
context- the contextiWorkflowInstance- theIWorkflowInstance- Returns:
- true if IWorkflowInstance has a discussion thread otherwise false
-
getDiscussionMessagesOrderByCreationDateDesc
Collection<IWorkflowInstanceDiscussionMessage> getDiscussionMessagesOrderByCreationDateDesc(IContext context, IWorkflowInstance workflowInstance) Deprecated, for removal: This API element is subject to removal in a future version.Retrieve IWorkflowInstance's message- Parameters:
context- the contextworkflowInstance- the workflowInstance- Returns:
- the
IWorkflowInstanceDiscussionMessagecollection
-
canModifyDiscussionMessage
DiscussionAccessCheckResult canModifyDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Deprecated, for removal: This API element is subject to removal in a future version.Allows knowing if an IDiscussionMessage can be modified in the current IContext or not- Parameters:
context- the contextiDiscussionMessage- theIDiscussionMessage- Returns:
- the
DiscussionAccessCheckResultenum value result
-
canDeleteDiscussionMessage
DiscussionAccessCheckResult canDeleteDiscussionMessage(IContext context, IDiscussionMessage iDiscussionMessage) Deprecated, for removal: This API element is subject to removal in a future version.Allows knowing if an IDiscussionMessage can be deleted in the current IContext or not- Parameters:
context- the contextiDiscussionMessage- theIDiscussionMessage- Returns:
- the
DiscussionAccessCheckResultenum value result
-
deleteDiscussionMessage
void deleteDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, IWorkflowInstance iWorkflowInstance) Deprecated, for removal: This API element is subject to removal in a future version.Delete an IWorkflowInstanceDiscussionMessage for an IWorkflowInstance. It is necessary to save the IWorkflowInstance after calling this method.- Parameters:
context- the contextiWorkflowInstanceDiscussionMessage- the iWorkflowInstanceDiscussionMessageiWorkflowInstance- the theIWorkflowInstance
-
createDiscussionMessage
IWorkflowInstanceDiscussionMessage createDiscussionMessage(IContext context, IWorkflowInstance iWorkflowInstance, String content, Collection<IAttachment> attachments, String visibility, Collection<IUser> recipients, IOrganization visibilityOrganization) Deprecated, for removal: This API element is subject to removal in a future version.Create 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).
- Parameters:
context- the contextiWorkflowInstance- theIWorkflowInstancecontent- The contentattachments- the collection ofIAttachmentvisibility- the visibility string coderecipients- the collection ofIUserrecipients for visibility mode VisibilityMode SENDER_AND_RECIPIENTS or nullvisibilityOrganization- theIOrganizationfor visibility mode VisibilityMode SENDER_AND_ORGANIZATION or null- Returns:
- the new
IWorkflowInstanceDiscussionMessage
-
updateDiscussionMessage
void updateDiscussionMessage(IContext context, IWorkflowInstanceDiscussionMessage iWorkflowInstanceDiscussionMessage, String content, Collection<IAttachment> attachments) Deprecated, for removal: This API element is subject to removal in a future version.Update content and/or attachments of a message.- Parameters:
context- the contextiWorkflowInstanceDiscussionMessage- the iWorkflowInstanceDiscussionMessagecontent- the contentattachments- the collection ofIAttachment
-