public interface Workflow
Modifier and Type | Method and Description |
---|---|
GroupIdentity[] |
getAllowedGroups()
Get the list of groups allowed to create a process from this workflow
|
UserIdentity[] |
getAllowedUsers()
Get the list of users allowed to create a process from this workflow
|
String |
getDescription()
Get the workflow description
|
UserIdentity |
getOwner()
Get the owner of the workflow
|
ResourceCollection |
getRootAttachments()
Retrieves the attachments root node
|
String |
getTitle()
Get the workflow title
|
Object |
getVariable(String variableName)
Get the value of a variable of the workflow
|
String |
getWorkflowDefinition()
Get the workflow definition linked to this workflow
|
void |
setAllowedGroups(GroupIdentity[] allowedGroups)
Set the list of groups allowed to create a process from this workflow
|
void |
setAllowedUsers(UserIdentity[] allowedUsers)
Set the list of users allowed to create a process from this workflow
|
void |
setDescription(String description)
Set the workflow description
|
void |
setOwner(UserIdentity owner)
Set the owner of the workflow
|
void |
setTitle(String title)
Set the workflow title
|
void |
setVariable(String variableName,
Object value)
Set the value of a variable of the workflow
|
void |
setWorkflowDefinition(String workflowDefId)
Set the workflow definition linked to this workflow
|
String getTitle() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setTitle(String title) throws AmetysRepositoryException
title
- The titleAmetysRepositoryException
- If a repository error occurredString getWorkflowDefinition() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setWorkflowDefinition(String workflowDefId) throws AmetysRepositoryException
workflowDefId
- The workflow definition 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 occurredObject getVariable(String variableName) throws AmetysRepositoryException
variableName
- The name of the variable to retrieveAmetysRepositoryException
- If a repository error occurredvoid setVariable(String variableName, Object value) throws AmetysRepositoryException
variableName
- The name of the variable to setvalue
- The value to setAmetysRepositoryException
- If a repository error occurredUserIdentity getOwner() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setOwner(UserIdentity owner) throws AmetysRepositoryException
owner
- The ownerAmetysRepositoryException
- If a repository error occurredUserIdentity[] getAllowedUsers() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setAllowedUsers(UserIdentity[] allowedUsers) throws AmetysRepositoryException
allowedUsers
- The list of allowed usersAmetysRepositoryException
- If a repository error occurredGroupIdentity[] getAllowedGroups() throws AmetysRepositoryException
AmetysRepositoryException
- If a repository error occurredvoid setAllowedGroups(GroupIdentity[] allowedGroups) throws AmetysRepositoryException
allowedGroups
- The list of allowed groupsAmetysRepositoryException
- If a repository error occurredResourceCollection getRootAttachments() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.