|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkflowInstanceRepository
Describe your class here
.| Field Summary | |
|---|---|
static String |
X_POINT_ID
|
| Method Summary | |
|---|---|
void |
addWorkflowInstance(WorkflowInstance wInst)
Persists the specified WorkflowInstance to the instance
repository. |
int |
getNumWorkflowInstances()
Gets the number of WorkflowInstances with any status
being managed by this WorkflowInstanceRepository. |
int |
getNumWorkflowInstancesByStatus(String status)
Gets the number of WorkflowInstances with the given
status being managed by this WorkflowInstanceRepository. |
WorkflowInstance |
getWorkflowInstanceById(String workflowInstId)
Returns the WorkflowInstances with the specified
workflowInstId. |
List |
getWorkflowInstances()
|
List |
getWorkflowInstancesByStatus(String status)
Returns a List of WorkflowInstances, with the specified
status String. |
void |
removeWorkflowInstance(WorkflowInstance wInst)
Removes the specified WorkflowInstance from the instance
repository. |
void |
updateWorkflowInstance(WorkflowInstance wInst)
Updates and persists the specified WorkflowInstance to the
instance repository. |
| Methods inherited from interface org.apache.oodt.cas.workflow.util.Pagination |
|---|
getFirstPage, getLastPage, getNextPage, getPagedWorkflows, getPagedWorkflows, getPrevPage |
| Field Detail |
|---|
static final String X_POINT_ID
| Method Detail |
|---|
void addWorkflowInstance(WorkflowInstance wInst)
throws InstanceRepositoryException
WorkflowInstance to the instance
repository.
wInst - The workflow instance to persist.
InstanceRepositoryException - If any error occurs.
void updateWorkflowInstance(WorkflowInstance wInst)
throws InstanceRepositoryException
WorkflowInstance to the
instance repository.
wInst - The workflow instance to update and persist.
InstanceRepositoryException - If any error occurs.
void removeWorkflowInstance(WorkflowInstance wInst)
throws InstanceRepositoryException
WorkflowInstance from the instance
repository.
wInst - The workflow instance to remove.
InstanceRepositoryException - If any error occurs.
WorkflowInstance getWorkflowInstanceById(String workflowInstId)
throws InstanceRepositoryException
Returns the WorkflowInstances with the specified
workflowInstId.
workflowInstId - The ID of the WorkflowInstance to return.
WorkflowInstance.
InstanceRepositoryException - If any error occurs.
List getWorkflowInstances()
throws InstanceRepositoryException
List of WorkflowInstances that this
WorkflowEngine is managing.
InstanceRepositoryException - If any error occurs.
List getWorkflowInstancesByStatus(String status)
throws InstanceRepositoryException
Returns a List of WorkflowInstances, with the specified
status String.
status - A string representation of the status of the
WorkflowInstance.
List of WorkflowInstances, with the specified
status String.
InstanceRepositoryException - If there is any error that occurs.
int getNumWorkflowInstances()
throws InstanceRepositoryException
WorkflowInstances with any status
being managed by this WorkflowInstanceRepository.
WorkflowInstances associated with any
status being managed by this
WorkflowInstanceRepository.
InstanceRepositoryException
int getNumWorkflowInstancesByStatus(String status)
throws InstanceRepositoryException
WorkflowInstances with the given
status being managed by this WorkflowInstanceRepository.
status - The status to obtain the number of WorkflowInstances
for.
WorkflowInstances with the given
status.
InstanceRepositoryException - If there is any error that occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||