|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengroupware.jogi.ogo.FetchSpecification
Holds the specifications of queries. The FetchSpecification qualifier is an SQL-like string that specifies what records to fetch. The optional ordering influences the order in which the results are returned.
Constructor Summary | |
FetchSpecification(java.lang.String qualifier)
Creates a FetchSpecification with the specified qualifier that uses the default sort ordering. |
|
FetchSpecification(java.lang.String qualifier,
java.lang.String order)
Creates a FetchSpecification with the specified qualifier. |
Method Summary | |
java.lang.String |
getQualifier()
|
java.util.List |
getSortOrdering()
|
void |
setQualifier(java.lang.String qualifier)
This handles the qualifiers for the fetch request. |
void |
setSortOrdering(java.util.List order)
Sets the sort order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FetchSpecification(java.lang.String qualifier)
qualifier
- the query expression for the FetchSpecificationpublic FetchSpecification(java.lang.String qualifier, java.lang.String order)
qualifier
- the query expression for the FetchSpecificationorder
- the name of one field to sort the results with.Method Detail |
public void setQualifier(java.lang.String qualifier)
qualifier
- public java.lang.String getQualifier()
public void setSortOrdering(java.util.List order)
order
- the names of the fields to order the result by;
if the contained Objects are not of type String, their toString method
is called;public java.util.List getSortOrdering()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |