Interface DateDelimitedEntityService
- All Known Implementing Classes:
DateDelimitedEntityServiceImpl
public interface DateDelimitedEntityService
used to handle entities that are delimited by two date fields
-
Method Summary
Modifier and TypeMethodDescriptionlooks for a entity of a given type, that is delimited by two date fields, that is active at the moment active means, that its start date is before or equal to now and its end date is after or equal to now additionally, conditions can be set that need to be true on the active entity found
-
Method Details
-
getActiveEntity
looks for a entity of a given type, that is delimited by two date fields, that is active at the moment active means, that its start date is before or equal to now and its end date is after or equal to now additionally, conditions can be set that need to be true on the active entity found- Parameters:
config
- theDateDelimitationConfigBuilder.DateDelimitationConfig
that will be used- Returns:
- optional of the first found entity, can be absent
-
getNextActiveEntity
-