|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.workflow.query.RequesterQueryStatement
Class providing process query logic based on a requester. Different configurable parameters are available to refine the query, such as a time frame and process type. Executing this query will search workflow processes.
Field Summary |
---|
Fields inherited from interface com.ibm.itim.workflow.query.WorkflowQueryStatement |
---|
DBOWNER |
Constructor Summary | |
---|---|
RequesterQueryStatement(ProcessParticipant requester)
Constructs with a requester as its context. |
Method Summary | |
---|---|
java.lang.String |
getStatement()
Returns the query logic as a workflow engine readable set of instructions. |
void |
setActiveOnly(boolean returnActiveOnly)
Changes the filter of active only processes being returned. |
void |
setEndTime(java.util.Date end)
Changes the end time of the time frame to query on. |
void |
setProcessType(java.lang.String type)
Changes the type of process to query for. |
void |
setStartTime(java.util.Date start)
Changes the start time of the time frame to query on. |
void |
setTenantDN(DistinguishedName tenant)
Query the workflow processes on the provided tenant |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequesterQueryStatement(ProcessParticipant requester)
requester
- ProcessParticipant representing the requester
as the query context.Method Detail |
public void setStartTime(java.util.Date start)
start
- Date holding the beginning of the query time frame.
Null indicates no constraint on the start time.public void setEndTime(java.util.Date end)
end
- Date holding the beginning of the end time frame.
Null indicates no constraint on the end time.public void setProcessType(java.lang.String type)
type
- Type of process to query for. An empty string indicates no
type constraint.public void setActiveOnly(boolean returnActiveOnly)
returnActiveOnly
- True indicates inactive processes will be not
be returned. False indicates all processes will
be returned.public void setTenantDN(DistinguishedName tenant)
tenant
- tenant on which to query uponpublic java.lang.String getStatement()
getStatement
in interface WorkflowQueryStatement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |