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 booleanbooleanorg.modelmapper.ModelMapperfromMe()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 recentChangeDeployto be associated with this summary.The most recentChangeSummaryGroupto 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.inthashCode()booleanbooleanWhether or not the system has acknowledged that indexing has been requested for this item.booleanvoidsetArchived(boolean archived) voidvoidsetChangeTracking(JpaChangeTracking changeTracking) voidsetDisplayName(String displayName) voidsetDomainAlias(String domainAlias) voidsetDomainContextId(String domainContextId) voidsetEntityType(String entityType) voidsetException(String exception) voidThe jpa primary key.voidsetIndexableProcessed(boolean indexableProcessed) voidsetIndexableTargetId(String indexableTargetId) voidsetIndexableType(String indexableType) voidsetLastDeployRelation(String lastDeployRelation) The most recentChangeDeployto be associated with this summary.voidsetLastGroupRelation(String lastGroupRelation) The most recentChangeSummaryGroupto be associated with this summary.voidsetNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) voidsetPromotionId(String promotionId) voidsetRejectMessage(String rejectMessage) voidsetRemoveTemporaryOverride(boolean isRemoveTemporaryOverride) voidsetSandbox(String sandbox) voidvoidvoidsetStatusChangeTime(Instant statusChangeTime) voidsetTransitionMarker(String transitionMarker) voidsetVendorRef(String vendorRef) org.modelmapper.ModelMappertoMe()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMeMethods 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:
setNotificationStatesin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()- Specified by:
getNotificationStatesin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates(boolean fetch) - Specified by:
getNotificationStatesin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
The jpa primary key.- Specified by:
getIdin 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:BatchIndexableThe sandbox for the indexable item. SeeChangeSummary.getSandbox().- Specified by:
getSandboxin interfaceBatchIndexable- Returns:
- The sandbox for the indexable item
- See Also:
-
getChangeTracking
Description copied from interface:BatchIndexableThe change tracking information for the indexable item. SeeChangeSummary.getChangeTracking().- Specified by:
getChangeTrackingin 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:BatchIndexableRetrieve the type that is being indexed. String representation ofBatchIndexableType.- Specified by:
getIndexableTypein interfaceBatchIndexable- Returns:
- The type that is being indexed
-
getIndexableTargetId
Description copied from interface:BatchIndexableThe id of the item being targeted for indexing.- Specified by:
getIndexableTargetIdin interfaceBatchIndexable- Returns:
- The id of the item being targeted for indexing.
-
isIndexableProcessed
public boolean isIndexableProcessed()Description copied from interface:BatchIndexableWhether or not the system has acknowledged that indexing has been requested for this item.- Specified by:
isIndexableProcessedin interfaceBatchIndexable- Returns:
- Whether or not indexing has been requested.
-
getTransitionMarker
Description copied from interface:BatchIndexableA marker id that identifies a change summary as part of a transition batch.- Specified by:
getTransitionMarkerin interfaceBatchIndexable- Returns:
- A marker id that identifies a change summary as part of a transition batch.
-
getLastGroupRelation
The most recentChangeSummaryGroupto be associated with this summary. -
getLastDeployRelation
The most recentChangeDeployto 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 recentChangeSummaryGroupto be associated with this summary. -
setLastDeployRelation
The most recentChangeDeployto 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()
-