|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.service.impl.KeyValuesServiceImpl
public class KeyValuesServiceImpl
This class provides collection retrievals to populate key value pairs of business objects.
| Field Summary | |
|---|---|
private BusinessObjectDao |
businessObjectDao
|
private static org.apache.log4j.Logger |
LOG
|
private PersistenceStructureService |
persistenceStructureService
|
| Constructor Summary | |
|---|---|
KeyValuesServiceImpl()
|
|
| Method Summary | |
|---|---|
private boolean |
containsActiveIndicator(Class clazz)
Uses persistence service to determine if the active column is mapped up in ojb. |
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. |
Collection |
findAllInactive(Class clazz)
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. |
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. |
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. |
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 |
| Field Detail |
|---|
private static final org.apache.log4j.Logger LOG
private BusinessObjectDao businessObjectDao
private PersistenceStructureService persistenceStructureService
| Constructor Detail |
|---|
public KeyValuesServiceImpl()
| Method Detail |
|---|
public Collection findAll(Class clazz)
KeyValuesService
findAll in interface KeyValuesServiceKeyValuesService.findAll(java.lang.Class)
public Collection findAllOrderBy(Class 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 Collection findMatching(Class clazz,
Map 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.private boolean containsActiveIndicator(Class clazz)
clazz -
public Collection findAllInactive(Class 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 | |||||||||