Class JpaChangeSummary
java.lang.Object
com.broadleafcommerce.sandbox.provider.jpa.domain.JpaChangeSummary
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.Identifiable
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,BatchIndexable
,Serializable
@Entity
public class JpaChangeSummary
extends Object
implements com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, BatchIndexable, Serializable, com.broadleafcommerce.data.tracking.core.Identifiable
- Author:
- Jeff Fischer
- See Also:
-
Field Summary
Fields inherited from interface com.broadleafcommerce.sandbox.provider.BatchIndexable
TRANSITION_MARKER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
The change tracking information for the indexable item.getId()
The jpa primary key.The id of the item being targeted for indexing.Retrieve the type that is being indexed.The most recentChangeDeploy
to be associated with this summary.The most recentChangeSummaryGroup
to be associated with this summary.List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState>
List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState>
getNotificationStates
(boolean fetch) The sandbox for the indexable item.getState()
A marker id that identifies a change summary as part of a transition batch.int
hashCode()
boolean
boolean
Whether or not the system has acknowledged that indexing has been requested for this item.boolean
void
setArchived
(boolean archived) void
void
setChangeTracking
(JpaChangeTracking changeTracking) void
setDisplayName
(String displayName) void
setDomainAlias
(String domainAlias) void
setDomainContextId
(String domainContextId) void
setEntityType
(String entityType) void
setException
(String exception) void
The jpa primary key.void
setIndexableProcessed
(boolean indexableProcessed) void
setIndexableTargetId
(String indexableTargetId) void
setIndexableType
(String indexableType) void
setLastDeployRelation
(String lastDeployRelation) The most recentChangeDeploy
to be associated with this summary.void
setLastGroupRelation
(String lastGroupRelation) The most recentChangeSummaryGroup
to be associated with this summary.void
setNotificationStates
(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) void
setPromotionId
(String promotionId) void
setRejectMessage
(String rejectMessage) void
setRemoveTemporaryOverride
(boolean isRemoveTemporaryOverride) void
setSandbox
(String sandbox) void
void
void
setStatusChangeTime
(Instant statusChangeTime) void
setTransitionMarker
(String transitionMarker) void
setVendorRef
(String vendorRef) org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
-
Constructor Details
-
JpaChangeSummary
public JpaChangeSummary()
-
-
Method Details
-
setNotificationStates
public void setNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) - Specified by:
setNotificationStates
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()- Specified by:
getNotificationStates
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates(boolean fetch) - Specified by:
getNotificationStates
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
The jpa primary key.- Specified by:
getId
in interfacecom.broadleafcommerce.data.tracking.core.Identifiable
- Returns:
- The jpa primary key
-
getDomainContextId
- See Also:
-
getDomainAlias
- See Also:
-
getEntityType
- See Also:
-
getAuthor
- See Also:
-
getSandbox
Description copied from interface:BatchIndexable
The sandbox for the indexable item. SeeChangeSummary.getSandbox()
.- Specified by:
getSandbox
in interfaceBatchIndexable
- Returns:
- The sandbox for the indexable item
- See Also:
-
getChangeTracking
Description copied from interface:BatchIndexable
The change tracking information for the indexable item. SeeChangeSummary.getChangeTracking()
.- Specified by:
getChangeTracking
in interfaceBatchIndexable
- Returns:
- The change tracking information for the indexable item
- See Also:
-
getState
- See Also:
-
getStatusChangeTime
- See Also:
-
getStatus
- See Also:
-
getDisplayName
- See Also:
-
getException
- See Also:
-
getRejectMessage
- See Also:
-
getPromotionId
- See Also:
-
getIndexableType
Description copied from interface:BatchIndexable
Retrieve the type that is being indexed. String representation ofBatchIndexableType
.- Specified by:
getIndexableType
in interfaceBatchIndexable
- Returns:
- The type that is being indexed
-
getIndexableTargetId
Description copied from interface:BatchIndexable
The id of the item being targeted for indexing.- Specified by:
getIndexableTargetId
in interfaceBatchIndexable
- Returns:
- The id of the item being targeted for indexing.
-
isIndexableProcessed
public boolean isIndexableProcessed()Description copied from interface:BatchIndexable
Whether or not the system has acknowledged that indexing has been requested for this item.- Specified by:
isIndexableProcessed
in interfaceBatchIndexable
- Returns:
- Whether or not indexing has been requested.
-
getTransitionMarker
Description copied from interface:BatchIndexable
A marker id that identifies a change summary as part of a transition batch.- Specified by:
getTransitionMarker
in interfaceBatchIndexable
- Returns:
- A marker id that identifies a change summary as part of a transition batch.
-
getLastGroupRelation
The most recentChangeSummaryGroup
to be associated with this summary. -
getLastDeployRelation
The most recentChangeDeploy
to be associated with this summary. -
isRemoveTemporaryOverride
public boolean isRemoveTemporaryOverride() -
isArchived
public boolean isArchived()- See Also:
-
getVendorRef
- See Also:
-
setId
The jpa primary key.- Parameters:
id
- The jpa primary key
-
setDomainContextId
- See Also:
-
setDomainAlias
- See Also:
-
setEntityType
- See Also:
-
setAuthor
- See Also:
-
setSandbox
- See Also:
-
setChangeTracking
- See Also:
-
setState
- See Also:
-
setStatusChangeTime
- See Also:
-
setStatus
- See Also:
-
setDisplayName
- See Also:
-
setException
- See Also:
-
setRejectMessage
- See Also:
-
setPromotionId
- See Also:
-
setIndexableType
-
setIndexableTargetId
-
setIndexableProcessed
public void setIndexableProcessed(boolean indexableProcessed) -
setTransitionMarker
-
setLastGroupRelation
The most recentChangeSummaryGroup
to be associated with this summary. -
setLastDeployRelation
The most recentChangeDeploy
to be associated with this summary. -
setRemoveTemporaryOverride
public void setRemoveTemporaryOverride(boolean isRemoveTemporaryOverride) -
setArchived
public void setArchived(boolean archived) - See Also:
-
setVendorRef
- See Also:
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-