|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBpmProcess
Represents Ad-hoc workflow process instance
Field Summary | |
---|---|
static int |
PROCESS_STATUS_CANCELLED
Process cancelled |
static int |
PROCESS_STATUS_ENDED
Process successfully completed |
static int |
PROCESS_STATUS_FAILED
Process failed |
static int |
PROCESS_STATUS_RESUMED
Process Resumed |
static int |
PROCESS_STATUS_STARTED
Process started and running |
static int |
PROCESS_STATUS_SUSPENDED
Process suspended |
static int |
PROCESS_STATUS_UNDEFINED
Process status underfined (for newly created processes) |
Method Summary | |
---|---|
void |
addError(String errorMessage,
String errorStackTrace,
String serviceName)
Adds error to this step |
IBpmProcessStep |
addStep(String stepID)
Adds new step to the process instance |
IBpmProcessTransition |
addTransition(String fromStepID,
String toStepID)
Adds transition for this process instance |
void |
deleteStep(String stepID)
Deletes a step from process |
String |
getCreatedBy()
Returns user who created a process |
Date |
getCreatedDate()
Returns process creation date |
List |
getErrors()
Returns list of errors attached to this step |
String |
getID()
Returns unique ID for this process instance |
String |
getLastModifiedBy()
Returns user who modified a process |
Date |
getLastModifiedDate()
Returns process modification date |
String |
getName()
Returns name for this process instance |
String |
getParentProcessID()
Returns parent process instance ID (if set) |
String |
getParentStepID()
Returns parent process stepID (if set) |
IBpmProcessDefinition |
getProcessDefinition()
Returns process definition for this instance |
int |
getStatus()
Returns status of this process instance |
IBpmProcessStep |
getStep(String stepID)
Returns step by its ID or null if not found |
List |
getSteps()
Returns list of steps |
List |
getTransitions()
Returns list of transitions |
void |
setName(String name)
Sets name for this process instance |
void |
setStatus(int status)
Sets status for process instance |
Field Detail |
---|
static final int PROCESS_STATUS_UNDEFINED
static final int PROCESS_STATUS_STARTED
static final int PROCESS_STATUS_ENDED
static final int PROCESS_STATUS_FAILED
static final int PROCESS_STATUS_SUSPENDED
static final int PROCESS_STATUS_RESUMED
static final int PROCESS_STATUS_CANCELLED
Method Detail |
---|
IBpmProcessDefinition getProcessDefinition() throws Exception
Exception
String getID()
String getParentProcessID()
String getParentStepID()
Date getCreatedDate()
Date getLastModifiedDate()
String getCreatedBy()
String getLastModifiedBy()
String getName()
void setName(String name)
int getStatus()
void setStatus(int status)
IBpmProcessStep getStep(String stepID) throws Exception
stepID
-
Exception
IBpmProcessStep addStep(String stepID) throws Exception
stepID
-
Exception
void deleteStep(String stepID) throws Exception
stepID
-
Exception
IBpmProcessTransition addTransition(String fromStepID, String toStepID) throws Exception
fromStepID
- toStepID
-
Exception
List getTransitions() throws Exception
Exception
List getSteps() throws Exception
Exception
List getErrors() throws Exception
Exception
void addError(String errorMessage, String errorStackTrace, String serviceName) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |