|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.bpc.clientcore.GenericBPCQuery
GenericBPCQuery
is an abstract base class used for queries against
the Business Flow Manager and the Human Task Manager.
The class allows to dynamically set the SELECT, WHERE and ORDER BY clauses as well
as the Threshold.
In addition it provides static methods for common conversion required to generate SQL queries.
Field Summary | |
---|---|
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 Summary | |
---|---|
GenericBPCQuery()
|
Method Summary | |
---|---|
abstract java.util.List |
execute()
Retrieves a list of application objects. |
java.lang.String |
getOrderClause()
Returns the order 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 which identifies the objects returned by the Query.execute method. |
java.lang.String |
getWhereClause()
Returns the where clause stored for the query |
void |
resetWhereClause()
Reset the where clause for the query |
void |
setOrderClause(java.lang.String string)
Sets the order 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 |
setType(java.lang.String t)
Sets a type which identifies the objects returned by the Query.execute method. |
void |
setWhereClause(java.lang.String string)
Sets the where clause for the query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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
Constructor Detail |
public GenericBPCQuery()
Method Detail |
public abstract java.util.List execute() throws ClientException
Query
execute
in interface Query
ClientException
public java.lang.String getType()
Query
getType
in interface Query
public void setType(java.lang.String t)
t
- 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 clausepublic void setSelectClause(java.lang.String string)
string
- a select clausepublic void setThreshold(int integer)
integer
- a threshold valuepublic void setWhereClause(java.lang.String string)
string
- a where clausepublic void resetWhereClause()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |