|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.client.QueryCriteria
This class is used to set the criteria for the query. Various combination of criteria can be set.
Field Summary | |
protected com.oakgrovesystems.reactor.processMediation.ACE |
ace
|
protected int |
depth
|
protected boolean |
expandUser
|
protected boolean |
getThinProcesses
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
hasAssociatedOperandId
|
protected java.lang.String |
hasAssociatedOperandLabel
|
protected java.lang.String |
hasAssociatedOperandValue
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
hasAssociatedPolicyId
|
protected java.lang.String |
hasAssociatedPolicyLabel
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
hasAssociatedStatusId
|
protected java.lang.String |
hasAssociatedStatusLabel
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
hasAssociatedSubprocessId
|
protected java.lang.String |
hasAssociatedSubprocessLabel
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
hasParentId
|
protected java.lang.String |
hasParentLabel
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
hasStatusId
|
protected java.lang.String |
hasStatusLabel
|
protected boolean |
includeOperands
|
protected boolean |
includeParent
|
protected boolean |
includePolicies
|
protected boolean |
includeStatuses
|
protected boolean |
mustBeDefinition
|
protected boolean |
mustBeInstance
|
protected boolean |
mustBeRoot
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
processId
|
protected com.oakgrovesystems.reactor.LabelPath |
processLabelPath
|
protected int |
stateEquals
|
Constructor Summary | |
QueryCriteria()
Creates a new criteria with the following defaults: mustBeDefinition = false
mustBeInstance = false
stateEquals = 0 (Don't care)
mustBeRoot = false
depth = 0
includeOperands = false
includeStatuses = false
includePolicies = false
includeParent = false
includeParent = false
expandUser = true
|
Method Summary | |
com.oakgrovesystems.reactor.processMediation.ACE |
getACE()
Gets the ace attribute of the criteria |
int |
getDepth()
Gets the depth attribute of the criteria |
boolean |
getExpandUser()
Gets the expandUser attribute of the criteria. |
boolean |
getGetThinProcesses()
Gets getThing attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getHasAssociatedOperandId()
Gets hasAssociatedOperandId attribute of the criteria |
java.lang.String |
getHasAssociatedOperandLabel()
Gets hasAssociatedOperandLabel attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getHasAssociatedPolicyId()
Gets hasAssociatedPolicyId attribute of the criteria |
java.lang.String |
getHasAssociatedPolicyLabel()
Gets hasAssociatedPolicyLabel attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getHasAssociatedStatusId()
Gets hasAssociatedStatusId attribute of the criteria |
java.lang.String |
getHasAssociatedStatusLabel()
Gets hasAssociatedStatusLabel attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getHasAssociatedSubprocessId()
Gets hasAssociatedSubprocessId attribute of the criteria |
java.lang.String |
getHasAssociatedSubprocessLabel()
Gets hasAssociatedSubprocessLabel attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getHasParentId()
Gets hasParentId attribute of the criteria |
java.lang.String |
getHasParentLabel()
Gets hasParentLabel attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getHasStatusId()
Gets the hasStatusId attribute of the criteria. |
java.lang.String |
getHasStatusLabel()
Gets the hasStatusLabel attribute of the criteria. |
boolean |
getIncludeOperands()
Gets includeOperands attribute of the criteria |
boolean |
getIncludeParent()
Gets includeParent attribute of the criteria |
boolean |
getIncludePolicies()
Gets includePolicies attribute of the criteria |
boolean |
getIncludeStatuses()
Gets includeStatuses attribute of the criteria |
boolean |
getMustBeDefinition()
Gets must be definition attribute of criteria |
boolean |
getMustBeInstance()
Gets must be instance attribute of criteria |
boolean |
getMustBeRoot()
Gets mustBeRoot attribute of the criteria |
com.oakgrovesystems.reactor.ReactorObjectId |
getProcessId()
Gets the process id of the criteria. |
com.oakgrovesystems.reactor.LabelPath |
getProcessLabelPath()
Gets the process label path of the criteria. |
int |
getStateEquals()
Gets the state equals attribute of the criteria |
void |
setACE(com.oakgrovesystems.reactor.processMediation.ACE ace)
Sets the ace attribute of the criteria Use this criteria to query for process that has a similar ace. |
void |
setDepth(int depth)
Sets depth attribute of the criteria Use this attribute to set the depth of process tree to get. |
void |
setExpandUser(boolean flag)
Sets the expandUser attribute of the criteria. |
void |
setGetThinProcesses(boolean getThinProcesses)
Sets getThin attribute of the criteria Use this attribute to disable deserialization of PCS-related data. |
void |
setHasAssociatedOperandId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedOperandId)
Sets hasAssociatedOperandId attribute of the criteria Use this attribute to query for processes that has an associated operand with this id |
void |
setHasAssociatedOperandLabel(java.lang.String hasAssociatedOperandLabel)
Sets hasAssociatedOperandLabel attribute of the criteria Use this attribute to query for processes that has an associated operand with this label |
void |
setHasAssociatedPolicyId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedPolicyId)
Sets hasAssociatedPolicyId attribute of the criteria Use this attribute to query for processes that has an associated policy with this id |
void |
setHasAssociatedPolicyLabel(java.lang.String hasAssociatedPolicyLabel)
Sets hasAssociatedPolicyLabel attribute of the criteria Use this attribute to query for processes that has an associated policy with this label |
void |
setHasAssociatedStatusId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedStatusId)
Sets hasAssociatedStatusId attribute of the criteria Use this attribute to query for processes that has an associated status with this id |
void |
setHasAssociatedStatusLabel(java.lang.String hasAssociatedStatusLabel)
Sets hasAssociatedStatusLabel attribute of the criteria Use this attribute to query for processes that has an associated status with this label |
void |
setHasAssociatedSubprocessId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedSubprocessId)
Sets hasAssociatedSubprocessId attribute of the criteria Use this attribute to query for processes that has an associated subprocess with this id |
void |
setHasAssociatedSubprocessLabel(java.lang.String hasAssociatedSubprocessLabel)
Sets hasAssociatedSubprocessLabel attribute of the criteria Use this attribute to query for processes that has an associated subprocess with this label |
void |
setHasParentId(com.oakgrovesystems.reactor.ReactorObjectId hasParentId)
Sets hasParentId attribute of the criteria Use this attribute to query for processes that has a parent process with this id |
void |
setHasParentLabel(java.lang.String hasParentLabel)
Sets hasParentLabel attribute of the criteria Use this attribute to query for processes that has a parent process with this label |
void |
setHasStatusId(com.oakgrovesystems.reactor.ReactorObjectId hasStatusId)
Sets the hasStatusId attribute of the criteria Use this attribute to query for processes that has acquired this status |
void |
setHasStatusLabel(java.lang.String hasStatusLabel)
Sets the hasStatusLabel attribute of the criteria Use this attribute to query for processes that has acquired a status with this label |
void |
setIncludeOperands(boolean includeOperands)
Sets includeOperands attribute of the criteria Use this attribute to retrieve operands associated with a process |
void |
setIncludeParent(boolean includeParent)
Sets includeParent attribute of the criteria Use this attribute to retrieve parent of a process |
void |
setIncludePolicies(boolean includePolicies)
Sets includePolicies attribute of the criteria Use this attribute to retrieve policies associated with a process |
void |
setIncludeStatuses(boolean includeStatuses)
Sets includeStatuses attribute of the criteria Use this attribute to retrieve statuses associated with a process |
void |
setMustBeDefinition(boolean mustBeDefinition)
Sets must Be definition attribute of criteria Use this attribute to query for processes that are definitions This attriubte is set to false by default |
void |
setMustBeInstance(boolean mustBeInstance)
Sets must Be instnace attribute of criteria Use this attribute to query for processes that are instances. |
void |
setMustBeRoot(boolean mustBeRoot)
Sets mustBeRoot attribute of the criteria Use this criteria to query for rool level processes |
void |
setProcessId(com.oakgrovesystems.reactor.ReactorObjectId processId)
Sets process id of the criteria Use this criteria to query a process with a particular id. |
void |
setProcessLabelPath(com.oakgrovesystems.reactor.LabelPath processLabelPath)
Sets process label path of the criteria Use this criteria to query a process with a particular label path. |
void |
setStateEquals(int stateEquals)
Sets stateEquals attribute of the criteria Use this attribute to query by process's state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.oakgrovesystems.reactor.ReactorObjectId processId
protected com.oakgrovesystems.reactor.LabelPath processLabelPath
protected com.oakgrovesystems.reactor.processMediation.ACE ace
protected boolean expandUser
protected boolean mustBeDefinition
protected boolean mustBeInstance
protected int stateEquals
protected com.oakgrovesystems.reactor.ReactorObjectId hasStatusId
protected java.lang.String hasStatusLabel
protected com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedOperandId
protected java.lang.String hasAssociatedOperandLabel
protected java.lang.String hasAssociatedOperandValue
protected com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedStatusId
protected java.lang.String hasAssociatedStatusLabel
protected com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedPolicyId
protected java.lang.String hasAssociatedPolicyLabel
protected com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedSubprocessId
protected java.lang.String hasAssociatedSubprocessLabel
protected com.oakgrovesystems.reactor.ReactorObjectId hasParentId
protected java.lang.String hasParentLabel
protected boolean mustBeRoot
protected int depth
protected boolean includeOperands
protected boolean includeStatuses
protected boolean includePolicies
protected boolean includeParent
protected boolean getThinProcesses
Constructor Detail |
public QueryCriteria()
false
false
0
(Don't care)
false
0
false
false
false
false
false
true
Method Detail |
public void setProcessId(com.oakgrovesystems.reactor.ReactorObjectId processId)
processId
- The id of the process to querypublic com.oakgrovesystems.reactor.ReactorObjectId getProcessId()
public void setProcessLabelPath(com.oakgrovesystems.reactor.LabelPath processLabelPath)
processLabelPath
- The label path of the process to querypublic com.oakgrovesystems.reactor.LabelPath getProcessLabelPath()
public void setACE(com.oakgrovesystems.reactor.processMediation.ACE ace)
ace
- the ace to query forpublic com.oakgrovesystems.reactor.processMediation.ACE getACE()
public void setExpandUser(boolean flag)
flag
- true if user should be expanded, false otherwisepublic boolean getExpandUser()
public void setMustBeDefinition(boolean mustBeDefinition)
mustBeDefinition
- must be set to true to query for processes that are definitionspublic boolean getMustBeDefinition()
public void setMustBeInstance(boolean mustBeInstance)
mustBeInstance
- must be set to true to query for processes that are instancespublic boolean getMustBeInstance()
public void setStateEquals(int stateEquals)
0
: Don't Care (Default)
Process.STATE_UNSTARTED
: State unstarted
Process.STATE_STARTED
: State started
Process.STATE_FINISHED
: State finished
stateEquals
- the state of the processpublic int getStateEquals()
public void setHasStatusId(com.oakgrovesystems.reactor.ReactorObjectId hasStatusId)
hasStatusId
- the id of the status that process has acquiredpublic com.oakgrovesystems.reactor.ReactorObjectId getHasStatusId()
public void setHasStatusLabel(java.lang.String hasStatusLabel)
hasStatusLabel
- the label of the status that process has acquiredpublic java.lang.String getHasStatusLabel()
public void setHasAssociatedOperandId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedOperandId)
hasAssociatedOperandId
- the id of the operand associated with the processpublic com.oakgrovesystems.reactor.ReactorObjectId getHasAssociatedOperandId()
public void setHasAssociatedOperandLabel(java.lang.String hasAssociatedOperandLabel)
hasAssociatedOperandLabel
- the label of the operand associated with the processpublic java.lang.String getHasAssociatedOperandLabel()
public void setHasAssociatedStatusId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedStatusId)
hasAssociatedStatusId
- the id of the status associated with the processpublic com.oakgrovesystems.reactor.ReactorObjectId getHasAssociatedStatusId()
public void setHasAssociatedStatusLabel(java.lang.String hasAssociatedStatusLabel)
hasAssociatedStatusLabel
- the label of the status associated with the processpublic java.lang.String getHasAssociatedStatusLabel()
public void setHasAssociatedPolicyId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedPolicyId)
hasAssociatedPolicyId
- the id of the policy associated with the processpublic com.oakgrovesystems.reactor.ReactorObjectId getHasAssociatedPolicyId()
public void setHasAssociatedPolicyLabel(java.lang.String hasAssociatedPolicyLabel)
hasAssociatedPolicyLabel
- the label of the policy associated with the processpublic java.lang.String getHasAssociatedPolicyLabel()
public void setHasAssociatedSubprocessId(com.oakgrovesystems.reactor.ReactorObjectId hasAssociatedSubprocessId)
hasAssociatedSubprocessId
- the id of the subprocess associated with the processpublic com.oakgrovesystems.reactor.ReactorObjectId getHasAssociatedSubprocessId()
public void setHasAssociatedSubprocessLabel(java.lang.String hasAssociatedSubprocessLabel)
hasAssociatedSubprocessLabel
- the label of the subprocess associated with the processpublic java.lang.String getHasAssociatedSubprocessLabel()
public void setHasParentId(com.oakgrovesystems.reactor.ReactorObjectId hasParentId)
hasParentId
- the id of the parrent processpublic com.oakgrovesystems.reactor.ReactorObjectId getHasParentId()
public void setHasParentLabel(java.lang.String hasParentLabel)
hasParentLabel
- the label of the parent processpublic java.lang.String getHasParentLabel()
public void setMustBeRoot(boolean mustBeRoot)
mustBeRoot
- must be true to query for root level processespublic boolean getMustBeRoot()
public void setDepth(int depth)
depth
- The depth of subprocesses to getpublic int getDepth()
public void setIncludeOperands(boolean includeOperands)
includeOperands
- must be set to true to retrieve operandspublic boolean getIncludeOperands()
public void setIncludeStatuses(boolean includeStatuses)
includeStatuses
- must be set to true to retrieve statusespublic boolean getIncludeStatuses()
public void setIncludePolicies(boolean includePolicies)
includePolicies
- must be set to true to retrieve policiespublic boolean getIncludePolicies()
public void setIncludeParent(boolean includeParent)
includeParent
- must be set to true to retrieve parentpublic boolean getIncludeParent()
public void setGetThinProcesses(boolean getThinProcesses)
public boolean getGetThinProcesses()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |