DataObjectService
@Deprecated public class LookupDaoOjb extends PlatformAwareDaoBaseOjb implements LookupDao
Constructor and Description |
---|
LookupDaoOjb()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addInactivateableFromToActiveCriteria(Object example,
String activeSearchValue,
org.apache.ojb.broker.query.Criteria criteria,
Map searchValues)
Deprecated.
Translates criteria for active status to criteria on the active from and to fields
|
protected void |
addInactivateableFromToCurrentCriteria(Object example,
String currentSearchValue,
org.apache.ojb.broker.query.Criteria criteria,
Map searchValues)
Deprecated.
Translates criteria for current status to criteria on the active from field
|
protected void |
applySearchResultsLimit(Class businessObjectClass,
org.apache.ojb.broker.query.Criteria criteria,
DatabasePlatform platform,
Integer limit)
Deprecated.
This method applies the search results limit to the search criteria for this BO
|
boolean |
createCriteria(Object example,
String searchValue,
String propertyName,
boolean caseInsensitive,
boolean treatWildcardsAndOperatorsAsLiteral,
Object criteria)
Deprecated.
Create OJB criteria based on business object, search field and value
|
boolean |
createCriteria(Object example,
String searchValue,
String propertyName,
boolean caseInsensitive,
boolean treatWildcardsAndOperatorsAsLiteral,
Object criteria,
Map searchValues)
Deprecated.
|
boolean |
createCriteria(Object example,
String searchValue,
String propertyName,
Object criteria)
Deprecated.
Create OJB criteria based on business object, search field and value
|
Collection |
findCollectionBySearchHelper(Class businessObjectClass,
Map formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly)
Deprecated.
Since 2.3
This version of findCollectionBySearchHelper is needed for version compatibility.
|
Collection |
findCollectionBySearchHelper(Class businessObjectClass,
Map formProps,
boolean unbounded,
boolean usePrimaryKeyValuesOnly,
Integer searchResultsLimit)
Deprecated.
Retrieves a collection of objects for the businessObjectClass based on the other information passed into the
method.
|
Long |
findCountByMap(Object example,
Map formProps)
Deprecated.
Find count of records meeting criteria based on the object and map.
|
<T> T |
findObjectByMap(Class<T> type,
Map<String,String> formProps)
Deprecated.
Retrieves a Object based on the search criteria, which should uniquely
identify a record.
|
org.apache.ojb.broker.query.Criteria |
getCollectionCriteriaFromMap(BusinessObject example,
Map formProps)
Deprecated.
Builds up criteria object based on the object and map.
|
org.apache.ojb.broker.query.Criteria |
getCollectionCriteriaFromMapUsingPrimaryKeysOnly(Class businessObjectClass,
Map formProps)
Deprecated.
|
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService)
Deprecated.
|
void |
setDateTimeService(DateTimeService dateTimeService)
Deprecated.
|
void |
setPersistenceStructureService(PersistenceStructureService persistenceStructureService)
Deprecated.
|
getDbPlatform, setDbPlatform
public LookupDaoOjb()
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 returnedIf searchResultsLimit is null, the search results will not be limited by any other means.
public org.apache.ojb.broker.query.Criteria getCollectionCriteriaFromMap(BusinessObject example, Map formProps)
public org.apache.ojb.broker.query.Criteria getCollectionCriteriaFromMapUsingPrimaryKeysOnly(Class businessObjectClass, Map formProps)
protected void applySearchResultsLimit(Class businessObjectClass, org.apache.ojb.broker.query.Criteria criteria, DatabasePlatform platform, Integer limit)
businessObjectClass
- BO class to search on / get limit forcriteria
- search criteriaplatform
- database platformlimit
- limit to use. If limit is null, getSearchResultsLimit will be called using the businessObjectClass
to see if a limit can be found for this particular businessObjectClass.public boolean createCriteria(Object example, String searchValue, String propertyName, Object criteria)
LookupDao
createCriteria
in interface LookupDao
public boolean createCriteria(Object example, String searchValue, String propertyName, boolean caseInsensitive, boolean treatWildcardsAndOperatorsAsLiteral, Object criteria)
LookupDao
createCriteria
in interface LookupDao
public boolean createCriteria(Object example, String searchValue, String propertyName, boolean caseInsensitive, boolean treatWildcardsAndOperatorsAsLiteral, Object criteria, Map searchValues)
public Long findCountByMap(Object example, Map formProps)
findCountByMap
in interface LookupDao
public <T> T findObjectByMap(Class<T> type, Map<String,String> formProps)
LookupDao
findObjectByMap
in interface LookupDao
org.kuali.rice.krad.dao.LookupDao#findObjectByMap(java.lang.Object, java.util.Map)
protected void addInactivateableFromToActiveCriteria(Object example, String activeSearchValue, org.apache.ojb.broker.query.Criteria criteria, Map searchValues)
example
- - business object being queried onactiveSearchValue
- - value for the active search field, should convert to booleancriteria
- - Criteria object being builtsearchValues
- - Map containing all search keys and valuesprotected void addInactivateableFromToCurrentCriteria(Object example, String currentSearchValue, org.apache.ojb.broker.query.Criteria criteria, Map searchValues)
example
- - business object being queried oncurrentSearchValue
- - value for the current search field, should convert to booleancriteria
- - Criteria object being builtpublic void setDateTimeService(DateTimeService dateTimeService)
public void setPersistenceStructureService(PersistenceStructureService persistenceStructureService)
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.