Interface ActiveAware
-
public interface ActiveAware
Trackable
Entity classes that wish to benefit from automatic active date handling during querying should implement this interface.- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Instant
getActiveEndDate()
The time at which this entity becomes inactive for storefront consumption.Instant
getActiveStartDate()
The time at which this entity becomes active for storefront consumption.
-
-
-
Method Detail
-
getActiveStartDate
Instant getActiveStartDate()
The time at which this entity becomes active for storefront consumption. Can be null, in which case the item is always active.- Returns:
- The time at which this entity becomes active for storefront consumption
-
getActiveEndDate
Instant getActiveEndDate()
The time at which this entity becomes inactive for storefront consumption. Can be null, in which case the item does not expire.- Returns:
- The time at which this entity becomes inactive for storefront consumption
-
-