|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LookupDao
Defines basic methods that Lookup Dao's must provide
| Method Summary | ||
|---|---|---|
boolean |
createCriteria(Object example,
String searchValue,
String propertyName,
boolean caseInsensitive,
boolean treatWildcardsAndOperatorsAsLiteral,
Object criteria)
Create OJB criteria based on business object, search field and value |
|
boolean |
createCriteria(Object example,
String searchValue,
String propertyName,
Object criteria)
Create OJB criteria based on business object, search field and value |
|
|
findCollectionBySearchHelper(Class<T> businessObjectClass,
Map<String,String> formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly)
Retrieves a collection of objects for the businessObjectClass based on the other information passed into the method. |
|
|
findCollectionBySearchHelper(Class<T> businessObjectClass,
Map<String,String> formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly,
Integer searchResultsLimit)
Retrieves a collection of objects for the businessObjectClass based on the other information passed into the method. |
|
Long |
findCountByMap(Object example,
Map<String,String> formProps)
Returns a count of objects based on the given search parameters. |
|
|
findObjectByMap(T example,
Map<String,String> formProps)
Retrieves a Object based on the search criteria, which should uniquely identify a record. |
|
| Method Detail |
|---|
<T> Collection<T> findCollectionBySearchHelper(Class<T> businessObjectClass,
Map<String,String> formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly)
businessObjectClass - - business object being queried onformProps - - map of form propertiesunbounded - - indicates if the search should be unboundedusePrimaryKeyValuesOnly - - indicates if only primary key values should be used
<T> Collection<T> findCollectionBySearchHelper(Class<T> businessObjectClass,
Map<String,String> formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly,
Integer searchResultsLimit)
businessObjectClass - - business object being queried onformProps - - map of form propertiesunbounded - - indicates if the search should be unboundedusePrimaryKeyValuesOnly - - indicates if only primary key values should be usedsearchResultsLimit - - used to limit the number of items returned
<T> T findObjectByMap(T example,
Map<String,String> formProps)
Long findCountByMap(Object example,
Map<String,String> formProps)
boolean createCriteria(Object example,
String searchValue,
String propertyName,
Object criteria)
boolean createCriteria(Object example,
String searchValue,
String propertyName,
boolean caseInsensitive,
boolean treatWildcardsAndOperatorsAsLiteral,
Object criteria)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||