public interface IBaseWorkflowModule extends IModule
Code sample :
// creation of a workflow module object
IBaseWorkflowModule workflowModule = Modules.getWorkflowModule();
try
{
}
finally
{
// uninitialize the module
Modules.releaseModule(workflowModule);
}
Modifier and Type | Method and Description |
---|---|
void |
abort(IContext context,
IWorkflowInstance instance,
String comment)
Allows to abort workflow instance.
|
IAttachment |
addAttachment(IResource resource,
String propertyName,
File file)
Adds an attachment as a java.io.File object.
|
IAttachment |
addAttachment(IResource resource,
String propertyName,
IAttachment attachment)
Adds an attachment from an attachment.
|
IAttachment |
addAttachment(IResource resource,
String propertyName,
String fileName,
InputStream inputStream)
Adds an attachment as an java.io.InputStream object.
|
IAttachment |
addAttachment(IResource resource,
String propertyName,
String fileName,
String fullPath)
Adds an attachment with its full path.
|
void |
addChild(IGroup group,
IRole role)
Adds a group to a role.
|
void |
addMember(IUser user,
IRole role)
Adds a user to a role.
|
String |
buildMailMessage(IResource resource,
IMailForm mailForm,
String language)
Evaluates the form and returns the HTML content as a java.lang.String object.
|
String |
buildMailMessage(ITaskInstance taskInstance,
IMailForm mailForm,
String language)
Evaluates the form and returns the HTML content as a java.lang.String object.
|
ICatalog |
createCatalog(IContext context,
String name,
String label)
Deprecated.
: use createCatalog( IContext context, String name, String label, IProject project )
|
ICatalog |
createCatalog(IContext context,
String name,
String label,
IProject project)
Allows to create a new catalog.
|
IDynamicLocalizationsWrapper |
createDynamicLocalizationsWrapper(IContext context,
ICatalog catalog)
Creates a dynamicLocalizationsWrapper object by specifying the parent
ICatalog object. |
IResource |
createGenericResource()
Creates a generic resource for mail purposes.
|
ILinkedResource |
createLinkedResource(IResource resource,
String propertyName)
Creates a linked resource into a specified property table.
|
IOptionList.IOption |
createListOption(Object key,
String text) |
IOperatorRole |
createOperatorRole(IContext context,
ICatalog catalog,
String name)
Creates a
IOperatorRole into the catalog object. |
IProfile |
createProfile(IContext context,
IProtocolSupport link,
String name)
Creates a
IProfile . |
IRole |
createRole(IContext context,
ICatalog catalog,
String name)
Deprecated.
: use createOperatorRole or createProfile
|
IStorageResource |
createStorageResource(IContext context,
IResourceDefinition resourceDefinition,
String reference)
Creates a storage resource object by specifying the
IResourceDefinition object, its reference. |
IStorageResource |
createStorageResource(IContext context,
IResourceDefinition resourceDefinition,
String reference,
String label)
Creates a storage resource object by specifying the
IResourceDefinition object, its reference, and its label. |
IWorkflow |
createWorkflow(IContext context,
IWorkflowContainer container,
String name,
byte[] content)
Creates a workflow within a workflow container.
|
IWorkflowContainer |
createWorkflowContainer(IContext context,
ICatalog catalog,
String name)
Creates a workflow container within a
ICatalog object. |
IWorkflowInstance |
createWorkflowInstance(IContext context,
IWorkflow workflow,
String reference)
Creates a workflow instance object by specifying the
IWorkflow object, its reference. |
IWorkflowInstance |
createWorkflowInstance(IContext context,
IWorkflow workflow,
String reference,
String label)
Creates a workflow instance object by specifying the
IWorkflow object, its reference, and its label. |
void |
end(IContext context,
ITaskInstance instance,
IAction action,
String comment)
Crosses a transition.
|
void |
end(IContext context,
IUser addressee,
ITaskInstance instance,
IAction action,
String comment)
Allows to cross a transition for another user.
|
String |
evaluatedHtml(IResource resource,
IMailForm mailForm)
Deprecated.
: use buildMailMessage( IResource resource, IMailForm mailForm, String language )
|
String |
evaluatedHtml(ITaskInstance taskInstance,
IMailForm mailForm)
Deprecated.
: use buildMailMessage( ITaskInstance taskInstance, IMailForm mailForm, String language )
|
void |
execute(IAgent agent)
Allows to execute an agent.
|
void |
execute(IContext context,
IAgent agent)
Allows to execute an agent.
|
int |
generateChrono(IResourceDefinition resourceDefinition)
Deprecated.
: should not use this method anymore.
|
String |
generateReference(IResource resource)
Evaluate the next reference based on the format specified on the Designer tool.
|
String |
generateReference(IResourceDefinition resourceDefinition)
Evaluate the next reference based on the format specified on the Designer tool.
|
String |
generateReference(IResourceDefinition resourceDefinition,
String format)
Deprecated.
: should not use this method anymore. The format argument is not supported.
|
String |
generateReference(IResource resource,
Document format)
Evaluate the next reference based specified format.
|
String |
generateReference(IResource resource,
String format)
Deprecated.
: should not use this method anymore. The format argument is not supported.
|
Collection<? extends ITaskInstance> |
getAbortedTaskInstances(IContext context,
IWorkflowInstance instance)
Retrieves all the aborted task instances of a workflow instance.
|
IAction |
getAction(IContext context,
ITask task,
String name)
Retrieve a specific
IAction object from its system name. |
IAction |
getAction(IStorageKey key)
Gets an action object from its identifier.
|
Collection<? extends IAction> |
getActions(IContext context,
ITask task)
|
IAgent |
getAgent(IContext context,
String name)
Gets an agent from its name.
|
Collection<? extends ICatalog> |
getAllCatalogs(IContext context)
Retrieves a collection of
ICatalog object. |
IArchivingController |
getArchivingController()
Gets a archiving controller to archive
IElement objects. |
IAttachment |
getAttachment(IResource resource,
String propertyName,
String fileName)
Gets an attachment by its file name.
|
Collection<? extends IAttachment> |
getAttachments(IResource resource,
String propertyName)
Gets all the attachments associated with a property.
|
ICatalog |
getCatalog(IContext context,
String name)
Deprecated.
: use getCatalog( IContext context, String name, IProject project )
|
ICatalog |
getCatalog(IContext context,
String name,
int catalogType)
Deprecated.
: use getCatalog( IContext context, String name, int catalogType, IProject project )
|
ICatalog |
getCatalog(IContext context,
String name,
int catalogType,
IProject project)
Retrieves a catalog form its name.
|
ICatalog |
getCatalog(IContext context,
String name,
IProject project)
Retrieves a catalog form its name.
|
ICatalog |
getCatalog(IResourceDefinition resourceDefinition)
Gets a
ICatalog object from a resource definitino. |
ICatalog |
getCatalog(IStorageKey key)
Gets a catalog object from its identifier.
|
ICatalog |
getCatalog(IWorkflow workflow)
Retrieves the catalog of a
IWorkflow object. |
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)
Retrieves a collection of
ICatalog object. |
Collection<? extends ICatalog> |
getCatalogs(IContext context,
IProject project)
Retrieves a collection of
ICatalog object. |
ICatalogViewTransformer |
getCatalogViewTransformer()
Gets a catalog view transformer to transform
ICatalog objects. |
IConfiguration |
getConfiguration()
Gets the global configuration.
|
IDataSourceReference |
getDataSourceReference(String name)
Gets a data source reference from its JNDI name.
|
IDataSourceReference |
getDefaultDataSourceReference()
Gets the default data source reference.
|
IDelegationController |
getDelegationController()
Gets a delegation controller to delegate
IDelegationSupport objects. |
IProtocolSupport |
getElementByProtocolURI(String protocolURI)
Gets an
IElement object which implements IProtocolSupport interface. |
Collection<? extends ITaskInstance> |
getEndedTaskInstances(IContext context,
IWorkflowInstance instance)
Retrieves all the ended task instances of a workflow instance.
|
Collection<?> |
getExternalElements(IResource resource,
String propertyName)
Gets a collection of
IElement objects from a multiple selector property. |
IFile |
getExternalFile(IResource resource,
String propertyName)
Gets a
IFile object from a single file selector property. |
IFolder |
getExternalFolder(IResource resource,
String propertyName)
Gets a
IFolder object from a single folder selector property. |
IGroup |
getExternalGroup(IResource resource,
String propertyName)
Gets a
IGroup object from a single group selector property. |
ILibrary |
getExternalLibrary(IResource resource,
String propertyName)
Gets a
ILibrary object from a single library selector property. |
ILocalization |
getExternalLocalization(IResource resource,
String propertyName)
Gets a
ILocalization object from a single localization selector property. |
IOrganization |
getExternalOrganization(IResource resource,
String propertyName)
Gets a
IOrganization object from a single organization selector property. |
IUser |
getExternalUser(IResource resource,
String propertyName)
Gets a
IUser object from a single user selector property. |
IForm |
getForm(IContext context,
IAction action,
String formName)
Gets a action form by its name.
|
IForm |
getForm(IContext context,
IResourceDefinition resourceDefinition,
String formName)
Gets a resource definition form by its name.
|
IForm |
getForm(IContext context,
ITask task,
String formName)
Gets a task form by its name.
|
IForm |
getForm(IContext context,
IWorkflow workflow,
String formName)
Gets a workflow form by its name.
|
IGenericViewTransformer |
getGenericViewTransformer() |
IGroup |
getGroupByName(String name)
Deprecated.
use the IDirectoryModule instead.
|
IJdbcReference |
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)
Gets all the linked resources associated with a table property.
|
IList |
getList(IContext context,
ICatalog catalog,
String name)
Gets a list object from a catalog by its name.
|
Collection<? extends IOptionList.IOption> |
getList(IResource resource,
String propertyName)
Gets the available values of a list property.
|
Collection<? extends IList> |
getLists(IContext context,
ICatalog catalog)
Gets a collection of a the lists available on a specified
ICatalog object. |
IMailForm |
getMailForm(IContext context,
IWorkflow workflow,
String mailFormName) |
Collection<? extends IMailForm> |
getMailForms(IContext context,
IWorkflow workflow)
Gets all the mail forms from a specified
IWorkflow object. |
Collection<? extends IMailForm> |
getMailForms(IContext context,
IWorkflow workflow,
String startsWith) |
Collection<? extends ITaskInstance> |
getManualTaskInstances(IContext context,
IWorkflowInstance instance)
Retrieves all the manual task instances of a workflow instance.
|
Collection<? extends ITaskInstance> |
getManualTaskInstancesByStatus(IContext context,
int status)
Retrieves all the manual task instances for a status.
|
Collection<? extends ITaskInstance> |
getManualTaskInstancesModifiedSince(IContext context,
Date date)
Retrieves all the manual task instances modified since.
|
ITaskInstance |
getOneTaskInstance(IContext context,
IWorkflowInstance instance)
Gets one of the task instances (any).
|
IOperator |
getOperator(IStorageKey key)
Gets an operator object from its identifier.
|
IOperator |
getOperator(String id)
Deprecated.
Use getOperator(
IStorageKey key ) method instead. |
IOperator |
getOperatorByLogin(String login)
Gets an
IOperator from a user login. |
IOperatorRole |
getOperatorRole(IContext context,
ICatalog catalog,
String name)
Retrieves a
IOperatorRole object by its system name. |
IOperatorRole |
getOperatorRole(IStorageKey key)
Gets a role object from its identifier.
|
Collection<? extends IOperatorRole> |
getOperatorRoles(IContext context,
ICatalog catalog)
Retrieves a collection of
IOperatorRole objects within a specified catalog. |
Collection<? extends IOperator> |
getOperators(ITaskInstance instance)
Retrieves the operators of a task instance.
|
IWorkflowInstance |
getParentInstance(ILinkedResource linkedResource)
Gets the parent instance of a linked resource.
|
IWorkflowInstance |
getParentInstance(IWorkflowInstance instance)
Gets the parent instance of a specified
IWorkflowInstance object. |
IProfile |
getProfile(IContext context,
IProtocolSupport link,
String name)
Retrieves a
IProfile object by its system name. |
IProfile |
getProfile(IStorageKey key)
Gets a role object from its identifier.
|
Collection<? extends IProfile> |
getProfiles(IContext context,
IProtocolSupport link)
Retrieves a collection of
IProfile objects within a specified link. |
Collection<? extends IProperty> |
getProperties(IContext context,
IResourceDefinition resourceDefinition)
Gets all the properties of a specified definition.
|
IProperty |
getProperty(IContext context,
IResourceDefinition resourceDefinition,
String name)
Gets a property definition by specifying the
IResourceDefinition and its system name. |
IProperty |
getProperty(IStorageKey key)
Gets a property object from its identifier.
|
IResource |
getResource(IStorageKey key)
Gets a resource object from its identifier.
|
IResource |
getResource(Object object)
Gets a
IResource object from an object. |
IResource |
getResource(String id)
Deprecated.
Use getResource(
IStorageKey key ) method instead. |
IResourceDefinition |
getResourceDefinition(IContext context,
ICatalog catalog,
String name)
Retrieves a resource definition by specifying the
ICatalog and its system name. |
IResourceDefinition |
getResourceDefinition(IStorageKey key)
Gets a resource definition object from its identifier.
|
Collection<? extends IResourceDefinition> |
getResourceDefinitions(IContext context,
ICatalog catalog)
Retrieves all resource definitions by specifying the
ICatalog |
Collection<? extends IResource> |
getResources(IContext context,
ICatalog catalog)
Gets a collection of
IResource objects from a catalog |
Collection<? extends IResource> |
getResources(IContext context,
IResourceDefinition resourceDefinition)
Gets a collection of
IResource objects from a resource definition. |
IResourceViewTransformer |
getResourceViewTransformer()
Gets a resource view transformer to transform
IResource objects. |
IRole |
getRole(IContext context,
ICatalog catalog,
String name)
Deprecated.
: use getRole or getProfile
|
IRole |
getRole(IStorageKey key)
Deprecated.
use getOperatorRole or getProfile
|
Collection<? extends IRole> |
getRoles(IContext context,
ICatalog catalog)
Deprecated.
: use getRoles or getProfiles
|
ISearchController |
getSearchController()
Gets the default
ISearchController object. |
ISearchController |
getSearchController(IConnectionDefinition connectionDefinition)
Gets a search controller object by specifying a ConnectionDefinition object.
|
ISearchController |
getSearchController(IDataSourceReference reference)
Gets a search controller object by specifying an external data source.
|
ISearchController |
getSearchController(IJdbcReference reference)
Deprecated.
use getSearchController( IConnectionDefinition connectionDefinition ) method instead.
|
ISearchViewTransformer |
getSearchViewTransformer()
Gets a search view transformer to transform
IResource objects. |
ISecurityController |
getSecurityController(ISecuritySupport securitySupport)
Gets a security controller on a specified object.
|
Collection<? extends ITaskInstance> |
getStartedTaskInstances(IContext context,
IWorkflowInstance instance)
Retrieves all the started task instances of a workflow instance.
|
IForm |
getSubForm(IContext context,
IWorkflow workflow,
String formName)
Gets a sub form by its name.
|
ITask |
getTask(IContext context,
IWorkflow workflow,
String name)
Retrieves a specific task of a
IWorkflow object by its name. |
ITask |
getTask(IStorageKey key)
Gets a task object from its identifier.
|
ITask |
getTask(ITaskInstance instance)
Gets the definition of a task instance.
|
ITaskInstance |
getTaskInstance(IContext context,
IWorkflowInstance instance,
String name)
Gets the started task instance associated with a specified task name.
|
ITaskInstance |
getTaskInstance(IStorageKey key)
Gets a task instance object from its identifier.
|
ITaskInstance |
getTaskInstance(String id)
Deprecated.
Use getTaskInstance(
IStorageKey key ) method instead. |
Collection<? extends ITaskInstance> |
getTaskInstances(IContext context,
IWorkflowInstance instance)
Retrieves all the task instances of a specified workflow instance.
|
Collection<? extends ITaskInstance> |
getTaskInstances(IContext context,
IWorkflowInstance instance,
String name)
Retrieves all the task instances of a specified workflow instance filtered by the name of a
ITask . |
ITaskInstanceTransformer |
getTaskInstanceTransformer()
Gets a task transformer to transform
ITaskInstance object. |
ITaskViewTransformer |
getTaskViewTransformer()
Gets a task view transformer to transform
ITaskInstance objects. |
ITransformer |
getTransformer()
Gets a transformer to transform
IResource object. |
IUser |
getUser(IStorageKey key)
Gets a user object from its identifier.
|
IUser |
getUser(String id)
Deprecated.
Use getUser(
IStorageKey key ) method instead. |
IUser |
getUserByLogin(String login)
Gets a user by its login
|
Object |
getValue(IResource resource,
String propertyName)
Gets the value of a property.
|
IView |
getView(IContext context,
ICatalog catalog,
String viewName)
Retrieves a view by its name.
|
IView |
getView(IContext context,
IResourceDefinition resourceDefinition,
String viewName)
Retrieves a view by its name.
|
IView |
getView(IContext context,
IWorkflowContainer workflowContainer,
String viewName)
Retrieves a view by its name.
|
IViewController |
getViewController()
Deprecated.
|
IViewController |
getViewController(Class natureClass)
Deprecated.
|
IViewController |
getViewController(IContext context)
Gets a view controller to search
IResource objects through their properties. |
IViewController |
getViewController(IContext context,
Class natureClass)
Gets a view controller to search
IResource objects through their properties. |
IViewController |
getViewController(IContext context,
IProject project,
InputStream inputStream)
Gets a view controller to search
IResource objects through their properties. |
IViewController |
getViewController(IProject project,
InputStream inputStream)
Deprecated.
|
Collection<? extends IView> |
getViews(IContext context,
ICatalog catalog)
Retrieves all the views associated with the catalog.
|
Collection<? extends IView> |
getViews(IContext context,
IResourceDefinition resourceDefinition)
Retrieves all the views associated with the resource definition.
|
Collection<? extends IView> |
getViews(IContext context,
IWorkflowContainer workflowContainer)
Retrieves all the views associated with the workflow container.
|
IWorkflow |
getWorkflow(IContext context,
ICatalog catalog,
String name)
Retrieves a workflow within a
IWorkflow object and from its system name. |
IWorkflow |
getWorkflow(IContext context,
String name)
Deprecated.
: use getWorkflow( IContext context, ICatalog catalog, String name )
|
IWorkflow |
getWorkflow(IStorageKey key)
Gets a workflow object from its identifier.
|
IWorkflow |
getWorkflow(ITask task)
Gets the associated workflow of a task.
|
IWorkflowContainer |
getWorkflowContainer(IContext context,
ICatalog catalog,
String name)
Retrieves a
IWorkflowContainer within a ICatalog by its system name |
IWorkflowContainer |
getWorkflowContainer(IStorageKey key)
Gets a workflow container object from its identifier.
|
IWorkflowContainer |
getWorkflowContainer(IWorkflow workflow)
Retrieves the workflow container of a
IWorkflow object. |
Collection<? extends IWorkflowContainer> |
getWorkflowContainers(IContext context,
ICatalog catalog)
Retrieves a collection of
IWorkflowContainer objects within a ICatalog object. |
IWorkflowContainerViewTransformer |
getWorkflowContainerViewTransformer()
Gets a workflow container view transformer to transform
IWorkflowContainer objects. |
IWorkflowInstance |
getWorkflowInstance(IStorageKey key)
Gets a workflow instance object from its identifier.
|
IWorkflowInstance |
getWorkflowInstance(Object object)
Gets a
IWorkflowInstance object from an object. |
IWorkflowInstance |
getWorkflowInstance(String id)
Deprecated.
Use getWorkflowInstance(
IStorageKey key ) method instead. |
Collection<? extends IWorkflowInstance> |
getWorkflowInstances(IContext context,
ICatalog catalog)
Gets all the workflow instances of a specified
ICatalog object. |
Collection<? extends IWorkflowInstance> |
getWorkflowInstances(IContext context,
ICatalog catalog,
String reference)
Gets all the workflow instances with the same reference within a specified
ICatalog object. |
Collection<? extends IWorkflowInstance> |
getWorkflowInstances(IContext context,
ITask task)
Gets all the workflow instances of a specified
ITask object. |
Collection<? extends IWorkflowInstance> |
getWorkflowInstances(IContext context,
IWorkflow workflow)
Gets all the workflow instances of a specified
IWorkflow object. |
Collection<? extends IWorkflowInstance> |
getWorkflowInstances(IContext context,
IWorkflow workflow,
String reference)
Gets all the workflow instances with the same reference within a specified
IWorkflow object. |
Collection<? extends IWorkflow> |
getWorkflows(IContext context,
ICatalog catalog)
|
Collection<? extends IWorkflow> |
getWorkflows(IContext context,
IWorkflowContainer container)
Retrieves a collection of
IWorkflow objects within a IWorkflowContainer object. |
IWorkflowViewTransformer |
getWorkflowViewTransformer()
Gets a workflow view transformer to transform
IWorkflow objects. |
boolean |
isMemberOf(IUser user,
IRole role)
Checks if a specified user is member of a
IRole object. |
boolean |
isMemberOf(IUser user,
IRole role,
boolean recursive)
Checks if a specified user is member of a
IRole object. |
void |
remind(IContext context,
ITaskInstance taskInstance,
String comment)
Allows to remind current operators of a specified task instance.
|
void |
remind(IContext context,
IWorkflowInstance instance,
String comment)
Allows to remind current operators of a workflow instance.
|
void |
send(IContext context,
IResource resource,
IMailForm mailForm,
Collection<?> entries,
String subject,
String content)
Deprecated.
use send( IContext context, IResource resource, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
void |
send(IContext context,
IResource resource,
IMailForm mailForm,
Collection<? extends IUser> mail_to,
String comment)
Sends a mail by specifying the subject and the content of the body.
|
void |
send(IContext context,
ITaskInstance taskInstance,
IMailForm mailForm,
Collection<?> entries,
String subject,
String content)
Deprecated.
use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
void |
send(IContext context,
ITaskInstance taskInstance,
IMailForm mailForm,
Collection<? extends IUser> mail_to,
String comment)
Sends a mail by specifying the subject and the content of the body.
|
void |
send(IContext context,
ITaskInstance instance,
IMailForm form,
String comment)
Deprecated.
use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
void |
send(IContext context,
IUser addressee,
ITaskInstance instance,
IMailForm form,
String comment)
Deprecated.
use send( IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
void |
send(IContext context,
IWorkflowInstance workflowInstance,
String formName,
Collection<?> entries)
Deprecated.
use send( IContext context, IResource resource, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
void |
send(IContext context,
IWorkflow workflow,
IResource resource,
String formName,
Collection<?> entries)
Deprecated.
use send( IContext context, IResource resource, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
void |
send(IContext context,
IWorkflow workflow,
String formName,
Collection<?> entries)
Deprecated.
use send( IContext context, IResource resource, IMailForm mailForm, Collection extends IUser> mail_to, String comment )
|
IDynamicLocalizationsWrapper |
setDynamicLocalizationsWrapperMessageForLanguage(IContext context,
IDynamicLocalizationsWrapper dynamicLocalizationsWrapper,
ICatalog catalog,
String language,
String message)
Creates a dynamicLocalizationsWrapper object by specifying the parent
ICatalog object. |
void |
setExternalElements(IResource resource,
String propertyName,
Collection<?> elements)
Sets a
IElement to a multiple selector property. |
void |
setExternalFile(IResource resource,
String propertyName,
IFile file)
Sets a
IFile to a single selector property. |
void |
setExternalFolder(IResource resource,
String propertyName,
IFolder folder)
Sets a
IFolder to a single selector property. |
void |
setExternalGroup(IResource resource,
String propertyName,
IGroup group)
Sets a
IGroup to a single selector property. |
void |
setExternalLibrary(IResource resource,
String propertyName,
ILibrary library)
Sets a
ILibrary to a single selector property. |
void |
setExternalLocalization(IResource resource,
String propertyName,
ILocalization localization)
Sets a
ILocalization to a single selector property. |
void |
setExternalOrganization(IResource resource,
String propertyName,
IOrganization organization)
Sets a
IOrganization to a single selector property. |
void |
setExternalUser(IResource resource,
String propertyName,
IUser user)
Sets a
IUser to a single selector property. |
void |
setList(IResource resource,
String propertyName,
Collection<? extends IOptionList.IOption> values)
Sets the list of available values to a list property.
|
void |
setValue(IResource resource,
String propertyName,
Object value)
Sets a value to a property.
|
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
IConfiguration getConfiguration()
IConfiguration
object.IAgent getAgent(IContext context, String name) throws WorkflowModuleException
context
- The execution context.name
- The name of the agent.IAgent
object.WorkflowModuleException
- default module exception.void execute(IAgent agent) throws WorkflowModuleException
agent
- The IAgent
to execute.WorkflowModuleException
- default module exception.void execute(IContext context, IAgent agent) throws WorkflowModuleException
context
- The execution context.agent
- The IAgent
to execute.WorkflowModuleException
- default module exception.IDataSourceReference getDefaultDataSourceReference() throws WorkflowModuleException
IDataSourceReference
object.WorkflowModuleException
- default module exception.IDataSourceReference getDataSourceReference(String name) throws WorkflowModuleException
name
- The JNDI name.IDataSourceReference
object.WorkflowModuleException
- default module exception.@Deprecated IJdbcReference getJdbcReference(IContext context, String name) throws WorkflowModuleException
context
- The execution context.name
- The name of the external reference.IJdbcReference
object.WorkflowModuleException
- default module exception.@Deprecated Collection<? extends IJdbcReference> getJdbcReferences(IContext context) throws WorkflowModuleException
context
- The execution context.Collection
of IJdbcReference object.WorkflowModuleException
- default module exception.IList getList(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
context
- The execution context.catalog
- The ICatalog
representing the application.name
- The name of the list.IList
object.WorkflowModuleException
- default module exception.Collection<? extends IList> getLists(IContext context, ICatalog catalog) throws WorkflowModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
representing the application.IList
objectWorkflowModuleException
- default module exception.@Deprecated ICatalog createCatalog(IContext context, String name, String label) throws WorkflowModuleException
context
- The execution context.name
- The system name of the catalog.label
- The label of the catalog.ICatalog
object.WorkflowModuleException
- default module exception.ICatalog createCatalog(IContext context, String name, String label, IProject project) throws WorkflowModuleException
context
- The execution context.name
- The system name of the catalog.label
- The label of the catalog.project
- The IProject
representing the project.ICatalog
object.WorkflowModuleException
- default module exception.@Deprecated ICatalog getCatalog(IContext context, String name) throws WorkflowModuleException
context
- The execution context.name
- The system name of the catalog.ICatalog
object.WorkflowModuleException
- default module exception.ICatalog getCatalog(IContext context, String name, IProject project) throws WorkflowModuleException
context
- The execution context.name
- The system name of the catalog.project
- The IProject
representing the project.ICatalog
object.WorkflowModuleException
- default module exception.@Deprecated ICatalog getCatalog(IContext context, String name, int catalogType) throws WorkflowModuleException
context
- The execution context.name
- The system name of the catalog.catalogType
- The ICatalog.IType
of the catalog.ICatalog
object.WorkflowModuleException
- default module exception.ICatalog getCatalog(IContext context, String name, int catalogType, IProject project) throws WorkflowModuleException
context
- The execution context.name
- The system name of the catalog.catalogType
- The ICatalog.IType
of the catalog.project
- The IProject
representing the project.ICatalog
object.WorkflowModuleException
- default module exception.@Deprecated Collection<? extends ICatalog> getCatalogs(IContext context) throws WorkflowModuleException
ICatalog
object.context
- The execution context.ICatalog
objects.WorkflowModuleException
- default module exception.Collection<? extends ICatalog> getCatalogs(IContext context, IProject project) throws WorkflowModuleException
ICatalog
object.context
- The execution context.project
- The IProject
representing the project.ICatalog
objects.WorkflowModuleException
- default module exception.@Deprecated Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType) throws WorkflowModuleException
ICatalog
object.context
- The execution context.catalogType
- The ICatalog.IType
of the catalogs.ICatalog
objects.WorkflowModuleException
- default module exception.Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType, IProject project) throws WorkflowModuleException
ICatalog
object.context
- The execution context.catalogType
- The ICatalog.IType
of the catalogs.project
- The IProject
representing the project.ICatalog
objects.WorkflowModuleException
- default module exception.Collection<? extends ICatalog> getAllCatalogs(IContext context) throws WorkflowModuleException
ICatalog
object.context
- The execution context.ICatalog
objects.WorkflowModuleException
- default module exception.@Deprecated IRole createRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
IRole
into the catalog object.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the IRole
to be created.IRole
object.WorkflowModuleException
- default module exception.@Deprecated IRole getRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
IRole
object by its system name.context
- The execution context.catalog
- The ICatalog
scope object.name
- The system name of the role.IRole
object.WorkflowModuleException
- default module exception.@Deprecated Collection<? extends IRole> getRoles(IContext context, ICatalog catalog) throws WorkflowModuleException
IRole
objects within a specified catalog.context
- The execution context.catalog
- The ICatalog
object.IRole
objects.WorkflowModuleException
- default module exception.IOperatorRole createOperatorRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
IOperatorRole
into the catalog object.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the IRole
to be created.IRole
object.WorkflowModuleException
- default module exception.IOperatorRole getOperatorRole(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
IOperatorRole
object by its system name.context
- The execution context.catalog
- The ICatalog
scope object.name
- The system name of the role.IRole
object.WorkflowModuleException
- default module exception.Collection<? extends IOperatorRole> getOperatorRoles(IContext context, ICatalog catalog) throws WorkflowModuleException
IOperatorRole
objects within a specified catalog.context
- The execution context.catalog
- The ICatalog
object.IRole
objects.WorkflowModuleException
- default module exception.IProfile createProfile(IContext context, IProtocolSupport link, String name) throws ModuleException
IProfile
.context
- The execution context.link
- The IProtocolSupport
object.name
- The system name of the IProfile
to be created.IProfile
object.ModuleException
- default module exception.IProfile getProfile(IContext context, IProtocolSupport link, String name) throws ModuleException
IProfile
object by its system name.context
- The execution context.link
- The IProtocolSupport
scope object.name
- The system name of the role.IProfile
object.ModuleException
- default module exception.Collection<? extends IProfile> getProfiles(IContext context, IProtocolSupport link) throws ModuleException
IProfile
objects within a specified link.context
- The execution context.link
- The IProtocolSupport
object.IProfile
objects.ModuleException
- default module exception.boolean isMemberOf(IUser user, IRole role) throws WorkflowModuleException
IRole
object.user
- The IUser
object to check.role
- The IRole
object.IRole
object.WorkflowModuleException
- default module exception.boolean isMemberOf(IUser user, IRole role, boolean recursive) throws WorkflowModuleException
IRole
object.user
- The IUser
object to check.role
- The IRole
object.recursive
- Set to true if you wish to check recursively, false otherwise.IRole
object.WorkflowModuleException
- default module exception.void addChild(IGroup group, IRole role) throws WorkflowModuleException
group
- The group to add.role
- The role object.WorkflowModuleException
- default module exception.void addMember(IUser user, IRole role) throws WorkflowModuleException
user
- The user to add.role
- The role object.WorkflowModuleException
- default module exception.IWorkflowContainer createWorkflowContainer(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the IWorkflowContainer
object.IWorkflowContainer
object.WorkflowModuleException
- default module exception.IWorkflowContainer getWorkflowContainer(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
IWorkflowContainer
within a ICatalog
by its system namecontext
- The execution context.catalog
- The ICatalog
object.name
- The system name of the IWorkflowContainer
object.IWorkflowContainer
object.WorkflowModuleException
- default module exception.Collection<? extends IWorkflowContainer> getWorkflowContainers(IContext context, ICatalog catalog) throws WorkflowModuleException
IWorkflowContainer
objects within a ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.IWorkflowContainer
objects.WorkflowModuleException
- default module exception.IWorkflow createWorkflow(IContext context, IWorkflowContainer container, String name, byte[] content) throws WorkflowModuleException
context
- The execution context.container
- The IWorkflowContainer
object.name
- The system name of the workflow.content
- The XML content of the workflow.IWorkflow
object.WorkflowModuleException
- default module exception.IWorkflow getWorkflow(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
IWorkflow
object and from its system name.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the workflow.IWorkflow
object.WorkflowModuleException
- default module exception.Collection<? extends IWorkflow> getWorkflows(IContext context, ICatalog catalog) throws WorkflowModuleException
context
- The execution context.catalog
- The ICatalog
object.IWorkflow
objects.WorkflowModuleException
- default module exception.Collection<? extends IWorkflow> getWorkflows(IContext context, IWorkflowContainer container) throws WorkflowModuleException
IWorkflow
objects within a IWorkflowContainer
object.context
- The execution context.container
- The IWorkflowContainer
object.IWorkflow
objects.WorkflowModuleException
- default module exception.@Deprecated IWorkflow getWorkflow(IContext context, String name) throws WorkflowModuleException
context
- The execution context.name
- The system name of the workflow to retrieve.IWorkflow
object.WorkflowModuleException
- default module exception.ICatalog getCatalog(IWorkflow workflow) throws WorkflowModuleException
IWorkflow
object.workflow
- The workflow object.ICatalog
objectWorkflowModuleException
- default module exception.IWorkflowContainer getWorkflowContainer(IWorkflow workflow) throws WorkflowModuleException
IWorkflow
object.workflow
- The workflow object.IWorkflowContainer
objectWorkflowModuleException
- default module exception.ITask getTask(IContext context, IWorkflow workflow, String name) throws WorkflowModuleException
IWorkflow
object by its name.context
- The execution context.workflow
- The IWorkflow
object.name
- The system name of the ITask
object.ITask
object.WorkflowModuleException
- default module exception.Collection<? extends IAction> getActions(IContext context, ITask task) throws WorkflowModuleException
context
- The execution context.task
- The ITask
object.IAction
objects.WorkflowModuleException
- default module exception.IAction getAction(IContext context, ITask task, String name) throws WorkflowModuleException
IAction
object from its system name.context
- The execution context.task
- The ITask
object.name
- The system name of the IAction
object to retrieve.IAction
object.WorkflowModuleException
- default module exception.IWorkflow getWorkflow(ITask task) throws WorkflowModuleException
task
- the ITask
object.IWorkflow
object.WorkflowModuleException
- default module exception.IResourceDefinition getResourceDefinition(IContext context, ICatalog catalog, String name) throws WorkflowModuleException
ICatalog
and its system name.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the resource definition.IResourceDefinition
object.WorkflowModuleException
- default module exception.Collection<? extends IResourceDefinition> getResourceDefinitions(IContext context, ICatalog catalog) throws WorkflowModuleException
ICatalog
context
- The execution context.catalog
- The ICatalog
object.IResourceDefinition
objects.WorkflowModuleException
- default module exception.IView getView(IContext context, ICatalog catalog, String viewName) throws WorkflowModuleException
context
- The execution context.catalog
- The ICatalog
object.viewName
- The name of the view.IView
object.WorkflowModuleException
- default module exception.Collection<? extends IView> getViews(IContext context, ICatalog catalog) throws WorkflowModuleException
context
- The execution context.catalog
- The ICatalog
object.IView
object.WorkflowModuleException
- default module exception.IView getView(IContext context, IWorkflowContainer workflowContainer, String viewName) throws WorkflowModuleException
context
- The execution context.workflowContainer
- The IWorkflowContainer
object.viewName
- The name of the view.IView
object.WorkflowModuleException
- default module exception.Collection<? extends IView> getViews(IContext context, IWorkflowContainer workflowContainer) throws WorkflowModuleException
context
- The execution context.workflowContainer
- The IWorkflowContainer
object.IView
object.WorkflowModuleException
- default module exception.IView getView(IContext context, IResourceDefinition resourceDefinition, String viewName) throws WorkflowModuleException
context
- The execution context.resourceDefinition
- The IResourceDefinition
object.viewName
- The name of the view.IView
object.WorkflowModuleException
- default module exception.Collection<? extends IView> getViews(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException
context
- The execution context.resourceDefinition
- The IResourceDefinition
object.IView
object.WorkflowModuleException
- default module exception.Collection<? extends IProperty> getProperties(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException
context
- The execution context.resourceDefinition
- a IResourceDefinition
object.IProperty
objects.WorkflowModuleException
- default module exception.IProperty getProperty(IContext context, IResourceDefinition resourceDefinition, String name) throws WorkflowModuleException
IResourceDefinition
and its system name.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.name
- The system name of the property.IProperty
object.WorkflowModuleException
- default module exception.String generateReference(IResourceDefinition resourceDefinition) throws WorkflowModuleException
resourceDefinition
- The resource definition object.WorkflowModuleException
- default module exception.@Deprecated String generateReference(IResourceDefinition resourceDefinition, String format) throws WorkflowModuleException
resourceDefinition
- The IResourceDefinition
object.format
- The format to use to evaluate the next reference.WorkflowModuleException
String generateReference(IResource resource) throws WorkflowModuleException
resource
- The resource to be created.WorkflowModuleException
- default module exception.String generateReference(IResource resource, Document format) throws WorkflowModuleException
resource
- The resource to be created.format
- An XML format definition.WorkflowModuleException
- default module exception.@Deprecated String generateReference(IResource resource, String format) throws WorkflowModuleException
resource
- The resource to be created.format
- The format to use to evaluate the next reference.WorkflowModuleException
- default module exception.@Deprecated int generateChrono(IResourceDefinition resourceDefinition) throws WorkflowModuleException
resourceDefinition
- The resource definition objectWorkflowModuleException
- default module exception.IWorkflowInstance createWorkflowInstance(IContext context, IWorkflow workflow, String reference, String label) throws WorkflowModuleException
IWorkflow
object, its reference, and its label.
The permission to create workflow instance is not checkedcontext
- The execution context.workflow
- The IWorkflow
object.reference
- The reference to set.label
- The label to set.IWorkflowInstance
object.WorkflowModuleException
- default module exception.IWorkflowInstance createWorkflowInstance(IContext context, IWorkflow workflow, String reference) throws WorkflowModuleException
IWorkflow
object, its reference.
The permission to create workflow instance is not checkedcontext
- The execution context.workflow
- The IWorkflow
object.reference
- The reference to set.IWorkflowInstance
object.WorkflowModuleException
- default module exception.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog, String reference) throws WorkflowModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.reference
- The reference of the workflow instance.IWorkflowInstance
objects.WorkflowModuleException
- default module exception.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow, String reference) throws WorkflowModuleException
IWorkflow
object.context
- The execution context.workflow
- The IWorkflow
object.reference
- The reference of the workflow instance.IWorkflowInstance
objects.WorkflowModuleException
- default module exception.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ICatalog catalog) throws WorkflowModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.IWorkflowInstance
objects.WorkflowModuleException
- default module exception.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, IWorkflow workflow) throws WorkflowModuleException
IWorkflow
object.context
- The execution context.workflow
- The IWorkflow
object.IWorkflowInstance
objects.WorkflowModuleException
- default module exception.Collection<? extends IWorkflowInstance> getWorkflowInstances(IContext context, ITask task) throws WorkflowModuleException
ITask
object.context
- The execution context.task
- The ITask
object.IWorkflowInstance
objects.WorkflowModuleException
- default module exception.IWorkflowInstance getParentInstance(IWorkflowInstance instance) throws WorkflowModuleException
IWorkflowInstance
object.instance
- the IWorkflowInstance
object.IWorkflowInstance
object.WorkflowModuleException
- default module exception.void setValue(IResource resource, String propertyName, Object value) throws WorkflowModuleException
resource
- The IWorkflowInstance
object.propertyName
- The system name of the property.value
- The value object to set.WorkflowModuleException
- default module exception.Object getValue(IResource resource, String propertyName) throws WorkflowModuleException
resource
- The IWorkflowInstance
object.propertyName
- The system name of the property.Object
object.WorkflowModuleException
- default module exception.void setList(IResource resource, String propertyName, Collection<? extends IOptionList.IOption> values) throws WorkflowModuleException
resource
- The IWorkflowInstance
object.propertyName
- The system name of the property.values
- a collection of IOptionList.IOption
.WorkflowModuleException
- default module exception.Collection<? extends IOptionList.IOption> getList(IResource resource, String propertyName) throws WorkflowModuleException
resource
- The IWorkflowInstance
object.propertyName
- The system name of the property.IOptionList.IOption
.WorkflowModuleException
- default module exception.IOptionList.IOption createListOption(Object key, String text)
key
- text
- IOptionList.IOption
void abort(IContext context, IWorkflowInstance instance, String comment) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.comment
- The reason of the abortion. This comment will appear in the history entries.WorkflowModuleException
- default module exception.void remind(IContext context, IWorkflowInstance instance, String comment) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.comment
- The reason of the reminder. This comment will appear in the history entries.WorkflowModuleException
- default module exception.void remind(IContext context, ITaskInstance taskInstance, String comment) throws WorkflowModuleException
context
- The execution context.taskInstance
- The ITaskInstance
object.comment
- The reason of the reminder. This comment will appear in the history entries.WorkflowModuleException
- default module exception.@Deprecated void send(IContext context, IWorkflowInstance workflowInstance, String formName, Collection<?> entries) throws WorkflowModuleException
context
- The execution context.workflowInstance
- The IWorkflowInstance
object.formName
- The system name of the form to use.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.WorkflowModuleException
- default module exception.@Deprecated void send(IContext context, IWorkflow workflow, IResource resource, String formName, Collection<?> entries) throws WorkflowModuleException
context
- The execution context.workflow
- The IWorkflow
object.resource
- The IResource
object created from createGenericResource()
method.formName
- The system name of the form to use.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.WorkflowModuleException
- default module exception.@Deprecated void send(IContext context, IWorkflow workflow, String formName, Collection<?> entries) throws WorkflowModuleException
context
- The execution context.workflow
- The IWorkflow
object.formName
- The system name of the form to use.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IWorkflowInstance instance, String name) throws WorkflowModuleException
ITask
.context
- The execution context.instance
- The IWorkflowInstance
object.name
- The system name of ITask to use as a filter.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getManualTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getManualTaskInstancesByStatus(IContext context, int status) throws WorkflowModuleException
context
- The execution context.status
- The IWorkflowInstance.IStatus
status.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getManualTaskInstancesModifiedSince(IContext context, Date date) throws WorkflowModuleException
context
- The execution context.date
- The date.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getStartedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getEndedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.ITaskInstance
WorkflowModuleException
- default module exception.Collection<? extends ITaskInstance> getAbortedTaskInstances(IContext context, IWorkflowInstance instance) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.ITaskInstance
WorkflowModuleException
- default module exception.ITaskInstance getTaskInstance(IContext context, IWorkflowInstance instance, String name) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.name
- The system name of a ITask
object.ITaskInstance
object.WorkflowModuleException
- default module exception.ITaskInstance getOneTaskInstance(IContext context, IWorkflowInstance instance) throws WorkflowModuleException
context
- The execution context.instance
- The IWorkflowInstance
object.ITaskInstance
object.WorkflowModuleException
- default module exception.ITask getTask(ITaskInstance instance) throws WorkflowModuleException
instance
- The ITaskInstance
object.ITask
object.WorkflowModuleException
- default module exception.Collection<? extends IOperator> getOperators(ITaskInstance instance) throws WorkflowModuleException
instance
- the ITaskInstance
object.IOperator
objects.WorkflowModuleException
- default module exception.void end(IContext context, ITaskInstance instance, IAction action, String comment) throws WorkflowModuleException
context
- The execution context.instance
- The ITaskInstance
object.action
- The IAction
to use to cross the transition.comment
- The comment which will be displayed in the history entries.WorkflowModuleException
- default module exception.void end(IContext context, IUser addressee, ITaskInstance instance, IAction action, String comment) throws WorkflowModuleException
context
- The execution context.addressee
- The IUser
for whom to cross the transition.instance
- The ITaskInstance
object.action
- The IAction
object.comment
- The comment which will be displayed in the history entries.WorkflowModuleException
- default module exception.@Deprecated void send(IContext context, ITaskInstance instance, IMailForm form, String comment) throws WorkflowModuleException
context
- The execution context.instance
- The ITaskInstance
object.form
- The IMailForm
object.comment
- The comment which will be displayed in the history entries.WorkflowModuleException
- default module exception.@Deprecated void send(IContext context, IUser addressee, ITaskInstance instance, IMailForm form, String comment) throws WorkflowModuleException
context
- The execution context.addressee
- instance
- The ITaskInstance
object.form
- The IMailForm
object.comment
- The comment which will be displayed in the history entries.WorkflowModuleException
- default module exception. default module exception.@Deprecated String evaluatedHtml(IResource resource, IMailForm mailForm) throws WorkflowModuleException
resource
- The IResource
object to evaluate with.mailForm
- The IMailForm
object.WorkflowModuleException
- default module exception. default module exception.String buildMailMessage(IResource resource, IMailForm mailForm, String language) throws WorkflowModuleException
resource
- The IResource
object to evaluate with.mailForm
- The IMailForm
object.language
- the mail language.WorkflowModuleException
- default module exception. default module exception.@Deprecated String evaluatedHtml(ITaskInstance taskInstance, IMailForm mailForm) throws WorkflowModuleException
taskInstance
- The ITaskInstance
object to evaluate with.mailForm
- The IMailForm
object.WorkflowModuleException
- default module exception. default module exception.String buildMailMessage(ITaskInstance taskInstance, IMailForm mailForm, String language) throws WorkflowModuleException
taskInstance
- The ITaskInstance
object to evaluate with.mailForm
- The IMailForm
object.language
- the mail language.WorkflowModuleException
- default module exception. default module exception.@Deprecated void send(IContext context, IResource resource, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException
context
- The execution context.resource
- The IResource
object to evaluate with.mailForm
- The IMailForm
object.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.subject
- The subject of the mail.content
- The content of the mail.WorkflowModuleException
- default module exception. default module exception.@Deprecated void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<?> entries, String subject, String content) throws WorkflowModuleException
context
- The execution context.taskInstance
- The ITaskInstance
object to evaluate with.mailForm
- The IMailForm
object.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.subject
- The subject of the mail.content
- The content of the mail.WorkflowModuleException
- default module exception. default module exception.void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection<? extends IUser> mail_to, String comment) throws WorkflowModuleException
context
- The execution context.taskInstance
- The ITaskInstance
object to evaluate with.mailForm
- The IMailForm
object.mail_to
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.comment
- The comment which will be displayed in the history entries.WorkflowModuleException
void send(IContext context, IResource resource, IMailForm mailForm, Collection<? extends IUser> mail_to, String comment) throws WorkflowModuleException
context
- The execution context.resource
- The IResource
object to evaluate with.mailForm
- The IMailForm
object.mail_to
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.comment
- The comment which will be displayed in the history entries.WorkflowModuleException
IForm getForm(IContext context, IWorkflow workflow, String formName) throws WorkflowModuleException
context
- The execution context.workflow
- The IWorkflow
object.formName
- The name of the form.IForm
object.WorkflowModuleException
- default module exception. default module exception.IForm getForm(IContext context, IResourceDefinition resourceDefinition, String formName) throws WorkflowModuleException
context
- The execution context.resourceDefinition
- The IResourceDefinition
object.formName
- The name of the form.IForm
object.WorkflowModuleException
- default module exception. default module exception.IForm getForm(IContext context, ITask task, String formName) throws WorkflowModuleException
context
- The execution context.task
- The ITask
object.formName
- The name of the form.IForm
object.WorkflowModuleException
- default module exception. default module exception.IForm getForm(IContext context, IAction action, String formName) throws WorkflowModuleException
context
- The execution context.action
- The IAction
object.formName
- The name of the form.IForm
object.WorkflowModuleException
- default module exception. default module exception.IForm getSubForm(IContext context, IWorkflow workflow, String formName) throws WorkflowModuleException
context
- The execution context.workflow
- The IWorkflow
object.formName
- The name of the form.IForm
object.WorkflowModuleException
- default module exception. default module exception.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow) throws WorkflowModuleException
IWorkflow
object.context
- The execution context.workflow
- The IWorkflow
object.IMailForm
objects.WorkflowModuleException
- default module exception. default module exception.IMailForm getMailForm(IContext context, IWorkflow workflow, String mailFormName) throws WorkflowModuleException
context
- The execution context.workflow
- The IWorkflow
object.mailFormName
- The name of the form.IMailForm
object.WorkflowModuleException
- default module exception. default module exception.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow, String startsWith) throws WorkflowModuleException
context
- The execution context.workflow
- The IWorkflow
object.startsWith
- The start part of the form name.IMailForm
objects.WorkflowModuleException
- default module exception. default module exception.IResource createGenericResource() throws WorkflowModuleException
IResource
object.WorkflowModuleException
- default module exception.ILinkedResource createLinkedResource(IResource resource, String propertyName) throws WorkflowModuleException
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", new Float(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 );
resource
- The parent resource.propertyName
- The system name of the property.ILinkedResource
object.WorkflowModuleException
- default module exception.Collection<? extends ILinkedResource> getLinkedResources(IResource resource, String propertyName) throws WorkflowModuleException
resource
- The parent resource.propertyName
- The system name of the property.ILinkedResource
objects.WorkflowModuleException
- default module exception.IWorkflowInstance getParentInstance(ILinkedResource linkedResource) throws WorkflowModuleException
linkedResource
- The linked resource.IWorkflowInstance
object.WorkflowModuleException
- default module exception.Collection<? extends IAttachment> getAttachments(IResource resource, String propertyName) throws WorkflowModuleException
resource
- The main resource object.propertyName
- The system name of the property.IAttachment
objects.WorkflowModuleException
- default module exception.IAttachment getAttachment(IResource resource, String propertyName, String fileName) throws WorkflowModuleException
resource
- The main resource object.propertyName
- The system name of the property.fileName
- The file name to retrieve.IAttachment
object.WorkflowModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, File file) throws WorkflowModuleException
resource
- The main resource object.propertyName
- The system name of the property.file
- The File
object.IAttachment
object.WorkflowModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, String fileName, InputStream inputStream) throws WorkflowModuleException
resource
- The main resource object.propertyName
- The system name of the property.fileName
- The name of the fileinputStream
- The InputStream
object.IAttachment
object.WorkflowModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, String fileName, String fullPath) throws WorkflowModuleException
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.IAttachment
object.WorkflowModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, IAttachment attachment) throws WorkflowModuleException
resource
- The main resource object.propertyName
- The system name of the property.attachment
- The IAttachment
to add.IAttachment
object.WorkflowModuleException
- default module exception.IUser getExternalUser(IResource resource, String propertyName) throws WorkflowModuleException
IUser
object from a single user selector property.resource
- The main resource object.propertyName
- The system name of the property.IUser
object.WorkflowModuleException
- default module exception.IGroup getExternalGroup(IResource resource, String propertyName) throws WorkflowModuleException
IGroup
object from a single group selector property.resource
- The main resource object.propertyName
- The system name of the property.IGroup
object.WorkflowModuleException
- default module exception.ILocalization getExternalLocalization(IResource resource, String propertyName) throws WorkflowModuleException
ILocalization
object from a single localization selector property.resource
- The main resource object.propertyName
- The system name of the property.ILocalization
object.WorkflowModuleException
- default module exception.IOrganization getExternalOrganization(IResource resource, String propertyName) throws WorkflowModuleException
IOrganization
object from a single organization selector property.resource
- The main resource object.propertyName
- The system name of the property.IOrganization
object.WorkflowModuleException
- default module exception.IFile getExternalFile(IResource resource, String propertyName) throws WorkflowModuleException
IFile
object from a single file selector property.resource
- The main resource object.propertyName
- The system name of the property.IFile
object.WorkflowModuleException
- default module exception.IFolder getExternalFolder(IResource resource, String propertyName) throws WorkflowModuleException
IFolder
object from a single folder selector property.resource
- The main resource object.propertyName
- The system name of the property.IFolder
object.WorkflowModuleException
- default module exception.ILibrary getExternalLibrary(IResource resource, String propertyName) throws WorkflowModuleException
ILibrary
object from a single library selector property.resource
- The main resource object.propertyName
- The system name of the property.ILibrary
object.WorkflowModuleException
- default module exception.Collection<?> getExternalElements(IResource resource, String propertyName) throws WorkflowModuleException
IElement
objects from a multiple selector property.resource
- The main resource object.propertyName
- The system name of the property.IElement
objects.WorkflowModuleException
- default module exception.void setExternalUser(IResource resource, String propertyName, IUser user) throws WorkflowModuleException
IUser
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.user
- A IUser
object.WorkflowModuleException
- default module exception.void setExternalGroup(IResource resource, String propertyName, IGroup group) throws WorkflowModuleException
IGroup
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.group
- A IGroup
object.WorkflowModuleException
- default module exception.void setExternalLocalization(IResource resource, String propertyName, ILocalization localization) throws WorkflowModuleException
ILocalization
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.localization
- A ILocalization
object.WorkflowModuleException
- default module exception.void setExternalOrganization(IResource resource, String propertyName, IOrganization organization) throws WorkflowModuleException
IOrganization
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.organization
- A IOrganization
object.WorkflowModuleException
- default module exception.void setExternalFile(IResource resource, String propertyName, IFile file) throws WorkflowModuleException
IFile
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.file
- A IFile
object.WorkflowModuleException
- default module exception.void setExternalFolder(IResource resource, String propertyName, IFolder folder) throws WorkflowModuleException
IFolder
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.folder
- A IFolder
object.WorkflowModuleException
- default module exception.void setExternalLibrary(IResource resource, String propertyName, ILibrary library) throws WorkflowModuleException
ILibrary
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.library
- A ILibrary
object.WorkflowModuleException
- default module exception.void setExternalElements(IResource resource, String propertyName, Collection<?> elements) throws WorkflowModuleException
IElement
to a multiple selector property.resource
- The main resource object.propertyName
- The system name of the property.elements
- A collection of IElement
objects.WorkflowModuleException
- default module exception.ISearchController getSearchController() throws WorkflowModuleException
ISearchController
object.ISearchController
object.WorkflowModuleException
- default module exception.@Deprecated ISearchController getSearchController(IJdbcReference reference) throws WorkflowModuleException
reference
- The IJdbcReference
object.ISearchController
object.WorkflowModuleException
- default module exception.ISearchController getSearchController(IConnectionDefinition connectionDefinition) throws WorkflowModuleException
connectionDefinition
- The IConnectionDefinition
object.ISearchController
object.WorkflowModuleException
- default module exception.ISearchController getSearchController(IDataSourceReference reference) throws WorkflowModuleException
reference
- The IDataSourceReference
object.ISearchController
object.WorkflowModuleException
- default module exception.ISecurityController getSecurityController(ISecuritySupport securitySupport) throws WorkflowModuleException
securitySupport
- Any IElement that implements ISecuritySupport interface.ISecurityController
object.WorkflowModuleException
- default module exception.ITransformer getTransformer() throws WorkflowModuleException
IResource
object.ITransformer
object.WorkflowModuleException
- default module exception.ITaskInstanceTransformer getTaskInstanceTransformer() throws WorkflowModuleException
ITaskInstance
object.ITaskInstanceTransformer
object.WorkflowModuleException
- default module exception.ITaskViewTransformer getTaskViewTransformer() throws WorkflowModuleException
ITaskInstance
objects.ITaskViewTransformer
object.WorkflowModuleException
- default module exception.IResourceViewTransformer getResourceViewTransformer() throws WorkflowModuleException
IResource
objects.IResourceViewTransformer
object.WorkflowModuleException
- default module exception.IWorkflowViewTransformer getWorkflowViewTransformer() throws WorkflowModuleException
IWorkflow
objects.IWorkflowViewTransformer
object.WorkflowModuleException
- default module exception.IWorkflowContainerViewTransformer getWorkflowContainerViewTransformer() throws WorkflowModuleException
IWorkflowContainer
objects.IWorkflowContainerViewTransformer
object.WorkflowModuleException
- default module exception.ICatalogViewTransformer getCatalogViewTransformer() throws WorkflowModuleException
ICatalog
objects.ICatalogViewTransformer
object.WorkflowModuleException
- default module exception.ISearchViewTransformer getSearchViewTransformer() throws WorkflowModuleException
IResource
objects.ISearchViewTransformer
object.WorkflowModuleException
- default module exception.IGenericViewTransformer getGenericViewTransformer() throws WorkflowModuleException
WorkflowModuleException
@Deprecated IViewController getViewController() throws WorkflowModuleException
IResource
objects through their properties.IViewController
object.WorkflowModuleException
- default module exception.IViewController getViewController(IContext context) throws WorkflowModuleException
IResource
objects through their properties.context
- The execution context.IViewController
object.WorkflowModuleException
- default module exception.@Deprecated IViewController getViewController(Class natureClass) throws WorkflowModuleException
IResource
objects through their properties.natureClass
- : The class of the searched objects IWorkflowInstance
, ITaskInstance
, IResource
}IViewController
object.WorkflowModuleException
- default module exception.IViewController getViewController(IContext context, Class natureClass) throws WorkflowModuleException
IResource
objects through their properties.context
- The execution context.natureClass
- : The class of the searched objects IWorkflowInstance
, ITaskInstance
, IResource
}IViewController
object.WorkflowModuleException
- default module exception.@Deprecated IViewController getViewController(IProject project, InputStream inputStream) throws WorkflowModuleException
IResource
objects through their properties.project
- The current projectinputStream
- The java.io.InputStream XML entry.IViewController
object.WorkflowModuleException
- default module exception.IViewController getViewController(IContext context, IProject project, InputStream inputStream) throws WorkflowModuleException
IResource
objects through their properties.context
- The execution context.project
- The current projectinputStream
- The java.io.InputStream XML entry.IViewController
object.WorkflowModuleException
- default module exception.IDelegationController getDelegationController() throws WorkflowModuleException
IDelegationSupport
objects.IDelegationController
object.WorkflowModuleException
- default module exception.IArchivingController getArchivingController() throws WorkflowModuleException
IElement
objects.IArchivingController
object.WorkflowModuleException
- default module exception.IUser getUserByLogin(String login) throws WorkflowModuleException
login
- The login of the userIUser
object.WorkflowModuleException
- default module exception.@Deprecated IGroup getGroupByName(String name) throws WorkflowModuleException
name
- The system name of the group.IGroup
object.WorkflowModuleException
- default module exception.IWorkflowInstance getWorkflowInstance(Object object) throws WorkflowModuleException
IWorkflowInstance
object from an object.object
- Any of the following values:
com.axemble.vdp.treatment.interfaces.Treatment
IWorkflowInstance
object.WorkflowModuleException
- default module exception.IResource getResource(Object object) throws WorkflowModuleException
IResource
object from an object.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
IResource
object.WorkflowModuleException
- default module exception.ICatalog getCatalog(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.ICatalog
object.WorkflowModuleException
- default module exception.IUser getUser(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IUser
object.WorkflowModuleException
- default module exception.@Deprecated IRole getRole(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IRole
object.WorkflowModuleException
- default module exception.IOperatorRole getOperatorRole(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IOperatorRole
object.WorkflowModuleException
- default module exception.IProfile getProfile(IStorageKey key) throws ModuleException
key
- A IStorageKey
object.IProfile
object.ModuleException
- default module exception.IWorkflowContainer getWorkflowContainer(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IWorkflowContainer
object.WorkflowModuleException
- default module exception.IWorkflow getWorkflow(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IWorkflow
object.WorkflowModuleException
- default module exception.ITask getTask(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.ITask
object.WorkflowModuleException
- default module exception.IAction getAction(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IAction
object.WorkflowModuleException
- default module exception.IResourceDefinition getResourceDefinition(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IResourceDefinition
object.WorkflowModuleException
- default module exception.IProperty getProperty(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IProperty
object.WorkflowModuleException
- default module exception.IWorkflowInstance getWorkflowInstance(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IWorkflowInstance
object.WorkflowModuleException
- default module exception.ITaskInstance getTaskInstance(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.ITaskInstance
object.WorkflowModuleException
- default module exception.IOperator getOperator(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IOperator
object.WorkflowModuleException
- default module exception.IOperator getOperatorByLogin(String login) throws WorkflowModuleException
IOperator
from a user login.login
- The user loginIOperator
object.WorkflowModuleException
- default module exception.IResource getResource(IStorageKey key) throws WorkflowModuleException
key
- A IStorageKey
object.IResource
object.WorkflowModuleException
- default module exception.ICatalog getCatalog(IResourceDefinition resourceDefinition) throws WorkflowModuleException
ICatalog
object from a resource definitino.resourceDefinition
- A resource definition.ICatalog
object.WorkflowModuleException
- default module exception.@Deprecated IUser getUser(String id) throws WorkflowModuleException
IStorageKey
key ) method instead.IUser
object from its string identifier.id
- A string identifier.IUser
object.WorkflowModuleException
- default module exception.@Deprecated IWorkflowInstance getWorkflowInstance(String id) throws WorkflowModuleException
IStorageKey
key ) method instead.IWorkflowInstance
object from its string identifier.id
- A string identifier.IWorkflowInstance
object.WorkflowModuleException
- default module exception.@Deprecated ITaskInstance getTaskInstance(String id) throws WorkflowModuleException
IStorageKey
key ) method instead.ITaskInstance
object from its string identifier.id
- A string identifier.ITaskInstance
object.WorkflowModuleException
- default module exception.@Deprecated IOperator getOperator(String id) throws WorkflowModuleException
IStorageKey
key ) method instead.IOperator
object from its string identifier.id
- A string identifier.IOperator
object.WorkflowModuleException
- default module exception.@Deprecated IResource getResource(String id) throws WorkflowModuleException
IStorageKey
key ) method instead.IResource
object from its string identifier.id
- A string identifier.IResource
object.WorkflowModuleException
- default module exception.Collection<? extends IResource> getResources(IContext context, IResourceDefinition resourceDefinition) throws WorkflowModuleException
IResource
objects from a resource definition.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.IResource
object.WorkflowModuleException
- default module exception.Collection<? extends IResource> getResources(IContext context, ICatalog catalog) throws WorkflowModuleException
IResource
objects from a catalogcontext
- The execution context.catalog
- The ICatalog
object.IResource
object.WorkflowModuleException
- default module exception.IStorageResource createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference, String label) throws WorkflowModuleException
IResourceDefinition
object, its reference, and its label.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.reference
- The reference to set.label
- The label to set.IStorageResource
object.WorkflowModuleException
- default module exception.IStorageResource createStorageResource(IContext context, IResourceDefinition resourceDefinition, String reference) throws WorkflowModuleException
IResourceDefinition
object, its reference.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.reference
- The reference to set.IStorageResource
object.WorkflowModuleException
- default module exception.IProtocolSupport getElementByProtocolURI(String protocolURI) throws ModuleException
IElement
object which implements IProtocolSupport
interface.protocolURI
- The protocol URI as a java.lang.String.IProtocolSupport
object.ModuleException
- default module exception.IDynamicLocalizationsWrapper setDynamicLocalizationsWrapperMessageForLanguage(IContext context, IDynamicLocalizationsWrapper dynamicLocalizationsWrapper, ICatalog catalog, String language, String message) throws ModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.language
- The languagemessage
- The messageIDynamicLocalizationsWrapper
object.ModuleException
IDynamicLocalizationsWrapper createDynamicLocalizationsWrapper(IContext context, ICatalog catalog) throws ModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.IDynamicLocalizationsWrapper
object.ModuleException
Copyright © 2021 Visiativ Software. All rights reserved.