public class InactivateableFromToServiceImpl extends Object implements InactivateableFromToService
InactivateableFromToService| Modifier and Type | Field and Description | 
|---|---|
| protected DataDictionaryService | dataDictionaryService | 
| protected DateTimeService | dateTimeService | 
| protected LookupService | lookupService | 
| Constructor and Description | 
|---|
| InactivateableFromToServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
protected DateTimeService dateTimeService
protected LookupService lookupService
protected DataDictionaryService dataDictionaryService
public InactivateableFromToServiceImpl()
public List<InactivatableFromTo> findMatchingActive(Class<? extends InactivatableFromTo> clazz, Map fieldValues)
findMatchingActive in interface InactivateableFromToServiceclazz - - InactivateableFromTo class to searchfieldValues - - Search key valuesInactivateableFromToService.findMatchingActive(java.lang.Class, java.util.Map)public List<InactivatableFromTo> findMatchingActiveAsOfDate(Class<? extends InactivatableFromTo> clazz, Map fieldValues, Date activeAsOfDate)
findMatchingActiveAsOfDate in interface InactivateableFromToServiceclazz - - InactivateableFromTo class to searchfieldValues - - Search key valuesactiveAsOfDate - - Date to compare to for determining active statusInactivateableFromToService.findMatchingActiveAsOfDate(java.lang.Class, java.util.Map,
      java.util.Date)public List<InactivatableFromTo> filterOutNonActive(List<InactivatableFromTo> filterList)
InactivateableFromToServicefilterOutNonActive in interface InactivateableFromToServicefilterList - - List of InactivateableFromTo instances to filterInactivateableFromToService.filterOutNonActive(java.util.List)public List<InactivatableFromTo> filterOutNonActive(List<InactivatableFromTo> filterList, Date activeAsOfDate)
InactivateableFromToServicefilterOutNonActive in interface InactivateableFromToServicefilterList - - List of InactivateableFromTo instances to filteractiveAsOfDate - - Date to compare to for determining active statusInactivateableFromToService.filterOutNonActive(java.util.List, java.util.Date)public List<InactivatableFromTo> findMatchingCurrent(Class<? extends InactivatableFromTo> clazz, Map fieldValues)
findMatchingCurrent in interface InactivateableFromToServiceclazz - - InactivateableFromTo class to searchfieldValues - - Search key valuesInactivateableFromToService.findMatchingCurrent(java.lang.Class, java.util.Map)public List<InactivatableFromTo> findMatchingCurrent(Class<? extends InactivatableFromTo> clazz, Map fieldValues, Date currentAsOfDate)
findMatchingCurrent in interface InactivateableFromToServiceclazz - - InactivateableFromTo class to searchfieldValues - - Search key valuescurrentAsOfDate - - Date to compare to for determining active and current statusInactivateableFromToService.findMatchingCurrent(java.lang.Class, java.util.Map, java.util.Date)public List<InactivatableFromTo> filterOutNonCurrent(List<InactivatableFromTo> filterList)
InactivateableFromToServicefilterOutNonCurrent in interface InactivateableFromToServicefilterList - - List of InactivateableFromTo instances to filterInactivateableFromToService.filterOutNonCurrent(java.util.List)public List<InactivatableFromTo> filterOutNonCurrent(List<InactivatableFromTo> filterList, Date currentAsOfDate)
InactivateableFromToServicefilterOutNonCurrent in interface InactivateableFromToServicefilterList - - List of InactivateableFromTo instances to filtercurrentAsOfDate - - Date to compare to for determining active and current statusInactivateableFromToService.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 forpublic void setDateTimeService(DateTimeService dateTimeService)
public void setLookupService(LookupService lookupService)
protected DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.