org.kuali.rice.krad.dao.proxy
Class LookupDaoProxy
java.lang.Object
org.kuali.rice.krad.dao.proxy.LookupDaoProxy
- All Implemented Interfaces:
- LookupDao
@Transactional
public class LookupDaoProxy
- extends Object
- implements LookupDao
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 |
Collection |
findCollectionBySearchHelper(Class example,
Map formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly)
|
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. |
private LookupDao |
getDao(Class clazz)
|
private static KualiModuleService |
getKualiModuleService()
|
void |
setLookupDaoJpa(LookupDao lookupDaoJpa)
|
void |
setLookupDaoOjb(LookupDao lookupDaoOjb)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lookupDaoJpa
private LookupDao lookupDaoJpa
lookupDaoOjb
private LookupDao lookupDaoOjb
kualiModuleService
private static KualiModuleService kualiModuleService
lookupDaoValues
private static Map<String,LookupDao> lookupDaoValues
LookupDaoProxy
public LookupDaoProxy()
setLookupDaoJpa
public void setLookupDaoJpa(LookupDao lookupDaoJpa)
setLookupDaoOjb
public void setLookupDaoOjb(LookupDao lookupDaoOjb)
getDao
private LookupDao getDao(Class clazz)
createCriteria
public boolean createCriteria(Object example,
String searchValue,
String propertyName,
Object criteria)
- Description copied from interface:
LookupDao
- Create OJB criteria based on business object, search field and value
- Specified by:
createCriteria
in interface LookupDao
- Returns:
- true if the criteria is created successfully; otherwise, return
false
- See Also:
LookupDao.createCriteria(java.lang.Object, java.lang.String, java.lang.String, java.lang.Object)
createCriteria
public boolean createCriteria(Object example,
String searchValue,
String propertyName,
boolean caseInsensitive,
boolean treatWildcardsAndOperatorsAsLiteral,
Object criteria)
- Description copied from interface:
LookupDao
- Create OJB criteria based on business object, search field and value
- Specified by:
createCriteria
in interface LookupDao
- Returns:
- true if the criteria is created successfully; otherwise, return
false
- See Also:
org.kuali.rice.krad.dao.LookupDao#createCriteria(java.lang.Object, java.lang.String, java.lang.String, boolean, java.lang.Object)
findCollectionBySearchHelper
public Collection findCollectionBySearchHelper(Class example,
Map formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly)
- Specified by:
findCollectionBySearchHelper
in interface LookupDao
- See Also:
LookupDao.findCollectionBySearchHelper(java.lang.Class, java.util.Map, boolean, boolean)
findCountByMap
public Long findCountByMap(Object example,
Map formProps)
- Description copied from interface:
LookupDao
- Returns a count of objects based on the given search parameters.
- Specified by:
findCountByMap
in interface LookupDao
- Returns:
- Long returned from the search
- See Also:
LookupDao.findCountByMap(java.lang.Object, java.util.Map)
findObjectByMap
public Object findObjectByMap(Object example,
Map formProps)
- Description copied from interface:
LookupDao
- Retrieves a Object based on the search criteria, which should uniquely
identify a record.
- Specified by:
findObjectByMap
in interface LookupDao
- Returns:
- Object returned from the search
- See Also:
LookupDao.findObjectByMap(java.lang.Object, java.util.Map)
getKualiModuleService
private static KualiModuleService getKualiModuleService()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.