Package org.ametys.plugins.bpm
Interface WorkflowProcess
- All Known Implementing Classes:
JCRWorkflowProcess
public interface WorkflowProcess
Common interface for a Process in the Business Process Management
-
Method Summary
Modifier and TypeMethodDescriptionGet the creation date of the processGet the creator of the processGet the process descriptiongetRootAttachments
(boolean create) Retrieves the attachments root nodegetSite()
Get the site where the process was createdgetTitle()
Get the process titleGet the workflow linked to this processvoid
setCreationDate
(Date creationDate) Set the creation date of the processvoid
setCreator
(UserIdentity creator) Set the creator of the processvoid
setDescription
(String description) Set the process descriptionvoid
Set the site where the process was createdvoid
Set the process titlevoid
setWorkflow
(String workflowId) Set the workflow linked to this process
-
Method Details
-
getTitle
Get the process title- Returns:
- The process title
- Throws:
AmetysRepositoryException
- If a repository error occurred
-
setTitle
Set the process title- Parameters:
title
- The title- Throws:
AmetysRepositoryException
- If a repository error occurred
-
getWorkflow
Get the workflow linked to this process- Returns:
- The workflow id
- Throws:
AmetysRepositoryException
- If a repository error occurred
-
setWorkflow
Set the workflow linked to this process- Parameters:
workflowId
- The workflow id- Throws:
AmetysRepositoryException
- If a repository error occurred
-
getDescription
Get the process description- Returns:
- The description
- Throws:
AmetysRepositoryException
- If a repository error occurred
-
setDescription
Set the process description- Parameters:
description
- The description- Throws:
AmetysRepositoryException
- If a repository error occurred
-
getCreator
Get the creator of the process- Returns:
- The creator
- Throws:
AmetysRepositoryException
- If a repository error occurred
-
setCreator
Set the creator of the process- Parameters:
creator
- The creator- Throws:
AmetysRepositoryException
- If a repository error occurred
-
getSite
Get the site where the process was created- Returns:
- The site
- Throws:
AmetysRepositoryException
- If a repository error occurred
-
setSite
Set the site where the process was created- Parameters:
site
- The site- Throws:
AmetysRepositoryException
- If a repository error occurred
-
getCreationDate
Get the creation date of the process- Returns:
- The creation date
- Throws:
AmetysRepositoryException
- If a repository error occurred
-
setCreationDate
Set the creation date of the process- Parameters:
creationDate
- The creation date- Throws:
AmetysRepositoryException
- If a repository error occurred
-
getRootAttachments
Retrieves the attachments root node- Parameters:
create
- True to create the node if it does not exist- Returns:
- The attachments root node.
- Throws:
AmetysRepositoryException
- if an error occurs.
-