| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.beans.moulding.data.criteria.CriteriaDAO
The base class for all Criteria Data Access Objects.
This provides some common properties that are used by all Criteria objects. This includes such things as Max Rows to return and what fields/objects should be included in the resultant domain object graphs.
| Constructor Summary | |
| CriteriaDAO()Creates a new instance of CriteriaDAO | |
| Method Summary | |
|  Integer | getObjectLimit()Getter for property objectLimit. | 
|  String[] | getResultGraphRules()Getter for property resultGraphRules. | 
| abstract  Criteria | returnQueryClause()Return the real retrieve clause that will be executed for this query. | 
|  void | setObjectLimit(Integer objectLimit)Setter for property objectLimit. | 
|  void | setResultGraphRules(String[] resultGraphRules)Setter for property resultGraphRules. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public CriteriaDAO()
| Method Detail | 
public Integer getObjectLimit()
public void setObjectLimit(Integer objectLimit)
This is the maximum root level object to be returned by the query. This is implemented as a safe guard to prevent 'runaway' queries that could try and bring back millions of rows.
Defaults to 25 objects any number below 1 implies ALL objects.
objectLimit - New value of property objectLimit.public abstract Criteria returnQueryClause()
THIS MUST BE OVERRIDDEN BY THE SUPERCLASS
public String[] getResultGraphRules()
public void setResultGraphRules(String[] resultGraphRules)
These rules control what fields and related objects should be included in the returned Domain Object Graph. By default only the top level object, and skeleton related foreign objects are included.
See How to control what is returned in a domain object graph for examples of how to use this to control what is returned in the output graph.
resultGraphRules - New value of property resultGraphRules.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||