| org.kuali.core.service.KeyValuesService
All known Subclasses: org.kuali.core.service.impl.KeyValuesServiceImpl,
KeyValuesService | public interface KeyValuesService (Code) | | This class provides collection retrievals to populate key value pairs of business objects.
|
Method Summary | |
public Collection | findAll(Class clazz) Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance. | public Collection | findAllOrderBy(Class 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. | public Collection | findMatching(Class clazz, Map fieldValues) This method retrieves a collection of business objects populated with data, such that each record in the database populates a
new object instance. |
findAll | public Collection findAll(Class clazz)(Code) | | Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance. This will only retrieve business objects by class type.
Parameters: clazz - |
findAllOrderBy | public Collection findAllOrderBy(Class clazz, String sortField, boolean sortAscending)(Code) | | Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance. This will only retrieve business objects by class type. Performs a sort on the result collection on the given sort
field.
Parameters: clazz - Parameters: sortField - - name of the field in the class to sort results by Parameters: sortAscending - - boolean indicating whether to sort ascending or descending |
findMatching | public Collection findMatching(Class clazz, Map fieldValues)(Code) | | This method retrieves a collection of business objects populated with data, such that each record in the database populates a
new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs,
specifically attribute name and its expected value.
Parameters: clazz - Parameters: fieldValues - |
|
|