|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.portals.graffito.jcr.query.impl.QueryImpl
public class QueryImpl
Default Query implementation
Constructor Summary | |
---|---|
QueryImpl(Filter filter,
Mapper mapper)
Constructor |
Method Summary | |
---|---|
void |
addOrderByAscending(java.lang.String fieldNameAttribute)
Order the object found (ascending) |
void |
addOrderByDescending(java.lang.String fieldNameAttribute)
Order the object found (descending) |
Filter |
getFilter()
|
java.lang.String |
getOrderByExpression()
|
void |
setFilter(Filter filter)
Set the filter to use with this query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryImpl(Filter filter, Mapper mapper)
filter
- mapper
- Method Detail |
---|
public void setFilter(Filter filter)
Query
setFilter
in interface Query
filter
- The filter to useQuery.setFilter(org.apache.portals.graffito.jcr.query.Filter)
public Filter getFilter()
getFilter
in interface Query
Query.getFilter()
public void addOrderByDescending(java.lang.String fieldNameAttribute)
Query
addOrderByDescending
in interface Query
fieldNameAttribute
- the name of the field used to sort the search resultpublic void addOrderByAscending(java.lang.String fieldNameAttribute)
Query
addOrderByAscending
in interface Query
fieldNameAttribute
- the name of the field used to sort the search resultQuery.addOrderByAscending(java.lang.String)
public java.lang.String getOrderByExpression()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |