public interface Trackable extends com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, Serializable
Tracking
Modifier and Type | Method and Description |
---|---|
String |
getContextId()
Retrieve the context id, which is a separate identifier from the database primary key.
|
default Optional<String> |
getDisplay()
Get the user friendly name for this trackable entity.
|
default List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> |
getNotificationStates() |
default List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> |
getNotificationStates(boolean fetch) |
Tracking |
getTracking()
Retrieve the tracking information from the entity
|
void |
setContextId(String contextId)
Set the context id, which is a separate identifier from the database primary key.
|
default void |
setNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) |
void |
setTracking(Tracking tracking)
Set the tracking information from the entity
|
@Nullable Tracking getTracking()
null
if none was suppliedvoid setTracking(@Nullable Tracking tracking)
tracking
- Tracking informationString getContextId()
void setContextId(String contextId)
CreateSetupDomainMapperMember
to set the
generated value. Context ids are generally used by the sandbox related code as part of
identifying different sandbox versions of the same item (i.e. they share the same contextId).contextId
- the non-primary key identifierdefault Optional<String> getDisplay()
default List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()
getNotificationStates
in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
default List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates(boolean fetch)
getNotificationStates
in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
default void setNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates)
setNotificationStates
in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
Copyright © 2021. All rights reserved.