public class ChangeEvent extends Object implements Serializable
Constructor and Description |
---|
ChangeEvent() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAuthor()
The author responsible for the change.
|
Tracking |
getChangeTracking()
All of the information contained within
Tracking for the record of this change. |
String |
getDisplayName()
The name to display to the user that represents this change summary.
|
String |
getDomainAlias()
The projection domain alias for this change, represented as the class simple name, i.e.,
Product.
|
String |
getDomainContextId()
The contextId of the domain object that underwent the change.
|
String |
getEntityType()
The entity type for this change, represented as the fully qualified classname.
|
String |
getIndexableTargetId()
If the change implements
Indexable and is a member of BatchIndexableType ,
reference the id of the target item to be indexed. |
String |
getIndexableType()
If the change implements
Indexable and is a member of BatchIndexableType ,
reference the string value of BatchIndexableType here for the target item to be
indexed. |
String |
getPromotionId()
The promotion id to associate with this change event when
isPromoted() is true. |
String |
getSandbox()
The sandbox that contains the change.
|
String |
getSandboxName()
The sandbox name to use if creating a sandbox.
|
String |
getVendorRef()
The vendor code or vendor ID associated to the changed entity.
|
int |
hashCode() |
boolean |
isCreateSandboxIfDoesNotExist()
Whether or not the sandbox denoted with
getSandbox() should be created if it does
not already exist. |
boolean |
isPromoted()
Whether or not the resulting state in the sandbox service represents a promoted item.
|
boolean |
isRemoveTemporaryOverride()
Whether or not to remove temporary application catalog override state at the edges of sandbox
transition.
|
boolean |
isTemporarySandbox()
Whether or not the sandbox denoted at
getSandbox() is temporary and should be
removed at the end of the sandbox transition lifecycle. |
void |
setAuthor(String author)
The author responsible for the change.
|
void |
setChangeTracking(Tracking changeTracking)
All of the information contained within
Tracking for the record of this change. |
void |
setCreateSandboxIfDoesNotExist(boolean createSandboxIfDoesNotExist)
Whether or not the sandbox denoted with
getSandbox() should be created if it does
not already exist. |
void |
setDisplayName(String displayName)
The name to display to the user that represents this change summary.
|
void |
setDomainAlias(String domainAlias)
The projection domain alias for this change, represented as the class simple name, i.e.,
Product.
|
void |
setDomainContextId(String domainContextId)
The contextId of the domain object that underwent the change.
|
void |
setEntityType(String entityType)
The entity type for this change, represented as the fully qualified classname.
|
void |
setIndexableTargetId(String indexableTargetId)
If the change implements
Indexable and is a member of BatchIndexableType ,
reference the id of the target item to be indexed. |
void |
setIndexableType(String indexableType)
If the change implements
Indexable and is a member of BatchIndexableType ,
reference the string value of BatchIndexableType here for the target item to be
indexed. |
void |
setPromoted(boolean isPromoted)
Whether or not the resulting state in the sandbox service represents a promoted item.
|
void |
setPromotionId(String promotionId)
The promotion id to associate with this change event when
isPromoted() is true. |
void |
setRemoveTemporaryOverride(boolean isRemoveTemporaryOverride)
Whether or not to remove temporary application catalog override state at the edges of sandbox
transition.
|
void |
setSandbox(String sandbox)
The sandbox that contains the change.
|
void |
setSandboxName(String sandboxName)
The sandbox name to use if creating a sandbox.
|
void |
setTemporarySandbox(boolean isTemporarySandbox)
Whether or not the sandbox denoted at
getSandbox() is temporary and should be
removed at the end of the sandbox transition lifecycle. |
void |
setVendorRef(String vendorRef)
The vendor code or vendor ID associated to the changed entity.
|
String |
toString() |
public String getDomainContextId()
public String getDomainAlias()
public String getEntityType()
public String getAuthor()
public String getSandbox()
public String getSandboxName()
This is generally only used if isCreateSandboxIfDoesNotExist()
is true.
public Tracking getChangeTracking()
Tracking
for the record of this change.Tracking
for the record of this
changepublic String getDisplayName()
Trackable.getDisplay()
.public String getIndexableType()
Indexable
and is a member of BatchIndexableType
,
reference the string value of BatchIndexableType
here for the target item to be
indexed. Note, this may not be the entity actually being changed here. If, for example, this
change is for a CatalogProduct
, the target item to be indexed is actually the
referenced product.public String getIndexableTargetId()
Indexable
and is a member of BatchIndexableType
,
reference the id of the target item to be indexed. Note, this may not be the entity actually
being changed here. If, for example, this change is for a CatalogProduct
, the target
item to be indexed is actually the referenced product.public boolean isPromoted()
public String getPromotionId()
isPromoted()
is true.public boolean isCreateSandboxIfDoesNotExist()
getSandbox()
should be created if it does
not already exist. The information supplied in getSandboxName()
and
isTemporarySandbox()
will be used to populate the corresponding fields on the
sandbox.public boolean isTemporarySandbox()
getSandbox()
is temporary and should be
removed at the end of the sandbox transition lifecycle.
This will only be used if isCreateSandboxIfDoesNotExist()
is true.
public boolean isRemoveTemporaryOverride()
VendorSandboxPropagationHandler
for
more information.@Nullable public String getVendorRef()
If the entity is not vendor-discriminated or simply doesn't have an associated vendor, this will be null.
public void setDomainContextId(String domainContextId)
domainContextId
- The contextId of the domain object that underwent the changepublic void setDomainAlias(String domainAlias)
domainAlias
- The projection domain alias for this changepublic void setEntityType(String entityType)
entityType
- The entity type for this changepublic void setAuthor(String author)
author
- The author responsible for this changepublic void setSandbox(String sandbox)
sandbox
- The sandbox that contains the changepublic void setSandboxName(String sandboxName)
This is generally only used if isCreateSandboxIfDoesNotExist()
is true.
The
- sandbox name to use if creating a sandboxpublic void setChangeTracking(Tracking changeTracking)
Tracking
for the record of this change.changeTracking
- All of the information contained within Tracking
for the record
of this changepublic void setDisplayName(String displayName)
Trackable.getDisplay()
.displayName
- The name to display to the user that represents this change summarypublic void setIndexableType(String indexableType)
Indexable
and is a member of BatchIndexableType
,
reference the string value of BatchIndexableType
here for the target item to be
indexed. Note, this may not be the entity actually being changed here. If, for example, this
change is for a CatalogProduct
, the target item to be indexed is actually the
referenced product.public void setIndexableTargetId(String indexableTargetId)
Indexable
and is a member of BatchIndexableType
,
reference the id of the target item to be indexed. Note, this may not be the entity actually
being changed here. If, for example, this change is for a CatalogProduct
, the target
item to be indexed is actually the referenced product.public void setPromoted(boolean isPromoted)
public void setPromotionId(String promotionId)
isPromoted()
is true.public void setCreateSandboxIfDoesNotExist(boolean createSandboxIfDoesNotExist)
getSandbox()
should be created if it does
not already exist. The information supplied in getSandboxName()
and
isTemporarySandbox()
will be used to populate the corresponding fields on the
sandbox.public void setTemporarySandbox(boolean isTemporarySandbox)
getSandbox()
is temporary and should be
removed at the end of the sandbox transition lifecycle.
This will only be used if isCreateSandboxIfDoesNotExist()
is true.
public void setRemoveTemporaryOverride(boolean isRemoveTemporaryOverride)
VendorSandboxPropagationHandler
for
more information.public void setVendorRef(@Nullable String vendorRef)
If the entity is not vendor-discriminated or simply doesn't have an associated vendor, this will be null.
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.