| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.service.impl.KeyValuesServiceImpl
public class KeyValuesServiceImpl
This class provides collection retrievals to populate key value pairs of business objects.
| Constructor Summary | |
|---|---|
| KeyValuesServiceImpl() | |
| Method Summary | ||
|---|---|---|
| static
 | createUnmodifiableUpcastList(Collection<? extends E> list,
                                                         Class<E> type) | |
| 
 | findAll(Class<T> clazz)Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. | |
| 
 | findAllInactive(Class<T> clazz)Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. | |
| 
 | findAllOrderBy(Class<T> clazz,
                             String sortField,
                             boolean sortAscending)Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. | |
| 
 | findMatching(Class<T> clazz,
                         Map<String,Object> fieldValues)This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. | |
|  BusinessObjectDao | getBusinessObjectDao() | |
|  PersistenceStructureService | getPersistenceStructureService()Gets the persistenceStructureService attribute. | |
|  void | setBusinessObjectDao(BusinessObjectDao businessObjectDao) | |
|  void | setPersistenceStructureService(PersistenceStructureService persistenceStructureService)Sets the persistenceStructureService attribute value. | |
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public KeyValuesServiceImpl()
| Method Detail | 
|---|
public <T extends BusinessObject> Collection<T> findAll(Class<T> clazz)
KeyValuesService
findAll in interface KeyValuesServiceKeyValuesService.findAll(java.lang.Class)
public static <E> Collection<E> createUnmodifiableUpcastList(Collection<? extends E> list,
                                                             Class<E> type)
public <T extends BusinessObject> Collection<T> findAllOrderBy(Class<T> clazz,
                                                               String sortField,
                                                               boolean sortAscending)
KeyValuesService
findAllOrderBy in interface KeyValuesServicesortField - - name of the field in the class to sort results bysortAscending - - boolean indicating whether to sort ascending or descending
KeyValuesService.findAllOrderBy(java.lang.Class, java.lang.String, boolean)
public <T extends BusinessObject> Collection<T> findMatching(Class<T> clazz,
                                                             Map<String,Object> fieldValues)
KeyValuesService
findMatching in interface KeyValuesServiceBusinessObjectService.findMatching(java.lang.Class, java.util.Map)public BusinessObjectDao getBusinessObjectDao()
public void setBusinessObjectDao(BusinessObjectDao businessObjectDao)
businessObjectDao - The businessObjectDao to set.public PersistenceStructureService getPersistenceStructureService()
public void setPersistenceStructureService(PersistenceStructureService persistenceStructureService)
persistenceStructureService - The persistenceStructureService to set.public <T extends BusinessObject> Collection<T> findAllInactive(Class<T> clazz)
KeyValuesService
findAllInactive in interface KeyValuesServiceKeyValuesService.findAll(java.lang.Class)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||