Interface TemporalIdentifier
-
public interface TemporalIdentifier
Component capable of informing the system regarding the current time it should consider. This is most often used in combination with active date handling for entities during querying.- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isFilterByActiveDates()
Whether or not active date filtering should be considered in the current flow.Instant
nowOrPreviewDate()
If a preview date is supported and properly configured, return that date.
-
-
-
Method Detail
-
nowOrPreviewDate
Instant nowOrPreviewDate()
If a preview date is supported and properly configured, return that date. Otherwise, return the current time.- Returns:
- A future time, or the current time - whichever this component deems appropriate
-
isFilterByActiveDates
boolean isFilterByActiveDates()
Whether or not active date filtering should be considered in the current flow.- Returns:
- Whether or not active date filtering should be considered in the current flow
-
-