|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.root.db.query.DBCriteriaAdapter
public abstract class DBCriteriaAdapter
An abstract criteria adapter.
| Field Summary |
|---|
| Fields inherited from interface org.norther.tammi.root.db.query.DBCriteria |
|---|
CLASS_ATTRIBUTE, EQ, GE, GT, IN, LE, LIKE, LT, NEQ, NIN, NONE, OBJECT_NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
DBCriteriaAdapter(Object adapt)
Constructs new criteria with an adaptee. |
|
| Method Summary | |
|---|---|
DBCriteria |
add(DBAttribute attribute,
boolean union)
Adds an attribute criteria. |
DBCriteria |
add(List attributes,
boolean union)
Adds an attribute list criteria. |
DBCriteria |
add(Map attributes,
int condition,
boolean union)
Adds an attribute map criteria. |
Object |
getAdaptee()
Gets the implementation specific criteria adaptee, if any. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.root.db.query.DBCriteria |
|---|
add, add, negate |
| Constructor Detail |
|---|
public DBCriteriaAdapter(Object adapt)
adapt - the criteria adaptee.| Method Detail |
|---|
public Object getAdaptee()
DBCriteria
getAdaptee in interface DBCriteria
public DBCriteria add(DBAttribute attribute,
boolean union)
DBCriteriaIf exact match is not required, the value can be a pattern with well known wildcard characters such as '*', '?', or in the case of SQL '%'.
add in interface DBCriteriaattribute - the attribute to form the search criteria.union - the flag for a union.
public DBCriteria add(List attributes,
boolean union)
DBCriteriaIf exact match is not required, the value can be a pattern with well known wildcard characters such as '*', '?', or in the case of SQL '%'.
add in interface DBCriteriaattributes - a list of attributes to form the search criteria.union - a flag to indicate whether the criteria should be a union.
public DBCriteria add(Map attributes,
int condition,
boolean union)
DBCriteriaIf exact match is not required, the value can be a pattern with well known wildcard characters such as '*', '?', or in the case of SQL '%'.
add in interface DBCriteriaattributes - a map of attributes to form the search criteria.condition - the condition for the criteria.union - the flag for a union.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||