|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.bpc.clientcore.GenericBPCQuery
public abstract class GenericBPCQuery
GenericBPCQuery
is an abstract base class used to issue queries against
the Business Flow Manager and the Human Task Manager.
The class allows you to dynamically set the SELECT, WHERE and ORDER BY clauses as well
as the Threshold.
In addition, it provides static methods for common conversions that may be 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 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. |
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
Query.execute
method.
Implement this type to establish type checking between the query and its caller.
getType
in interface Query
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()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |