public interface WorkflowProcess
Modifier and Type | Method and Description |
---|---|
Date |
getCreationDate()
Get the creation date of the process
|
UserIdentity |
getCreator()
Get the creator of the process
|
String |
getDescription()
Get the process description
|
ResourceCollection |
getRootAttachments(boolean create)
Retrieves the attachments root node
|
String |
getSite()
Get the site where the process was created
|
String |
getTitle()
Get the process title
|
String |
getWorkflow()
Get the workflow linked to this process
|
void |
setCreationDate(Date creationDate)
Set the creation date of the process
|
void |
setCreator(UserIdentity creator)
Set the creator of the process
|
void |
setDescription(String description)
Set the process description
|
void |
setSite(String site)
Set the site where the process was created
|
void |
setTitle(String title)
Set the process title
|
void |
setWorkflow(String workflowId)
Set the workflow linked to this process
|
String getTitle() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setTitle(String title) throws AmetysRepositoryException
title
- The titleAmetysRepositoryException
- If a repository error occurredString getWorkflow() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setWorkflow(String workflowId) throws AmetysRepositoryException
workflowId
- The workflow idAmetysRepositoryException
- If a repository error occurredString getDescription() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setDescription(String description) throws AmetysRepositoryException
description
- The descriptionAmetysRepositoryException
- If a repository error occurredUserIdentity getCreator() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setCreator(UserIdentity creator) throws AmetysRepositoryException
creator
- The creatorAmetysRepositoryException
- If a repository error occurredString getSite() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setSite(String site) throws AmetysRepositoryException
site
- The siteAmetysRepositoryException
- If a repository error occurredDate getCreationDate() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setCreationDate(Date creationDate) throws AmetysRepositoryException
creationDate
- The creation dateAmetysRepositoryException
- If a repository error occurredResourceCollection getRootAttachments(boolean create) throws AmetysRepositoryException
create
- True to create the node if it does not existAmetysRepositoryException
- if an error occurs.