ProcessInstanceQueryResult Class
- public class ProcessInstanceQueryResult
extends Object
implements Serializable
Represents the result of a process instance query.
Related Topics
{@link ProcessInstanceQuery}
{@link ProcessRuntimeMBean}
-
Hierarchy
-
Object
ProcessInstanceQueryResult
-
All Implemented Interfaces
-
Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessInstanceQueryResult
public ProcessInstanceQueryResult(String
[] instanceIds,
Date
queryDate,
boolean isAll)
getInstanceId(int) Method
public String
getInstanceId(int index)
Convenience method for obtaining a particular instance id in the result.
getInstanceIds() Method
public String
[] getInstanceIds()
Returns conversation ids of all the instances that satisfied the relevant ProcessInstanceQuery
getQueryDate() Method
public Date
getQueryDate()
Returns the approximate date when this result was obtained.
getResultCard() Method
public int getResultCard()
Simply returns the number of instances ids returned. Returns the same value as
getInstanceIds().length
isAll() Method
public boolean isAll()
Returns true if the all the instances that satisfied the original ProcessInstanceQuery
was returned.
Some instances will not be returned if the query limited the result cardinality explicitly (via
ProcessInstanceQuery.setCount(int)
) or the result cardinality was larger than the server-specific upper limit.