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
Modifier and TypeMethodDescriptionThe time at which this entity becomes inactive for storefront consumption.The time at which this entity becomes active for storefront consumption.
-
Method Details
-
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
-