public abstract class GenericBPCQuery extends java.lang.Object implements Query
GenericBPCQuery
is an abstract base class used to issue queries against
the Business Flow Manager and the Human Task Manager.
In addition, it provides static methods for common conversions that may be required to generate SQL queries.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
protected java.lang.String |
orderClause |
protected java.lang.String |
selectClause |
protected java.lang.Integer |
threshold |
protected java.lang.String |
type |
protected java.lang.String |
whereClause |
Constructor and Description |
---|
GenericBPCQuery() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List |
execute()
Retrieves a list of application objects.
|
java.lang.String |
getOrderClause()
Returns the ORDER BY clause stored for the query.
|
java.lang.String |
getSelectClause()
Returns the SELECT clause stored for the query.
|
java.lang.Integer |
getThreshold()
Returns the Threshold value stored for the query.
|
java.lang.String |
getType()
Returns a type that identifies the objects returned by the
Query.execute method. |
java.lang.String |
getWhereClause()
Returns the WHERE clause stored for the query.
|
void |
resetWhereClause()
Resets the WHERE clause for the query.
|
void |
setOrderClause(java.lang.String string)
Sets the ORDER BY clause for the query.
|
void |
setSelectClause(java.lang.String string)
Sets the SELECT clause for the query.
|
void |
setThreshold(int integer)
Sets the Threshold value for the query.
|
void |
setThreshold(java.lang.Integer integer)
Sets the Threshold value for the query.
|
void |
setType(java.lang.String value)
Sets a type that identifies the objects returned by the
Query.execute method. |
void |
setWhereClause(java.lang.String string)
Sets the WHERE clause for the query.
|
public static final java.lang.String COPYRIGHT
protected java.lang.String type
protected java.lang.String selectClause
protected java.lang.String whereClause
protected java.lang.String orderClause
protected java.lang.Integer threshold
public abstract java.util.List execute() throws ClientException
Query
execute
in interface Query
ClientException
public java.lang.String getType()
Query
Query.execute
method.
Implement this type to establish type checking between the query and its caller.public void setType(java.lang.String value)
Query.execute
method.value
- a String representing the type of objectspublic java.lang.String getOrderClause()
public java.lang.String getSelectClause()
public java.lang.Integer getThreshold()
public java.lang.String getWhereClause()
public void setOrderClause(java.lang.String string)
string
- an ORDER BY clausepublic void setSelectClause(java.lang.String string)
string
- a SELECT clausepublic void setThreshold(int integer)
integer
- a Threshold valuepublic void setThreshold(java.lang.Integer integer)
integer
- a Threshold valuepublic void setWhereClause(java.lang.String string)
string
- a WHERE clausepublic void resetWhereClause()