org.kuali.rice.krad.service.impl
Class KeyValuesServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.KeyValuesServiceImpl
- All Implemented Interfaces:
- org.kuali.rice.krad.service.KeyValuesService
public class KeyValuesServiceImpl
- extends Object
- implements org.kuali.rice.krad.service.KeyValuesService
This class provides collection retrievals to populate key value pairs of business objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValuesServiceImpl
public KeyValuesServiceImpl()
findAll
public <T extends org.kuali.rice.krad.bo.BusinessObject> Collection<T> findAll(Class<T> clazz)
- Specified by:
findAll
in interface org.kuali.rice.krad.service.KeyValuesService
- See Also:
KeyValuesService.findAll(java.lang.Class)
createUnmodifiableUpcastList
public static <E> Collection<E> createUnmodifiableUpcastList(Collection<? extends E> list,
Class<E> type)
findAllOrderBy
public <T extends org.kuali.rice.krad.bo.BusinessObject> Collection<T> findAllOrderBy(Class<T> clazz,
String sortField,
boolean sortAscending)
- Specified by:
findAllOrderBy
in interface org.kuali.rice.krad.service.KeyValuesService
- See Also:
KeyValuesService.findAllOrderBy(java.lang.Class, java.lang.String, boolean)
findMatching
public <T extends org.kuali.rice.krad.bo.BusinessObject> Collection<T> findMatching(Class<T> clazz,
Map<String,Object> fieldValues)
- Specified by:
findMatching
in interface org.kuali.rice.krad.service.KeyValuesService
- See Also:
BusinessObjectService.findMatching(java.lang.Class, java.util.Map)
getBusinessObjectDao
public BusinessObjectDao getBusinessObjectDao()
- Returns:
- Returns the businessObjectDao.
setBusinessObjectDao
public void setBusinessObjectDao(BusinessObjectDao businessObjectDao)
- Parameters:
businessObjectDao
- The businessObjectDao to set.
getPersistenceStructureService
public org.kuali.rice.krad.service.PersistenceStructureService getPersistenceStructureService()
- Gets the persistenceStructureService attribute.
- Returns:
- Returns the persistenceStructureService.
setPersistenceStructureService
public void setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
- Sets the persistenceStructureService attribute value.
- Parameters:
persistenceStructureService
- The persistenceStructureService to set.
findAllInactive
public <T extends org.kuali.rice.krad.bo.BusinessObject> Collection<T> findAllInactive(Class<T> clazz)
- Specified by:
findAllInactive
in interface org.kuali.rice.krad.service.KeyValuesService
- See Also:
KeyValuesService.findAll(java.lang.Class)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.