|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBpmProcessStep
Interface which represents process instance step
Field Summary | |
---|---|
static int |
STEP_STATUS_CANCELLED
Process cancelled |
static int |
STEP_STATUS_ENDED
Step successfully completed |
static int |
STEP_STATUS_FAILED
Step failed |
static int |
STEP_STATUS_RESUMED
Process Resumed |
static int |
STEP_STATUS_STARTED
Step was started |
static int |
STEP_STATUS_SUSPENDED
Process suspended |
static int |
STEP_STATUS_UNDEFINED
Step status is undefined (for newly added steps) |
Method Summary | |
---|---|
void |
addError(String errorMessage,
String errorStackTrace,
String serviceName)
Adds error to this step |
void |
addTaskUser(String taskUser)
Adds a task user for this step |
IBpmProcessCustomFields |
getCustomFields()
Returns custom fields for this step |
Date |
getEndDate()
Date/time when this step was ended |
List |
getErrors()
Returns list of errors attached to this step |
String |
getName()
Returns step name |
IBpmProcess |
getProcess()
Returns process instance for this step |
Date |
getStartDate()
Date/time when this step was started |
int |
getStatus()
Returns status of this step |
IBpmProcessStepDefinition |
getStepDefinition()
Returns step definition for this step |
String |
getStepID()
Returns this stepID |
String |
getTaskID()
Returns taskID for this step |
String |
getTaskStatus()
Returns task status for this step |
String |
getTaskTypeID()
Returns taskTypeID for this step |
List |
getTaskUsers()
Returns list of all task users for this step |
void |
removeTaskUser(String taskUser)
Removes task user from this step |
void |
setName(String name)
Sets step name |
void |
setStatus(int status)
Sets status of this step |
void |
setTaskID(String taskID)
Sets taskID for this step |
void |
setTaskStatus(String taskStatus)
Sets task status for this step |
void |
setTaskTypeID(String taskTypeID)
Sets taskTypeID for this step |
Field Detail |
---|
static final int STEP_STATUS_UNDEFINED
static final int STEP_STATUS_STARTED
static final int STEP_STATUS_ENDED
static final int STEP_STATUS_FAILED
static final int STEP_STATUS_SUSPENDED
static final int STEP_STATUS_RESUMED
static final int STEP_STATUS_CANCELLED
Method Detail |
---|
IBpmProcess getProcess()
IBpmProcessStepDefinition getStepDefinition() throws Exception
Exception
String getStepID() throws Exception
Exception
Date getStartDate() throws Exception
Exception
Date getEndDate() throws Exception
Exception
int getStatus()
void setStatus(int status)
status
- String getName()
void setName(String name)
String getTaskID()
void setTaskID(String taskID)
taskID
- String getTaskStatus()
void setTaskStatus(String taskStatus)
taskStatus
- String getTaskTypeID()
void setTaskTypeID(String taskTypeID)
taskTypeID
- List getTaskUsers()
void addTaskUser(String taskUser)
taskUser
- void removeTaskUser(String taskUser)
taskUser
- IBpmProcessCustomFields getCustomFields()
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 |