|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.InactivateableFromToServiceImpl
public class InactivateableFromToServiceImpl
Implementation of InactivateableFromToService that uses the lookup service for query implementation
InactivateableFromToService
Field Summary | |
---|---|
protected DataDictionaryService |
dataDictionaryService
|
protected DateTimeService |
dateTimeService
|
protected LookupService |
lookupService
|
Constructor Summary | |
---|---|
InactivateableFromToServiceImpl()
|
Method Summary | |
---|---|
protected String |
buildGroupByValueString(BusinessObject businessObject,
List<String> groupByList)
Builds a string containing the values from the given business object for the fields in the given list, concatenated together using a bar. |
List<InactivatableFromTo> |
filterOutNonActive(List<InactivatableFromTo> filterList)
Removes instances from the given list that are inactive based on the current date |
List<InactivatableFromTo> |
filterOutNonActive(List<InactivatableFromTo> filterList,
Date activeAsOfDate)
Removes instances from the given list that are inactive based on the given date |
List<InactivatableFromTo> |
filterOutNonCurrent(List<InactivatableFromTo> filterList)
Removes instances from the given list that are not current based on the current date |
List<InactivatableFromTo> |
filterOutNonCurrent(List<InactivatableFromTo> filterList,
Date currentAsOfDate)
Removes instances from the given list that are not current based on the given date |
List<InactivatableFromTo> |
findMatchingActive(Class<? extends InactivatableFromTo> clazz,
Map fieldValues)
Uses lookup service which will convert the active criteria to active begin/to field criteria |
List<InactivatableFromTo> |
findMatchingActiveAsOfDate(Class<? extends InactivatableFromTo> clazz,
Map fieldValues,
Date activeAsOfDate)
Uses lookup service which will convert the active criteria to active begin/to field criteria |
List<InactivatableFromTo> |
findMatchingCurrent(Class<? extends InactivatableFromTo> clazz,
Map fieldValues)
Uses lookup service which will convert the active and current criteria to active begin/to field criteria |
List<InactivatableFromTo> |
findMatchingCurrent(Class<? extends InactivatableFromTo> clazz,
Map fieldValues,
Date currentAsOfDate)
Uses lookup service which will convert the active and current criteria to active begin/to field criteria |
protected DataDictionaryService |
getDataDictionaryService()
|
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService)
|
void |
setDateTimeService(DateTimeService dateTimeService)
|
void |
setLookupService(LookupService lookupService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DateTimeService dateTimeService
protected LookupService lookupService
protected DataDictionaryService dataDictionaryService
Constructor Detail |
---|
public InactivateableFromToServiceImpl()
Method Detail |
---|
public List<InactivatableFromTo> findMatchingActive(Class<? extends InactivatableFromTo> clazz, Map fieldValues)
findMatchingActive
in interface InactivateableFromToService
clazz
- - InactivateableFromTo class to searchfieldValues
- - Search key values
InactivateableFromToService.findMatchingActive(java.lang.Class, java.util.Map)
public List<InactivatableFromTo> findMatchingActiveAsOfDate(Class<? extends InactivatableFromTo> clazz, Map fieldValues, Date activeAsOfDate)
findMatchingActiveAsOfDate
in interface InactivateableFromToService
clazz
- - InactivateableFromTo class to searchfieldValues
- - Search key valuesactiveAsOfDate
- - Date to compare to for determining active status
InactivateableFromToService.findMatchingActiveAsOfDate(java.lang.Class, java.util.Map,
java.util.Date)
public List<InactivatableFromTo> filterOutNonActive(List<InactivatableFromTo> filterList)
InactivateableFromToService
filterOutNonActive
in interface InactivateableFromToService
filterList
- - List of InactivateableFromTo instances to filter
InactivateableFromToService.filterOutNonActive(java.util.List)
public List<InactivatableFromTo> filterOutNonActive(List<InactivatableFromTo> filterList, Date activeAsOfDate)
InactivateableFromToService
filterOutNonActive
in interface InactivateableFromToService
filterList
- - List of InactivateableFromTo instances to filteractiveAsOfDate
- - Date to compare to for determining active status
InactivateableFromToService.filterOutNonActive(java.util.List, java.util.Date)
public List<InactivatableFromTo> findMatchingCurrent(Class<? extends InactivatableFromTo> clazz, Map fieldValues)
findMatchingCurrent
in interface InactivateableFromToService
clazz
- - InactivateableFromTo class to searchfieldValues
- - Search key values
InactivateableFromToService.findMatchingCurrent(java.lang.Class, java.util.Map)
public List<InactivatableFromTo> findMatchingCurrent(Class<? extends InactivatableFromTo> clazz, Map fieldValues, Date currentAsOfDate)
findMatchingCurrent
in interface InactivateableFromToService
clazz
- - InactivateableFromTo class to searchfieldValues
- - Search key valuescurrentAsOfDate
- - Date to compare to for determining active and current status
InactivateableFromToService.findMatchingCurrent(java.lang.Class, java.util.Map, java.util.Date)
public List<InactivatableFromTo> filterOutNonCurrent(List<InactivatableFromTo> filterList)
InactivateableFromToService
filterOutNonCurrent
in interface InactivateableFromToService
filterList
- - List of InactivateableFromTo instances to filter
InactivateableFromToService.filterOutNonCurrent(java.util.List)
public List<InactivatableFromTo> filterOutNonCurrent(List<InactivatableFromTo> filterList, Date currentAsOfDate)
InactivateableFromToService
filterOutNonCurrent
in interface InactivateableFromToService
filterList
- - List of InactivateableFromTo instances to filtercurrentAsOfDate
- - Date to compare to for determining active and current status
InactivateableFromToService.filterOutNonCurrent(java.util.List, java.util.Date)
protected String buildGroupByValueString(BusinessObject businessObject, List<String> groupByList)
businessObject
- - business object instance to get values fromgroupByList
- - list of fields to get values for
public void setDateTimeService(DateTimeService dateTimeService)
public void setLookupService(LookupService lookupService)
protected DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |