Package org.kuali.rice.krad.service.impl
Class InactivateableFromToServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.InactivateableFromToServiceImpl
- All Implemented Interfaces:
InactivateableFromToService
Implementation of InactivateableFromToService that uses the lookup service for query implementation
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataDictionaryServiceprotected org.kuali.rice.core.api.datetime.DateTimeServiceprotected LookupService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildGroupByValueString(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.filterOutNonActive(List<InactivatableFromTo> filterList) filterOutNonActive(List<InactivatableFromTo> filterList, Date activeAsOfDate) filterOutNonCurrent(List<InactivatableFromTo> filterList) filterOutNonCurrent(List<InactivatableFromTo> filterList, Date currentAsOfDate) findMatchingActive(Class<? extends InactivatableFromTo> clazz, Map fieldValues) Uses lookup service which will convert the active criteria to active begin/to field criteriafindMatchingActiveAsOfDate(Class<? extends InactivatableFromTo> clazz, Map fieldValues, Date activeAsOfDate) Uses lookup service which will convert the active criteria to active begin/to field criteriafindMatchingCurrent(Class<? extends InactivatableFromTo> clazz, Map fieldValues) Uses lookup service which will convert the active and current criteria to active begin/to field criteriafindMatchingCurrent(Class<? extends InactivatableFromTo> clazz, Map fieldValues, Date currentAsOfDate) Uses lookup service which will convert the active and current criteria to active begin/to field criteriaprotected DataDictionaryServicevoidsetDataDictionaryService(DataDictionaryService dataDictionaryService) voidsetDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService) voidsetLookupService(LookupService lookupService)
-
Field Details
-
dateTimeService
protected org.kuali.rice.core.api.datetime.DateTimeService dateTimeService -
lookupService
-
dataDictionaryService
-
-
Constructor Details
-
InactivateableFromToServiceImpl
public InactivateableFromToServiceImpl()
-
-
Method Details
-
findMatchingActive
public List<InactivatableFromTo> findMatchingActive(Class<? extends InactivatableFromTo> clazz, Map fieldValues) Uses lookup service which will convert the active criteria to active begin/to field criteria- Specified by:
findMatchingActivein interfaceInactivateableFromToService- See Also:
-
findMatchingActiveAsOfDate
public 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- Specified by:
findMatchingActiveAsOfDatein interfaceInactivateableFromToService- See Also:
-
filterOutNonActive
- Specified by:
filterOutNonActivein interfaceInactivateableFromToService- See Also:
-
filterOutNonActive
public List<InactivatableFromTo> filterOutNonActive(List<InactivatableFromTo> filterList, Date activeAsOfDate) - Specified by:
filterOutNonActivein interfaceInactivateableFromToService- See Also:
-
findMatchingCurrent
public 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- Specified by:
findMatchingCurrentin interfaceInactivateableFromToService- See Also:
-
findMatchingCurrent
public 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- Specified by:
findMatchingCurrentin interfaceInactivateableFromToService- See Also:
-
filterOutNonCurrent
- Specified by:
filterOutNonCurrentin interfaceInactivateableFromToService- See Also:
-
filterOutNonCurrent
public List<InactivatableFromTo> filterOutNonCurrent(List<InactivatableFromTo> filterList, Date currentAsOfDate) - Specified by:
filterOutNonCurrentin interfaceInactivateableFromToService- See Also:
-
buildGroupByValueString
Builds a string containing the values from the given business object for the fields in the given list, concatenated together using a bar. Null values are treated as an empty string- Parameters:
businessObject- - business object instance to get values fromgroupByList- - list of fields to get values for- Returns:
- String
-
setDateTimeService
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService) -
setLookupService
-
getDataDictionaryService
-
setDataDictionaryService
-