public class RequesterQueryStatement extends java.lang.Object implements WorkflowQueryStatement, java.io.Serializable
DBOWNER| Constructor and Description |
|---|
RequesterQueryStatement(ProcessParticipant requester)
Constructs with a requester as its context.
|
RequesterQueryStatement(ProcessParticipant requester,
java.lang.String dbOwner)
Constructs with a requester as its context.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessParticipant |
getProcessParticipant() |
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
|
public RequesterQueryStatement(ProcessParticipant requester)
requester - ProcessParticipant representing the requester
as the query context.public RequesterQueryStatement(ProcessParticipant requester, java.lang.String dbOwner)
requester - ProcessParticipant representing the requester
as the query context.dbOwner - Database user.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 WorkflowQueryStatementpublic ProcessParticipant getProcessParticipant()