com.ibm.task.api

Interface EntityResultSet

All Superinterfaces:
java.io.Serializable

  1. public interface EntityResultSet
  2. extends java.io.Serializable
Provides the results of an entity-based query against a query table.

The entity result set returns entities which match the filter criteria that have been specified in the query table and in the query request. The entities are sorted according to the sort criteria specified in the query request. If sort criteria are not specified, there is no intrinsic order of entities. The number of entities returned is restricted by the threshold and skipCount parameters of the query request. If a threshold is not specified, all entities are returned.

An entity of the result set is defined through the selected attributes. The selected attributes reference query table attributes, such as attributes of tasks or process instances. If the query table requires instance-based authorization, work item information can also be referenced.

Attribute values can be retrieved and casted to a type that is compatible with the attribute type.

Since:
7.0

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. java.util.List
getEntities()
Returns the entities that are contained in this result set.
  1. EntityInfo
getEntityInfo()
Returns type information of the entities.
  1. java.lang.String
getEntityTypeName()
Returns the type of entities that are returned as the result of the query.
  1. java.util.Locale
getLocale()
Returns the locale that is calculated for the system variable $LOCALE.
  1. java.lang.String
getQueryTableName()
Returns the name of the query table that is associated with this query result.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

getQueryTableName

  1. java.lang.String getQueryTableName( )
Returns the name of the query table that is associated with this query result.
Returns:
The name of the query table.

getEntityTypeName

  1. java.lang.String getEntityTypeName( )
Returns the type of entities that are returned as the result of the query.
Returns:
The type of the entity.

getEntityInfo

  1. EntityInfo getEntityInfo()
Returns type information of the entities.
Returns:
The type information of the entity - see EntityInfo.

getEntities

  1. java.util.List getEntities()
Returns the entities that are contained in this result set. Returns an empty list if there are no entities.

Returns:
A list of Entity objects that are returned as the result of the query.

getLocale

  1. java.util.Locale getLocale()
Returns the locale that is calculated for the system variable $LOCALE.

Returns:
The locale that is set for $LOCALE.