public interface IBaseDocumentModule extends IModule
Code sample :
// creation of a directory module object
IBaseDocumentModule documentModule = Modules.getDocumentModule();
try
{
}
finally
{
// uninitialize the module
Modules.releaseModule(documentModule);
}
Modifier and Type | Method and Description |
---|---|
void |
abort(IContext context,
IVersion version,
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.
|
ICatalog |
createCatalog(IContext context,
String name,
String label,
IProject project)
Allows to create a new catalog.
|
IDataUnit |
createDataUnit(IContext context,
IResourceDefinition resourceDefinition,
String reference)
Creates a storage resource object by specifying the
IResourceDefinition object, its reference. |
IDataUnit |
createDataUnit(IContext context,
IResourceDefinition resourceDefinition,
String reference,
String label)
Creates a data unit object by specifying the
IResourceDefinition object, its reference, and its label. |
IResource |
createGenericResource()
Creates a generic resource for mail purposes.
|
IRole |
createRole(IContext context,
ICatalog catalog,
String name)
Creates a
IRole into the catalog object. |
IVersion |
createVersion(IContext context,
IAttachmentTemplate attachmentTemplate,
String reference)
Creates a version instance object by specifying the
IAttachmentTemplate object, its reference. |
IVersion |
createVersion(IContext context,
IResourceDefinition resourceDefinition,
String reference,
String label)
Creates a version 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. |
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)
Evaluates the form and returns the HTML content as a java.lang.String object.
|
String |
evaluatedHtml(ITaskInstance taskInstance,
IMailForm mailForm)
Evaluates the form and returns the HTML content as a java.lang.String object.
|
void |
execute(IAgent agent)
Allows to execute an agent.
|
void |
execute(IContext context,
IAgent agent)
Allows to execute an agent.
|
int |
generateChrono(IResourceDefinition resourceDefinition)
Evaluate the next chrono based on the format specified on the Designer tool.
|
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)
Evaluate the next reference based on the passed format.
|
String |
generateReference(IResource resource,
String format)
Evaluate the next reference based on the specified format.
|
Collection<? extends ITaskInstance> |
getAbortedTaskInstances(IContext context,
IVersion version)
Retrieves all the aborted task instances of a version.
|
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.
|
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,
int catalogType,
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)
Retrieves a collection of
ICatalog object. |
Collection<? extends ICatalog> |
getCatalogs(IContext context,
int catalogType)
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.
|
IConnectionDefinition |
getConnectionDefinition(IContext context,
String name)
Gets a connection from its name.
|
Collection<? extends IConnectionDefinition> |
getConnectionDefinitions(IContext context)
Gets a collection of connections.
|
IDataSourceReference |
getDataSourceReference(String name)
Gets a data source reference from its JNDI name.
|
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,
IVersion version)
Retrieves all the ended task instances of a version.
|
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() |
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.
|
IList |
getList(IContext context,
ICatalog catalog,
String name)
Gets a list object from a catalog by its name.
|
Collection |
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,
IVersion version)
Retrieves all the manual task instances of a workflow instance.
|
ITaskInstance |
getOneTaskInstance(IContext context,
IVersion version)
Gets one of the task instances (any).
|
IOperator |
getOperator(IStorageKey key)
Gets a operator object from its identifier.
|
Collection<? extends IOperator> |
getOperators(ITaskInstance instance)
Retrieves the operators of a task instance.
|
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.
|
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)
Retrieves a
IRole object by its system name. |
IRole |
getRole(IStorageKey key)
Gets a role object from its identifier.
|
Collection<? extends IRole> |
getRoles(IContext context,
ICatalog catalog)
Retrieves a collection of
IRole objects within a specified catalog. |
ISearchController |
getSearchController()
Gets the default
ISearchController object. |
ISearchController |
getSearchController(IConnectionDefinition connectionDefinition)
Gets a connection from its name.
|
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,
IVersion version)
Retrieves all the started task instances of a version.
|
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,
IVersion version,
String name)
Gets a task instance associated with a specified task name.
|
ITaskInstance |
getTaskInstance(IStorageKey key)
Gets a task instance object from its identifier.
|
Collection<? extends ITaskInstance> |
getTaskInstances(IContext context,
IVersion version)
Retrieves all the task instances of a specified version.
|
Collection<? extends ITaskInstance> |
getTaskInstances(IContext context,
IVersion version,
String name)
Retrieves all the task instances of a specified version 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 |
getUserByLogin(String login)
Gets a user by its login
|
Object |
getValue(IResource resource,
String propertyName)
Gets the value of a property.
|
IVersion |
getVersion(IStorageKey key)
Gets a version object from its identifier.
|
Collection<? extends IVersion> |
getVersions(IContext context,
ICatalog catalog)
Gets all the versions of a specified
ICatalog object. |
Collection<? extends IVersion> |
getVersions(IContext context,
ICatalog catalog,
String reference)
Gets all the versions with the same reference within a specified
ICatalog object. |
Collection<? extends IVersion> |
getVersions(IContext context,
IResourceDefinition resourceDefinition,
String reference)
Gets all the versions with the same reference within a specified
IWorkflow object. |
Collection<IVersion> |
getVersions(IContext context,
ITask task)
Gets all the workflow instances of a specified
ITask object. |
Collection<? extends IVersion> |
getVersions(IContext context,
IWorkflow workflow)
Gets all the versions of a specified
IWorkflow object. |
IView |
getView(IContext context,
IResourceDefinition resourceDefinition,
String viewName)
Retrieves a view by its name.
|
IViewController |
getViewController()
Gets a view controller to search
IResource objects through their properties. |
IViewController |
getViewController(Class natureClass)
Gets a view controller to search
IResource objects through their properties. |
IViewController |
getViewController(IContext context,
InputStream inputStream)
Gets a view controller to search
IResource objects through their properties. |
IViewController |
getViewController(InputStream inputStream)
Gets a view controller to search
IResource objects through their properties. |
IWorkflow |
getWorkflow(IContext context,
ICatalog catalog,
String name)
Retrieves a workflow within a
IWorkflow object and from its system 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(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. |
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. |
void |
remind(IContext context,
ITaskInstance taskInstance,
String comment)
Allows to remind current operators of a specified task instance.
|
void |
remind(IContext context,
IVersion version,
String comment)
Allows to remind current operators of a version.
|
void |
send(IContext context,
IResource resource,
IMailForm mailForm,
Collection entries,
String subject,
String content)
Sends a mail by specifying the subject and the content of the body.
|
void |
send(IContext context,
ITaskInstance taskInstance,
IMailForm mailForm,
Collection entries,
String subject,
String content)
Sends a mail by specifying the subject and the content of the body.
|
void |
send(IContext context,
ITaskInstance instance,
IMailForm form,
String comment)
Sends a mail using a specified mail form.
|
void |
send(IContext context,
IUser addressee,
ITaskInstance instance,
IMailForm form,
String comment)
Sends a mail using a specified mail form.
|
void |
send(IContext context,
IVersion version,
String formName,
Collection entries)
Allows to send a mail with a specific form to a mail recipient.
|
void |
send(IContext context,
IWorkflow workflow,
IResource resource,
String formName,
Collection entries)
Allows to send a mail.
|
void |
send(IContext context,
IWorkflow workflow,
String formName,
Collection entries)
Allows to send a mail.
|
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 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 DocumentModuleException
context
- The execution context.name
- The name of the agent.IAgent
object.DocumentModuleException
- default module exception.void execute(IAgent agent) throws DocumentModuleException
agent
- The IAgent
to execute.DocumentModuleException
- default module exception.void execute(IContext context, IAgent agent) throws DocumentModuleException
context
- The execution context.agent
- The IAgent
to execute.DocumentModuleException
- default module exception.IDataSourceReference getDataSourceReference(String name) throws DocumentModuleException
name
- The JNDI name.IDataSourceReference
object.DocumentModuleException
- default module exception.@Deprecated IJdbcReference getJdbcReference(IContext context, String name) throws DocumentModuleException
context
- The execution context.name
- The name of the external reference.IJdbcReference
object.DocumentModuleException
- default module exception.IConnectionDefinition getConnectionDefinition(IContext context, String name) throws DocumentModuleException
context
- The execution context.name
- The name of the external reference.IConnectionDefinition
object.DocumentModuleException
- default module exception.@Deprecated Collection<? extends IJdbcReference> getJdbcReferences(IContext context) throws DocumentModuleException
context
- The execution context.Collection
of IJdbcReference object.DocumentModuleException
- default module exception.Collection<? extends IConnectionDefinition> getConnectionDefinitions(IContext context) throws DocumentModuleException
context
- The execution context.Collection
of IConnectionDefinition object.DocumentModuleException
- default module exception.IList getList(IContext context, ICatalog catalog, String name) throws DocumentModuleException
context
- The execution context.catalog
- The ICatalog
representing the application.name
- The name of the list.IList
object.DocumentModuleException
- default module exception.Collection<? extends IList> getLists(IContext context, ICatalog catalog) throws DocumentModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
representing the application.IList
objectDocumentModuleException
- default module exception.ICatalog createCatalog(IContext context, String name, String label, IProject project) throws DocumentModuleException
context
- The execution context.name
- The system name of the catalog.label
- The label of the catalog.project
- The project of the catalogICatalog
object.DocumentModuleException
- default module exception.ICatalog getCatalog(IContext context, String name, int catalogType, IProject project) throws DocumentModuleException
context
- The execution context.name
- The system name of the catalog.catalogType
- The ICatalog.IType
of the catalog.project
- The project of the catalogICatalog
object.DocumentModuleException
- default module exception.Collection<? extends ICatalog> getCatalogs(IContext context) throws DocumentModuleException
ICatalog
object.context
- The execution context.project
- The project of the catalogICatalog
objects.DocumentModuleException
- default module exception.Collection<? extends ICatalog> getCatalogs(IContext context, int catalogType) throws DocumentModuleException
ICatalog
object.context
- The execution context.catalogType
- The ICatalog.IType
of the catalogs.project
- The project of the catalogICatalog
objects.DocumentModuleException
- default module exception.Collection<? extends ICatalog> getCatalogs(IContext context, IProject project) throws DocumentModuleException
ICatalog
object.context
- The execution context.catalogType
- The ICatalog.IType
of the catalogs.project
- The project of the catalogICatalog
objects.DocumentModuleException
- default module exception.IRole createRole(IContext context, ICatalog catalog, String name) throws DocumentModuleException
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.DocumentModuleException
- default module exception.IRole getRole(IContext context, ICatalog catalog, String name) throws DocumentModuleException
IRole
object by its system name.context
- The execution context.catalog
- The ICatalog
scope object.name
- The system name of the role.IRole
object.DocumentModuleException
- default module exception.Collection<? extends IRole> getRoles(IContext context, ICatalog catalog) throws DocumentModuleException
IRole
objects within a specified catalog.context
- The execution context.catalog
- The ICatalog
object.IRole
objects.DocumentModuleException
- default module exception.boolean isMemberOf(IUser user, IRole role) throws DocumentModuleException
IRole
object.user
- The IUser
object to check.role
- The IRole
object.IRole
object.DocumentModuleException
- default module exception.void addChild(IGroup group, IRole role) throws DocumentModuleException
group
- The group to add.role
- The role object.DocumentModuleException
- default module exception.void addMember(IUser user, IRole role) throws DocumentModuleException
user
- The user to add.role
- The role object.DocumentModuleException
- default module exception.IWorkflowContainer createWorkflowContainer(IContext context, ICatalog catalog, String name) throws DocumentModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the IWorkflowContainer
object.IWorkflowContainer
object.DocumentModuleException
- default module exception.IWorkflowContainer getWorkflowContainer(IContext context, ICatalog catalog, String name) throws DocumentModuleException
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.DocumentModuleException
- default module exception.Collection<? extends IWorkflowContainer> getWorkflowContainers(IContext context, ICatalog catalog) throws DocumentModuleException
IWorkflowContainer
objects within a ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.IWorkflowContainer
objects.DocumentModuleException
- default module exception.IWorkflow createWorkflow(IContext context, IWorkflowContainer container, String name, byte[] content) throws DocumentModuleException
context
- The execution context.container
- The IWorkflowContainer
object.name
- The system name of the workflow.content
- The XML content of the workflow.IWorkflow
object.DocumentModuleException
- default module exception.IWorkflow getWorkflow(IContext context, ICatalog catalog, String name) throws DocumentModuleException
IWorkflow
object and from its system name.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the workflow.IWorkflow
object.DocumentModuleException
- default module exception.Collection<? extends IWorkflow> getWorkflows(IContext context, ICatalog catalog) throws DocumentModuleException
context
- The execution context.catalog
- The ICatalog
object.IWorkflow
objects.DocumentModuleException
- default module exception.Collection<? extends IWorkflow> getWorkflows(IContext context, IWorkflowContainer container) throws DocumentModuleException
IWorkflow
objects within a IWorkflowContainer
object.context
- The execution context.container
- The IWorkflowContainer
object.IWorkflow
objects.DocumentModuleException
- default module exception.ICatalog getCatalog(IWorkflow workflow) throws DocumentModuleException
IWorkflow
object.workflow
- The workflow object.ICatalog
objectDocumentModuleException
- default module exception.IWorkflowContainer getWorkflowContainer(IWorkflow workflow) throws DocumentModuleException
IWorkflow
object.workflow
- The workflow object.IWorkflowContainer
objectDocumentModuleException
- default module exception.ITask getTask(IContext context, IWorkflow workflow, String name) throws DocumentModuleException
IWorkflow
object by its name.context
- The execution context.workflow
- The IWorkflow
object.name
- The system name of the ITask
object.ITask
object.DocumentModuleException
- default module exception.Collection<? extends IAction> getActions(IContext context, ITask task) throws DocumentModuleException
context
- The execution context.task
- The ITask
object.IAction
objects.DocumentModuleException
- default module exception.IAction getAction(IContext context, ITask task, String name) throws DocumentModuleException
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.DocumentModuleException
- default module exception.IWorkflow getWorkflow(ITask task) throws DocumentModuleException
task
- the ITask
object.IWorkflow
object.DocumentModuleException
- default module exception.IResourceDefinition getResourceDefinition(IContext context, ICatalog catalog, String name) throws DocumentModuleException
ICatalog
and its system name.context
- The execution context.catalog
- The ICatalog
object.name
- The system name of the resource definition.IResourceDefinition
object.DocumentModuleException
- default module exception.Collection<? extends IResourceDefinition> getResourceDefinitions(IContext context, ICatalog catalog) throws DocumentModuleException
ICatalog
context
- The execution context.catalog
- The ICatalog
object.IResourceDefinition
objects.DocumentModuleException
- default module exception.IView getView(IContext context, IResourceDefinition resourceDefinition, String viewName) throws DocumentModuleException
context
- The execution context.resourceDefinition
- The IResourceDefinition
object.viewName
- The name of the view.IView
object.DocumentModuleException
- default module exception.Collection<? extends IProperty> getProperties(IContext context, IResourceDefinition resourceDefinition) throws DocumentModuleException
context
- The execution context.resourceDefinition
- a IResourceDefinition
object.IProperty
objects.DocumentModuleException
- default module exception.IProperty getProperty(IContext context, IResourceDefinition resourceDefinition, String name) throws DocumentModuleException
IResourceDefinition
and its system name.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.name
- The system name of the property.IProperty
object.DocumentModuleException
- default module exception.String generateReference(IResourceDefinition resourceDefinition) throws DocumentModuleException
resourceDefinition
- The resource definition object.DocumentModuleException
- default module exception.String generateReference(IResourceDefinition resourceDefinition, String format) throws DocumentModuleException
resourceDefinition
- The IResourceDefinition
object.format
- The format to use to evaluate the next reference.DocumentModuleException
String generateReference(IResource resource) throws DocumentModuleException
resource
- The resource to be created.DocumentModuleException
- default module exception.String generateReference(IResource resource, String format) throws DocumentModuleException
resource
- The resource to be created.format
- The format to use to evaluate the next reference.DocumentModuleException
- default module exception.int generateChrono(IResourceDefinition resourceDefinition) throws DocumentModuleException
resourceDefinition
- The resource definition objectDocumentModuleException
- default module exception.IVersion createVersion(IContext context, IResourceDefinition resourceDefinition, String reference, String label) throws DocumentModuleException
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.IVersion
object.DocumentModuleException
- default module exception.IVersion createVersion(IContext context, IAttachmentTemplate attachmentTemplate, String reference) throws DocumentModuleException
IAttachmentTemplate
object, its reference.context
- The execution context.attachmentTemplate
- The IAttachmentTemplate
object.reference
- The reference to set.IVersion
object.DocumentModuleException
- default module exception.Collection<? extends IVersion> getVersions(IContext context, ICatalog catalog, String reference) throws DocumentModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.reference
- The reference of the workflow instance.IVersion
objects.DocumentModuleException
- default module exception.Collection<? extends IVersion> getVersions(IContext context, IResourceDefinition resourceDefinition, String reference) throws DocumentModuleException
IWorkflow
object.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.reference
- The reference of the version.IVersion
objects.DocumentModuleException
- default module exception.Collection<? extends IVersion> getVersions(IContext context, ICatalog catalog) throws DocumentModuleException
ICatalog
object.context
- The execution context.catalog
- The ICatalog
object.IVersion
objects.DocumentModuleException
- default module exception.Collection<? extends IVersion> getVersions(IContext context, IWorkflow workflow) throws DocumentModuleException
IWorkflow
object.context
- The execution context.workflow
- The IWorkflow
object.IVersion
objects.DocumentModuleException
- default module exception.Collection<IVersion> getVersions(IContext context, ITask task) throws DocumentModuleException
ITask
object.context
- The execution context.task
- The ITask
object.IVersion
objects.DocumentModuleException
- default module exception.void setValue(IResource resource, String propertyName, Object value) throws DocumentModuleException
resource
- The IVersion
object.propertyName
- The system name of the property.value
- The value object to set.DocumentModuleException
- default module exception.Object getValue(IResource resource, String propertyName) throws DocumentModuleException
resource
- The IVersion
object.propertyName
- The system name of the property.Object
object.DocumentModuleException
- default module exception.void setList(IResource resource, String propertyName, Collection values) throws DocumentModuleException
resource
- The IVersion
object.propertyName
- The system name of the property.values
- a collection of either String
or Option
.DocumentModuleException
- default module exception.Collection getList(IResource resource, String propertyName) throws DocumentModuleException
resource
- The IVersion
object.propertyName
- The system name of the property.String
or Option
.DocumentModuleException
- default module exception.void abort(IContext context, IVersion version, String comment) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.comment
- The reason of the abortion. This comment will appear in the history entries.DocumentModuleException
- default module exception.void remind(IContext context, IVersion version, String comment) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.comment
- The reason of the reminder. This comment will appear in the history entries.DocumentModuleException
- default module exception.void remind(IContext context, ITaskInstance taskInstance, String comment) throws DocumentModuleException
context
- The execution context.taskInstance
- The ITaskInstance
object.comment
- The reason of the reminder. This comment will appear in the history entries.DocumentModuleException
- default module exception.void send(IContext context, IVersion version, String formName, Collection entries) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.formName
- The system name of the form to use.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.DocumentModuleException
- default module exception.void send(IContext context, IWorkflow workflow, IResource resource, String formName, Collection entries) throws DocumentModuleException
context
- The execution context.workflow
- The IWorkflow
object.resource
- The IResourceInstance
object.formName
- The system name of the form to use.entries
- A collection of IUser
, IGroup
, InternetAddress
or String
objects.DocumentModuleException
- default module exception.void send(IContext context, IWorkflow workflow, String formName, Collection entries) throws DocumentModuleException
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.DocumentModuleException
- default module exception.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IVersion version) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.ITaskInstance
DocumentModuleException
- default module exception.Collection<? extends ITaskInstance> getTaskInstances(IContext context, IVersion version, String name) throws DocumentModuleException
ITask
.context
- The execution context.version
- The IVersion
object.name
- The system name of ITask to use as a filter.ITaskInstance
DocumentModuleException
- default module exception.Collection<? extends ITaskInstance> getManualTaskInstances(IContext context, IVersion version) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.ITaskInstance
DocumentModuleException
- default module exception.Collection<? extends ITaskInstance> getStartedTaskInstances(IContext context, IVersion version) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.ITaskInstance
DocumentModuleException
- default module exception.Collection<? extends ITaskInstance> getEndedTaskInstances(IContext context, IVersion version) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.ITaskInstance
DocumentModuleException
- default module exception.Collection<? extends ITaskInstance> getAbortedTaskInstances(IContext context, IVersion version) throws DocumentModuleException
context
- The execution context.instance
- The IVersion
object.ITaskInstance
DocumentModuleException
- default module exception.ITaskInstance getTaskInstance(IContext context, IVersion version, String name) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.name
- The system name of a ITask
object.ITaskInstance
object.DocumentModuleException
- default module exception.ITaskInstance getOneTaskInstance(IContext context, IVersion version) throws DocumentModuleException
context
- The execution context.version
- The IVersion
object.ITaskInstance
object.DocumentModuleException
- default module exception.ITask getTask(ITaskInstance instance) throws DocumentModuleException
instance
- The ITaskInstance
object.ITask
object.DocumentModuleException
- default module exception.Collection<? extends IOperator> getOperators(ITaskInstance instance) throws DocumentModuleException
instance
- the ITaskInstance
object.IOperator
objects.DocumentModuleException
- default module exception.void end(IContext context, ITaskInstance instance, IAction action, String comment) throws DocumentModuleException
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.DocumentModuleException
- default module exception.void end(IContext context, IUser addressee, ITaskInstance instance, IAction action, String comment) throws DocumentModuleException
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.DocumentModuleException
- default module exception.void send(IContext context, ITaskInstance instance, IMailForm form, String comment) throws DocumentModuleException
context
- The execution context.instance
- The ITaskInstance
object.form
- The IMailForm
object.comment
- The comment which will be displayed in the history entries.DocumentModuleException
- default module exception.void send(IContext context, IUser addressee, ITaskInstance instance, IMailForm form, String comment) throws DocumentModuleException
context
- The execution context.addressee
- instance
- The ITaskInstance
object.form
- The IMailForm
object.comment
- The comment which will be displayed in the history entries.DocumentModuleException
- default module exception. default module exception.String evaluatedHtml(IResource resource, IMailForm mailForm) throws DocumentModuleException
resource
- The IResource
object to evaluate with.mailForm
- The IMailForm
object.DocumentModuleException
- default module exception. default module exception.String evaluatedHtml(ITaskInstance taskInstance, IMailForm mailForm) throws DocumentModuleException
taskInstance
- The ITaskInstance
object to evaluate with.mailForm
- The IMailForm
object.DocumentModuleException
- default module exception. default module exception.void send(IContext context, IResource resource, IMailForm mailForm, Collection entries, String subject, String content) throws DocumentModuleException
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.DocumentModuleException
- default module exception. default module exception.void send(IContext context, ITaskInstance taskInstance, IMailForm mailForm, Collection entries, String subject, String content) throws DocumentModuleException
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.DocumentModuleException
- default module exception. default module exception.IForm getForm(IContext context, IWorkflow workflow, String formName) throws DocumentModuleException
context
- The execution context.workflow
- The IWorkflow
object.formName
- The name of the form.IForm
object.DocumentModuleException
- default module exception. default module exception.IForm getForm(IContext context, IResourceDefinition resourceDefinition, String formName) throws DocumentModuleException
context
- The execution context.resourceDefinition
- The IResourceDefinition
object.formName
- The name of the form.IForm
object.DocumentModuleException
- default module exception. default module exception.IForm getForm(IContext context, ITask task, String formName) throws DocumentModuleException
context
- The execution context.task
- The ITask
object.formName
- The name of the form.IForm
object.DocumentModuleException
- default module exception. default module exception.IForm getForm(IContext context, IAction action, String formName) throws DocumentModuleException
context
- The execution context.action
- The IAction
object.formName
- The name of the form.IForm
object.DocumentModuleException
- default module exception. default module exception.IForm getSubForm(IContext context, IWorkflow workflow, String formName) throws DocumentModuleException
context
- The execution context.workflow
- The IWorkflow
object.formName
- The name of the form.IForm
object.DocumentModuleException
- default module exception. default module exception.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow) throws DocumentModuleException
IWorkflow
object.context
- The execution context.workflow
- The IWorkflow
object.IMailForm
objects.DocumentModuleException
- default module exception. default module exception.IMailForm getMailForm(IContext context, IWorkflow workflow, String mailFormName) throws DocumentModuleException
context
- The execution context.workflow
- The IWorkflow
object.mailFormName
- The name of the form.IMailForm
object.DocumentModuleException
- default module exception. default module exception.Collection<? extends IMailForm> getMailForms(IContext context, IWorkflow workflow, String startsWith) throws DocumentModuleException
context
- The execution context.workflow
- The IWorkflow
object.startsWith
- The start part of the form name.IMailForm
objects.DocumentModuleException
- default module exception. default module exception.IResource createGenericResource() throws DocumentModuleException
IResource
object.DocumentModuleException
- default module exception.Collection<? extends IAttachment> getAttachments(IResource resource, String propertyName) throws DocumentModuleException
resource
- The main resource object.propertyName
- The system name of the property.IAttachment
objects.DocumentModuleException
- default module exception.IAttachment getAttachment(IResource resource, String propertyName, String fileName) throws DocumentModuleException
resource
- The main resource object.propertyName
- The system name of the property.fileName
- The file name to retrieve.IAttachment
object.DocumentModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, File file) throws DocumentModuleException
resource
- The main resource object.propertyName
- The system name of the property.file
- The File
object.IAttachment
object.DocumentModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, String fileName, InputStream inputStream) throws DocumentModuleException
resource
- The main resource object.propertyName
- The system name of the property.fileName
- The name of the fileinputStream
- The InputStream
object.IAttachment
object.DocumentModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, String fileName, String fullPath) throws DocumentModuleException
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.DocumentModuleException
- default module exception.IAttachment addAttachment(IResource resource, String propertyName, IAttachment attachment) throws DocumentModuleException
resource
- The main resource object.propertyName
- The system name of the property.attachment
- The IAttachment
to add.IAttachment
object.DocumentModuleException
- default module exception.IUser getExternalUser(IResource resource, String propertyName) throws DocumentModuleException
IUser
object from a single user selector property.resource
- The main resource object.propertyName
- The system name of the property.IUser
object.DocumentModuleException
- default module exception.IGroup getExternalGroup(IResource resource, String propertyName) throws DocumentModuleException
IGroup
object from a single group selector property.resource
- The main resource object.propertyName
- The system name of the property.IGroup
object.DocumentModuleException
- default module exception.ILocalization getExternalLocalization(IResource resource, String propertyName) throws DocumentModuleException
ILocalization
object from a single localization selector property.resource
- The main resource object.propertyName
- The system name of the property.ILocalization
object.DocumentModuleException
- default module exception.IOrganization getExternalOrganization(IResource resource, String propertyName) throws DocumentModuleException
IOrganization
object from a single organization selector property.resource
- The main resource object.propertyName
- The system name of the property.IOrganization
object.DocumentModuleException
- default module exception.IFile getExternalFile(IResource resource, String propertyName) throws DocumentModuleException
IFile
object from a single file selector property.resource
- The main resource object.propertyName
- The system name of the property.IFile
object.DocumentModuleException
- default module exception.IFolder getExternalFolder(IResource resource, String propertyName) throws DocumentModuleException
IFolder
object from a single folder selector property.resource
- The main resource object.propertyName
- The system name of the property.IFolder
object.DocumentModuleException
- default module exception.ILibrary getExternalLibrary(IResource resource, String propertyName) throws DocumentModuleException
ILibrary
object from a single library selector property.resource
- The main resource object.propertyName
- The system name of the property.ILibrary
object.DocumentModuleException
- default module exception.Collection getExternalElements(IResource resource, String propertyName) throws DocumentModuleException
IElement
objects from a multiple selector property.resource
- The main resource object.propertyName
- The system name of the property.IElement
objects.DocumentModuleException
- default module exception.void setExternalUser(IResource resource, String propertyName, IUser user) throws DocumentModuleException
IUser
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.user
- A IUser
object.DocumentModuleException
- default module exception.void setExternalGroup(IResource resource, String propertyName, IGroup group) throws DocumentModuleException
IGroup
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.group
- A IGroup
object.DocumentModuleException
- default module exception.void setExternalLocalization(IResource resource, String propertyName, ILocalization localization) throws DocumentModuleException
ILocalization
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.localization
- A ILocalization
object.DocumentModuleException
- default module exception.void setExternalOrganization(IResource resource, String propertyName, IOrganization organization) throws DocumentModuleException
IOrganization
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.organization
- A IOrganization
object.DocumentModuleException
- default module exception.void setExternalFile(IResource resource, String propertyName, IFile file) throws DocumentModuleException
IFile
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.file
- A IFile
object.DocumentModuleException
- default module exception.void setExternalFolder(IResource resource, String propertyName, IFolder folder) throws DocumentModuleException
IFolder
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.folder
- A IFolder
object.DocumentModuleException
- default module exception.void setExternalLibrary(IResource resource, String propertyName, ILibrary library) throws DocumentModuleException
ILibrary
to a single selector property.resource
- The main resource object.propertyName
- The system name of the property.library
- A ILibrary
object.DocumentModuleException
- default module exception.void setExternalElements(IResource resource, String propertyName, Collection elements) throws DocumentModuleException
IElement
to a multiple selector property.resource
- The main resource object.propertyName
- The system name of the property.elements
- A collection of IElement
objects.DocumentModuleException
- default module exception.ISearchController getSearchController() throws DocumentModuleException
ISearchController
object.ISearchController
object.DocumentModuleException
- default module exception.@Deprecated ISearchController getSearchController(IJdbcReference reference) throws DocumentModuleException
reference
- The IJdbcReference
object.ISearchController
object.DocumentModuleException
- default module exception.ISearchController getSearchController(IConnectionDefinition connectionDefinition) throws DocumentModuleException
connectionDefinition
- The IConnectionDefinition
object.IConnectionDefinition
object.DocumentModuleException
- default module exception.ISearchController getSearchController(IDataSourceReference reference) throws DocumentModuleException
reference
- The IDataSourceReference
object.ISearchController
object.DocumentModuleException
- default module exception.ISecurityController getSecurityController(ISecuritySupport securitySupport) throws DocumentModuleException
securitySupport
- Any IElement that implements ISecuritySupport interface.ISecurityController
object.DocumentModuleException
- default module exception.ITransformer getTransformer() throws DocumentModuleException
IResource
object.ITransformer
object.DocumentModuleException
- default module exception.ITaskInstanceTransformer getTaskInstanceTransformer() throws DocumentModuleException
ITaskInstance
object.ITaskInstanceTransformer
object.DocumentModuleException
- default module exception.ITaskViewTransformer getTaskViewTransformer() throws DocumentModuleException
ITaskInstance
objects.ITaskViewTransformer
object.DocumentModuleException
- default module exception.IResourceViewTransformer getResourceViewTransformer() throws DocumentModuleException
IResource
objects.IResourceViewTransformer
object.DocumentModuleException
- default module exception.IWorkflowViewTransformer getWorkflowViewTransformer() throws DocumentModuleException
IWorkflow
objects.IWorkflowViewTransformer
object.DocumentModuleException
- default module exception.IWorkflowContainerViewTransformer getWorkflowContainerViewTransformer() throws DocumentModuleException
IWorkflowContainer
objects.IWorkflowContainerViewTransformer
object.DocumentModuleException
- default module exception.ICatalogViewTransformer getCatalogViewTransformer() throws DocumentModuleException
ICatalog
objects.ICatalogViewTransformer
object.DocumentModuleException
- default module exception.ISearchViewTransformer getSearchViewTransformer() throws DocumentModuleException
IResource
objects.ISearchViewTransformer
object.DocumentModuleException
- default module exception.IGenericViewTransformer getGenericViewTransformer() throws DocumentModuleException
DocumentModuleException
IViewController getViewController() throws DocumentModuleException
IResource
objects through their properties.IViewController
object.DocumentModuleException
- default module exception.IViewController getViewController(Class natureClass) throws DocumentModuleException
IResource
objects through their properties.natureClass
- : The class of the searched objects IVersion
IViewController
object.DocumentModuleException
- default module exception.IViewController getViewController(InputStream inputStream) throws DocumentModuleException
IResource
objects through their properties.inputStream
- The java.io.InputStream XML entry.IViewController
object.DocumentModuleException
- default module exception.IViewController getViewController(IContext context, InputStream inputStream) throws DocumentModuleException
IResource
objects through their properties.context
- The execution context.inputStream
- The java.io.InputStream XML entry.IViewController
object.DocumentModuleException
- default module exception.IDelegationController getDelegationController() throws DocumentModuleException
IDelegationSupport
objects.IDelegationController
object.DocumentModuleException
- default module exception.IArchivingController getArchivingController() throws DocumentModuleException
IElement
objects.IArchivingController
object.DocumentModuleException
- default module exception.IUser getUserByLogin(String login) throws DocumentModuleException
login
- The login of the userIUser
object.DocumentModuleException
- default module exception.ICatalog getCatalog(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.ICatalog
object.DocumentModuleException
- default module exception.IUser getUser(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IUser
object.DocumentModuleException
- default module exception.IRole getRole(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IRole
object.DocumentModuleException
- default module exception.IWorkflow getWorkflow(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IWorkflow
object.DocumentModuleException
- default module exception.ITask getTask(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.ITask
object.DocumentModuleException
- default module exception.IAction getAction(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IAction
object.DocumentModuleException
- default module exception.IResourceDefinition getResourceDefinition(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IResourceDefinition
object.DocumentModuleException
- default module exception.IProperty getProperty(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IProperty
object.DocumentModuleException
- default module exception.IVersion getVersion(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IVersion
object.DocumentModuleException
- default module exception.ITaskInstance getTaskInstance(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.ITaskInstance
object.DocumentModuleException
- default module exception.IOperator getOperator(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IOperator
object.DocumentModuleException
- default module exception.IResource getResource(IStorageKey key) throws DocumentModuleException
key
- A IStorageKey
object.IResource
object.DocumentModuleException
- default module exception.ICatalog getCatalog(IResourceDefinition resourceDefinition) throws DocumentModuleException
ICatalog
object from a resource definitino.resourceDefinition
- A resource definition.ICatalog
object.DocumentModuleException
- default module exception.Collection<? extends IResource> getResources(IContext context, IResourceDefinition resourceDefinition) throws DocumentModuleException
IResource
objects from a resource definition.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.IResources
object.DocumentModuleException
- default module exception.Collection<? extends IResource> getResources(IContext context, ICatalog catalog) throws DocumentModuleException
IResource
objects from a catalogcontext
- The execution context.catalog
- The ICatalog
object.IResources
object.DocumentModuleException
- default module exception.IDataUnit createDataUnit(IContext context, IResourceDefinition resourceDefinition, String reference, String label) throws DocumentModuleException
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.IDataUnit
object.DocumentModuleException
- default module exception.IDataUnit createDataUnit(IContext context, IResourceDefinition resourceDefinition, String reference) throws DocumentModuleException
IResourceDefinition
object, its reference.context
- The execution context.resourceDefinition
- The IResourceDefinition
object.reference
- The reference to set.IDataUnit
object.DocumentModuleException
- 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.Copyright © 2022 Visiativ. All rights reserved.