@Entity public class WorkspaceWorkflow extends Object implements Serializable
Workflow
s are intended to be attached to a business object like
a document or a part for instance.
However sometimes we just need to start a workflow not linked to a particular document or part.
This especially happens when we want to use a workflow to manage an object living in an external
system.
Hence this class wraps the necessary data for managing a running workflow virtually attached to
an external object like the ordered list of aborted workflows. Moreover for convenience access,
instances of this class have a string based id, unique in the context of a specific workspace.Constructor and Description |
---|
WorkspaceWorkflow() |
WorkspaceWorkflow(Workspace workspace,
String id,
Workflow workflow) |
Modifier and Type | Method and Description |
---|---|
void |
addAbortedWorkflows(Workflow abortedWorkflow) |
List<Workflow> |
getAbortedWorkflows() |
String |
getId() |
Workflow |
getWorkflow() |
Workspace |
getWorkspace() |
String |
getWorkspaceId() |
void |
setAbortedWorkflows(List<Workflow> abortedWorkflows) |
void |
setId(String id) |
void |
setWorkflow(Workflow workflow) |
void |
setWorkspace(Workspace workspace) |
public Workspace getWorkspace()
public void setWorkspace(Workspace workspace)
public String getWorkspaceId()
public String getId()
public void setId(String id)
public Workflow getWorkflow()
public void setWorkflow(Workflow workflow)
public void addAbortedWorkflows(Workflow abortedWorkflow)
Copyright © 2017 DocDoku. All rights reserved.