@Transactional public class LookupDaoProxy extends Object implements LookupDao
Constructor and Description |
---|
LookupDaoProxy() |
Modifier and Type | Method and Description |
---|---|
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
|
Collection |
findCollectionBySearchHelper(Class businessObjectClass,
Map formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly)
Since 2.3
This version of findCollectionBySearchHelper is needed for version compatibility.
|
Collection |
findCollectionBySearchHelper(Class businessObjectClass,
Map 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 formProps)
Returns a count of objects based on the given search parameters.
|
Object |
findObjectByMap(Object example,
Map formProps)
Retrieves a Object based on the search criteria, which should uniquely
identify a record.
|
void |
setLookupDaoJpa(LookupDao lookupDaoJpa) |
void |
setLookupDaoOjb(LookupDao lookupDaoOjb) |
public LookupDaoProxy()
public void setLookupDaoJpa(LookupDao lookupDaoJpa)
public void setLookupDaoOjb(LookupDao lookupDaoOjb)
public boolean createCriteria(Object example, String searchValue, String propertyName, Object criteria)
LookupDao
createCriteria
in interface LookupDao
LookupDao.createCriteria(java.lang.Object, java.lang.String, java.lang.String, java.lang.Object)
public boolean createCriteria(Object example, String searchValue, String propertyName, boolean caseInsensitive, boolean treatWildcardsAndOperatorsAsLiteral, Object criteria)
LookupDao
createCriteria
in interface LookupDao
org.kuali.rice.krad.dao.LookupDao#createCriteria(java.lang.Object, java.lang.String, java.lang.String, boolean, java.lang.Object)
public Collection findCollectionBySearchHelper(Class businessObjectClass, Map formProps, boolean unbounded, boolean usePrimaryKeyValuesOnly)
findCollectionBySearchHelper
in interface LookupDao
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 usedLookupDao.findCollectionBySearchHelper(java.lang.Class, java.util.Map, boolean,
boolean)
public Collection findCollectionBySearchHelper(Class businessObjectClass, Map formProps, boolean unbounded, boolean usePrimaryKeyValuesOnly, Integer searchResultsLimit)
LookupDao
findCollectionBySearchHelper
in interface LookupDao
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 returnedLookupDao.findCollectionBySearchHelper(java.lang.Class, java.util.Map, boolean,
boolean, Integer)
public Long findCountByMap(Object example, Map formProps)
LookupDao
findCountByMap
in interface LookupDao
LookupDao.findCountByMap(java.lang.Object, java.util.Map)
public Object findObjectByMap(Object example, Map formProps)
LookupDao
findObjectByMap
in interface LookupDao
LookupDao.findObjectByMap(java.lang.Object, java.util.Map)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.