Class WorkflowSandBoxItemImpl
java.lang.Object
com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItemImpl
- All Implemented Interfaces:
WorkflowSandBoxItem,Serializable
- Author:
- Jeff Fischer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Characterprotected Map<String,WorkflowSandBoxItemAttribute> protected Booleanprotected List<WorkflowSandBoxItem>protected WorkflowSandBoxItemprotected Longprotected Characterprotected List<WorkflowSandBoxItem>protected Stringprotected Longprotected List<WorkflowEventWorkflowItemXref>protected Stringprotected Booleanprotected Booleanprotected Longprotected Longprotected Characterprotected Stringprotected Stringprotected Longprotected Longprotected Longprotected List<WorkflowSandBoxItem>protected Longprotected Longprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Dateprotected Longprotected List<WorkflowSandboxItemError> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(WorkflowSandBoxItem child) Add a new child.booleanSimilar toWorkflowSandBoxItem.getChildItems()andWorkflowSandBoxItem.getUnfilteredChildItems()except it's a vanilla getter that returns the underlying collection of childWorkflowSandBoxItemsWhether or not this item has been archived.Retrieve additional, arbitrary descriptive informationWhether or not this instance was created as part of a cascade promote.WorkflowSandBoxItems are broken into two types: containers and children.WorkflowSandBoxItems are broken into two types: containers and children.The sandbox that originated the change.Whether or not this item should be allowed to propagate in multitenant scenarios.Other changes that this change depends on in some way.Describes the target sandboxable entity and property (if applicable) being edited.Link to the details of the change (actual changed property values, etc...)The event groups to which this item belongs.Describes the top-level entity to which this change belongs.Whether or not one or more of the items this item depends on are archived.Whether or not an error occurred while trying to perform a workflow operation on this item.getId()When a sync is performed, the inherited version is updated to denote the latest version the current sandbox has absorbed.Whether or not promotion replay for this instance is complete.A descriptive name taken from the changed entity (e.g. this would be the product name for a change made to a product)Return an tag that identifies the jobs and events cluster node on which this instance was created.If this was a change to a production record, this will be the id of the production record.If this change record resulted from a promotion, this id points to that earlier WorkflowSandBoxItem instance.During a promote/reject/revert a new WorkflowSandBoxItem is created to represent the new state based on the previous state.The reverse ofWorkflowSandBoxItem.getDependentItems().During a production deployment, this item is marked with an identifier (along with all other items in that same deployment) denoting that specific deployment event.Identifies theWorkflowEventinstance associated during a promote (not an approve).A descriptive message accompanying a promotion from a user's sandbox.A descriptive message accompanying a rejected promotion from a user's sandbox.The sandbox in which this change took placeThe way in which this item was generatedThe action that describes the general purpose for this changeThe date/time for deployment to production if this item is part of aWorkflowDeploymentReturns an unfiltered list of childWorkflowSandBoxItemwith maps and collection items first.The version of the target entity for which this change applies.Allows us to access one or more errors associated with a sandbox operation.inthashCode()voidsetArchivedFlag(Boolean archivedFlag) Whether or not this item has been archived.voidsetAttributes(Map<String, WorkflowSandBoxItemAttribute> attributes) voidsetCascade(Boolean cascade) voidsetChildItems(List<WorkflowSandBoxItem> childItems) WorkflowSandBoxItems are broken into two types: containers and children.voidsetContainer(WorkflowSandBoxItem container) WorkflowSandBoxItems are broken into two types: containers and children.voidsetCreationSandBoxId(Long creationSandBoxId) The sandbox that originated the change.voidsetDenyPropagationFlag(Boolean denyPropagationFlag) Whether or not this item should be allowed to propagate in multitenant scenarios.voidsetDependentItems(List<WorkflowSandBoxItem> dependentItems) Other changes that this change depends on in some way.voidsetDescription(String description) Describes the target sandboxable entity and property (if applicable) being edited.voidsetEntityItemId(Long entityItemId) Link to the details of the change (actual changed property values, etc...)voidsetEvents(List<WorkflowEventWorkflowItemXref> events) The event groups to which this item belongs.voidsetGroupDescription(String groupDescription) Describes the top-level entity to which this change belongs.voidsetHasArchivedDependency(Boolean hasArchivedDependency) Whether or not one or more of the items this item depends on are archived.voidsetHasError(Boolean hasError) Whether or not an error occurred while trying to perform a workflow operation on this item.voidvoidsetInheritedVersion(Long inheritedVersion) When a sync is performed, the inherited version is updated to denote the latest version the current sandbox has absorbed.voidsetIsComplete(Boolean isComplete) voidsetItemName(String itemName) A descriptive name taken from the changed entity (e.g. this would be the product name for a change made to a product)voidvoidsetOriginalItemId(Long itemIdentifer) If this was a change to a production record, this will be the id of the production record.voidsetOriginalSandBoxId(Long originalSandBoxId) If this change record resulted from a promotion, this id points to that earlier WorkflowSandBoxItem instance.voidsetOriginalWorkflowItemId(Long originalWorkflowItemId) During a promote/reject/revert a new WorkflowSandBoxItem is created to represent the new state based on the previous state.voidsetParentItems(List<WorkflowSandBoxItem> parentItems) The reverse ofWorkflowSandBoxItem.getDependentItems().voidsetProcessStatusMarker(Long processStatusMarker) During a production deployment, this item is marked with an identifier (along with all other items in that same deployment) denoting that specific deployment event.voidsetPromotionMarker(Long promotionMarker) voidsetPromotionMessage(String promotionMessage) A descriptive message accompanying a promotion from a user's sandbox.voidsetRejectionMessage(String rejectionMessage) A descriptive message accompanying a rejected promotion from a user's sandbox.voidsetSandBoxId(Long sandBoxId) The sandbox in which this change took placevoidsetSandBoxOperationOrigin(SandBoxOperationOrigin sandboxOperationOrigin) The way in which this item was generatedvoidsetSandBoxOperationType(SandBoxOperationType sandboxOperationType) The action that describes the general purpose for this changevoidsetScheduledDate(Date scheduledDate) The date/time for deployment to production if this item is part of aWorkflowDeploymentvoidsetVersion(Long version) The version of the target entity for which this change applies.voidAllows us to set one or more errors associated with a sandbox operation.toString()
-
Field Details
-
id
-
sandBoxId
-
originalSandBoxId
-
creationSandBoxId
-
sandboxOperationOrigin
-
sandboxOperationType
-
description
-
itemName
-
groupDescription
-
entityItemId
-
originalItemId
-
archivedFlag
-
denyPropagation
-
scheduledDate
-
version
-
inheritedVersion
-
promotionMessage
-
rejectionMessage
-
dependentItems
-
childItems
-
container
-
parentItems
-
originalWorkflowItemId
-
processStatusMarker
-
events
-
hasError
-
cascade
-
attributes
-
workflowSandboxItemErrors
-
nodeId
-
isComplete
-
promotionMarker
-
hasArchivedDependency
-
-
Constructor Details
-
WorkflowSandBoxItemImpl
public WorkflowSandBoxItemImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceWorkflowSandBoxItem
-
setId
- Specified by:
setIdin interfaceWorkflowSandBoxItem
-
getSandBoxId
Description copied from interface:WorkflowSandBoxItemThe sandbox in which this change took place- Specified by:
getSandBoxIdin interfaceWorkflowSandBoxItem- Returns:
- the sandbox
-
setSandBoxId
Description copied from interface:WorkflowSandBoxItemThe sandbox in which this change took place- Specified by:
setSandBoxIdin interfaceWorkflowSandBoxItem- Parameters:
sandBoxId- the sandbox
-
getOriginalSandBoxId
Description copied from interface:WorkflowSandBoxItemIf this change record resulted from a promotion, this id points to that earlier WorkflowSandBoxItem instance.- Specified by:
getOriginalSandBoxIdin interfaceWorkflowSandBoxItem- Returns:
- the WorkflowSandBoxItem that this record was promoted from
-
setOriginalSandBoxId
Description copied from interface:WorkflowSandBoxItemIf this change record resulted from a promotion, this id points to that earlier WorkflowSandBoxItem instance.- Specified by:
setOriginalSandBoxIdin interfaceWorkflowSandBoxItem- Parameters:
originalSandBoxId- the WorkflowSandBoxItem that this record was promoted from
-
getSandBoxOperationOrigin
Description copied from interface:WorkflowSandBoxItemThe way in which this item was generated- Specified by:
getSandBoxOperationOriginin interfaceWorkflowSandBoxItem- Returns:
- The way in which this item was generated
-
setSandBoxOperationOrigin
Description copied from interface:WorkflowSandBoxItemThe way in which this item was generated- Specified by:
setSandBoxOperationOriginin interfaceWorkflowSandBoxItem- Parameters:
sandboxOperationOrigin- The way in which this item was generated
-
getSandBoxOperationType
Description copied from interface:WorkflowSandBoxItemThe action that describes the general purpose for this change- Specified by:
getSandBoxOperationTypein interfaceWorkflowSandBoxItem- Returns:
- the action type
-
setSandBoxOperationType
Description copied from interface:WorkflowSandBoxItemThe action that describes the general purpose for this change- Specified by:
setSandBoxOperationTypein interfaceWorkflowSandBoxItem- Parameters:
sandboxOperationType- the action type
-
getDescription
Description copied from interface:WorkflowSandBoxItemDescribes the target sandboxable entity and property (if applicable) being edited. This is the fully qualified class name of the changed entity when basic properties are edited. When the change is against a collection or map, the field name for the collection or map is appended to the end of the class name, separated by "--".- Specified by:
getDescriptionin interfaceWorkflowSandBoxItem- Returns:
- describes the changed entity
- See Also:
-
setDescription
Description copied from interface:WorkflowSandBoxItemDescribes the target sandboxable entity and property (if applicable) being edited. This is the fully qualified class name of the changed entity when basic properties are edited. When the change is against a collection or map, the field name for the collection or map is appended to the end of the class name, separated by "--".- Specified by:
setDescriptionin interfaceWorkflowSandBoxItem- Parameters:
description- describes the changed entity- See Also:
-
getItemName
Description copied from interface:WorkflowSandBoxItemA descriptive name taken from the changed entity (e.g. this would be the product name for a change made to a product)- Specified by:
getItemNamein interfaceWorkflowSandBoxItem- Returns:
- the name for the changed entity
-
setItemName
Description copied from interface:WorkflowSandBoxItemA descriptive name taken from the changed entity (e.g. this would be the product name for a change made to a product)- Specified by:
setItemNamein interfaceWorkflowSandBoxItem- Parameters:
itemName- the name for the changed entity
-
getOriginalItemId
Description copied from interface:WorkflowSandBoxItemIf this was a change to a production record, this will be the id of the production record. Will be null for added items.- Specified by:
getOriginalItemIdin interfaceWorkflowSandBoxItem- Returns:
- the production record this change was against
-
setOriginalItemId
Description copied from interface:WorkflowSandBoxItemIf this was a change to a production record, this will be the id of the production record. Will be null for added items.- Specified by:
setOriginalItemIdin interfaceWorkflowSandBoxItem- Parameters:
itemIdentifer- the production record this change was against
-
getEntityItemId
Description copied from interface:WorkflowSandBoxItemLink to the details of the change (actual changed property values, etc...)- Specified by:
getEntityItemIdin interfaceWorkflowSandBoxItem- Returns:
- the id for the
EntityItem - See Also:
-
setEntityItemId
Description copied from interface:WorkflowSandBoxItemLink to the details of the change (actual changed property values, etc...)- Specified by:
setEntityItemIdin interfaceWorkflowSandBoxItem- Parameters:
entityItemId- the id for theEntityItem- See Also:
-
getArchivedFlag
Description copied from interface:WorkflowSandBoxItemWhether or not this item has been archived. Archived items do not show up in the admin and are not available for selection for workflow operations.- Specified by:
getArchivedFlagin interfaceWorkflowSandBoxItem- Returns:
- archived status
-
setArchivedFlag
Description copied from interface:WorkflowSandBoxItemWhether or not this item has been archived. Archived items do not show up in the admin and are not available for selection for workflow operations.- Specified by:
setArchivedFlagin interfaceWorkflowSandBoxItem- Parameters:
archivedFlag- archived status
-
getDenyPropagationFlag
Description copied from interface:WorkflowSandBoxItemWhether or not this item should be allowed to propagate in multitenant scenarios.- Specified by:
getDenyPropagationFlagin interfaceWorkflowSandBoxItem- Returns:
- whether propagation is allowed
-
setDenyPropagationFlag
Description copied from interface:WorkflowSandBoxItemWhether or not this item should be allowed to propagate in multitenant scenarios.- Specified by:
setDenyPropagationFlagin interfaceWorkflowSandBoxItem- Parameters:
denyPropagationFlag- whether propagation is allowed
-
getGroupDescription
Description copied from interface:WorkflowSandBoxItemDescribes the top-level entity to which this change belongs. This is best explained by an example: 1. A change is made to the retail price of a product
2. An addition is made to the cross-sale products list on that same product These two changes result in two WorkflowSandBoxItem instances - one for the basic field change and one for the collection field change. Even though the system considers these to be separate change items, there are still times when it is useful for the system to group these two changes together, since they were against the same item. This field provides a place to describe that both of these changes were against the same product. The format for this field's values is as follows: Basic change - [entity friendly name] ([entity friendly name]:[entity id])
Collection change - [entity friendly name] ([entity friendly name]:[entity id]:[collection member id])
Map change - [entity friendly name] ([entity friendly name]:[entity id]:[map key value])- Specified by:
getGroupDescriptionin interfaceWorkflowSandBoxItem- Returns:
- top-level entity description
- See Also:
-
setGroupDescription
Description copied from interface:WorkflowSandBoxItemDescribes the top-level entity to which this change belongs. This is best explained by an example: 1. A change is made to the retail price of a product
2. An addition is made to the cross-sale products list on that same product These two changes result in two WorkflowSandBoxItem instances - one for the basic field change and one for the collection field change. Even though the system considers these to be separate change items, there are still times when it is useful for the system to group these two changes together, since they were against the same item. This field provides a place to describe that both of these changes were against the same product. The format for this field's values is as follows: Basic change - [entity friendly name] ([entity friendly name]:[entity id])
Collection change - [entity friendly name] ([entity friendly name]:[entity id]:[collection member id])
Map change - [entity friendly name] ([entity friendly name]:[entity id]:[map key value])- Specified by:
setGroupDescriptionin interfaceWorkflowSandBoxItem- Parameters:
groupDescription- top-level entity description- See Also:
-
getVersion
Description copied from interface:WorkflowSandBoxItemThe version of the target entity for which this change applies. If two users edit the same entity, and one user promotes his change, the version in the target sandbox is advanced. The second user's version is now behind. This information can be used for conflict detection.- Specified by:
getVersionin interfaceWorkflowSandBoxItem- Returns:
- the current version for the change based on the target change entity
-
setVersion
Description copied from interface:WorkflowSandBoxItemThe version of the target entity for which this change applies. If two users edit the same entity, and one user promotes his change, the version in the target sandbox is advanced. The second user's version is now behind. This information can be used for conflict detection.- Specified by:
setVersionin interfaceWorkflowSandBoxItem- Parameters:
version- the current version for the change based on the target change entity
-
getCreationSandBoxId
Description copied from interface:WorkflowSandBoxItemThe sandbox that originated the change. This is a user's sandbox.- Specified by:
getCreationSandBoxIdin interfaceWorkflowSandBoxItem- Returns:
- the user's sandbox that originated the change.
-
setCreationSandBoxId
Description copied from interface:WorkflowSandBoxItemThe sandbox that originated the change. This is a user's sandbox.- Specified by:
setCreationSandBoxIdin interfaceWorkflowSandBoxItem- Parameters:
creationSandBoxId- the user's sandbox that originated the change.
-
getInheritedVersion
Description copied from interface:WorkflowSandBoxItemWhen a sync is performed, the inherited version is updated to denote the latest version the current sandbox has absorbed.- Specified by:
getInheritedVersionin interfaceWorkflowSandBoxItem- Returns:
- the latest version absorbed for the changed entity.
-
setInheritedVersion
Description copied from interface:WorkflowSandBoxItemWhen a sync is performed, the inherited version is updated to denote the latest version the current sandbox has absorbed.- Specified by:
setInheritedVersionin interfaceWorkflowSandBoxItem- Parameters:
inheritedVersion- the latest version absorbed for the changed entity.
-
getPromotionMessage
Description copied from interface:WorkflowSandBoxItemA descriptive message accompanying a promotion from a user's sandbox.- Specified by:
getPromotionMessagein interfaceWorkflowSandBoxItem- Returns:
- the descriptive promotion message
-
setPromotionMessage
Description copied from interface:WorkflowSandBoxItemA descriptive message accompanying a promotion from a user's sandbox.- Specified by:
setPromotionMessagein interfaceWorkflowSandBoxItem- Parameters:
promotionMessage- the descriptive promotion message
-
getRejectionMessage
Description copied from interface:WorkflowSandBoxItemA descriptive message accompanying a rejected promotion from a user's sandbox.- Specified by:
getRejectionMessagein interfaceWorkflowSandBoxItem- Returns:
- the descriptive promotion rejection message
-
setRejectionMessage
Description copied from interface:WorkflowSandBoxItemA descriptive message accompanying a rejected promotion from a user's sandbox.- Specified by:
setRejectionMessagein interfaceWorkflowSandBoxItem- Parameters:
rejectionMessage- the descriptive promotion rejection message
-
getDependentItems
Description copied from interface:WorkflowSandBoxItemOther changes that this change depends on in some way. (e.g. if this change is a cross-sale product and the cross-sale points to a product that was added previously, then this change depends on that previous add operation).- Specified by:
getDependentItemsin interfaceWorkflowSandBoxItem- Returns:
- Other changes that this change depends on in some way
-
setDependentItems
Description copied from interface:WorkflowSandBoxItemOther changes that this change depends on in some way. (e.g. if this change is a cross-sale product and the cross-sale points to a product that was added previously, then this change depends on that previous add operation).- Specified by:
setDependentItemsin interfaceWorkflowSandBoxItem- Parameters:
dependentItems- Other changes that this change depends on in some way
-
getOriginalWorkflowItemId
Description copied from interface:WorkflowSandBoxItemDuring a promote/reject/revert a new WorkflowSandBoxItem is created to represent the new state based on the previous state. This id points to that previous WorkflowSandBoxItem.- Specified by:
getOriginalWorkflowItemIdin interfaceWorkflowSandBoxItem- Returns:
- the originating WorkflowSandBoxItem.
-
setOriginalWorkflowItemId
Description copied from interface:WorkflowSandBoxItemDuring a promote/reject/revert a new WorkflowSandBoxItem is created to represent the new state based on the previous state. This id points to that previous WorkflowSandBoxItem.- Specified by:
setOriginalWorkflowItemIdin interfaceWorkflowSandBoxItem- Parameters:
originalWorkflowItemId- the originating WorkflowSandBoxItem.
-
getProcessStatusMarker
Description copied from interface:WorkflowSandBoxItemDuring a production deployment, this item is marked with an identifier (along with all other items in that same deployment) denoting that specific deployment event.- Specified by:
getProcessStatusMarkerin interfaceWorkflowSandBoxItem- Returns:
- deployment identifier
-
setProcessStatusMarker
Description copied from interface:WorkflowSandBoxItemDuring a production deployment, this item is marked with an identifier (along with all other items in that same deployment) denoting that specific deployment event.- Specified by:
setProcessStatusMarkerin interfaceWorkflowSandBoxItem- Parameters:
processStatusMarker- deployment identifier
-
getEvents
Description copied from interface:WorkflowSandBoxItemThe event groups to which this item belongs. Events are created as part of promotion from a user's sandbox.- Specified by:
getEventsin interfaceWorkflowSandBoxItem- Returns:
- the event groups in the approval sandbox
-
setEvents
Description copied from interface:WorkflowSandBoxItemThe event groups to which this item belongs. Events are created as part of promotion from a user's sandbox.- Specified by:
setEventsin interfaceWorkflowSandBoxItem- Parameters:
events- the event groups in the approval sandbox
-
getHasError
Description copied from interface:WorkflowSandBoxItemWhether or not an error occurred while trying to perform a workflow operation on this item.- Specified by:
getHasErrorin interfaceWorkflowSandBoxItem- Returns:
- whether or not there was an error
-
setHasError
Description copied from interface:WorkflowSandBoxItemWhether or not an error occurred while trying to perform a workflow operation on this item.- Specified by:
setHasErrorin interfaceWorkflowSandBoxItem- Parameters:
hasError- whether or not there was an error
-
getParentItems
Description copied from interface:WorkflowSandBoxItemThe reverse ofWorkflowSandBoxItem.getDependentItems(). Find items that depend on this item.- Specified by:
getParentItemsin interfaceWorkflowSandBoxItem- Returns:
- items that depend on this item.
-
setParentItems
Description copied from interface:WorkflowSandBoxItemThe reverse ofWorkflowSandBoxItem.getDependentItems(). Find items that depend on this item.- Specified by:
setParentItemsin interfaceWorkflowSandBoxItem- Parameters:
parentItems- items that depend on this item.
-
getHasArchivedDependency
Description copied from interface:WorkflowSandBoxItemWhether or not one or more of the items this item depends on are archived.- Specified by:
getHasArchivedDependencyin interfaceWorkflowSandBoxItem- Returns:
- Whether or not one or more of the items this item depends on are archived.
-
setHasArchivedDependency
Description copied from interface:WorkflowSandBoxItemWhether or not one or more of the items this item depends on are archived.- Specified by:
setHasArchivedDependencyin interfaceWorkflowSandBoxItem- Parameters:
hasArchivedDependency- Whether or not one or more of the items this item depends on are archived.
-
getScheduledDate
Description copied from interface:WorkflowSandBoxItemThe date/time for deployment to production if this item is part of aWorkflowDeployment- Specified by:
getScheduledDatein interfaceWorkflowSandBoxItem- Returns:
- target date for deployment to production
-
setScheduledDate
Description copied from interface:WorkflowSandBoxItemThe date/time for deployment to production if this item is part of aWorkflowDeployment- Specified by:
setScheduledDatein interfaceWorkflowSandBoxItem- Parameters:
scheduledDate- target date for deployment to production
-
getContainer
Description copied from interface:WorkflowSandBoxItemWorkflowSandBoxItems are broken into two types: containers and children. Container items are simply a grouping concept and provide some general description about the individual changes they contain. Child items have a container, but no children. The reverse is true for container items.- Specified by:
getContainerin interfaceWorkflowSandBoxItem- Returns:
- the WorkflowSandBoxItem instance for which this item is a child. Will be null if this item is a container.
-
setContainer
Description copied from interface:WorkflowSandBoxItemWorkflowSandBoxItems are broken into two types: containers and children. Container items are simply a grouping concept and provide some general description about the individual changes they contain. Child items have a container, but no children. The reverse is true for container items.- Specified by:
setContainerin interfaceWorkflowSandBoxItem- Parameters:
container- the WorkflowSandBoxItem instance for which this item is a child. Will be null if this item is a container.
-
getUnfilteredChildItems
Description copied from interface:WorkflowSandBoxItemReturns an unfiltered list of childWorkflowSandBoxItemwith maps and collection items first. When iterating and executing operations like cloning on these the items it will prevent breaking dependencies existing on the parent item as these collections will be processed first.- Specified by:
getUnfilteredChildItemsin interfaceWorkflowSandBoxItem- Returns:
- the WorkflowSandBoxItem instances
-
getChildItems
Description copied from interface:WorkflowSandBoxItemWorkflowSandBoxItems are broken into two types: containers and children. Container items are simply a grouping concept and provide some general description about the individual changes they contain. Child items have a container, but no children. The reverse is true for container items.- Specified by:
getChildItemsin interfaceWorkflowSandBoxItem- Returns:
- the WorkflowSandBoxItem instances that belong to this container. Will be empty if this item is a child.
-
getAllChildItems
Description copied from interface:WorkflowSandBoxItemSimilar toWorkflowSandBoxItem.getChildItems()andWorkflowSandBoxItem.getUnfilteredChildItems()except it's a vanilla getter that returns the underlying collection of childWorkflowSandBoxItems- Specified by:
getAllChildItemsin interfaceWorkflowSandBoxItem- Returns:
- the complete collection of children
WorkflowSandBoxItems for thisWorkflowSandBoxItem
-
addChild
Description copied from interface:WorkflowSandBoxItemAdd a new child. WorkflowSandBoxItems are broken into two types: containers and children. Container items are simply a grouping concept and provide some general description about the individual changes they contain. Child items have a container, but no children. The reverse is true for container items.- Specified by:
addChildin interfaceWorkflowSandBoxItem- Parameters:
child- the WorkflowSandBoxItem instance that belongs to this container.
-
setChildItems
Description copied from interface:WorkflowSandBoxItemWorkflowSandBoxItems are broken into two types: containers and children. Container items are simply a grouping concept and provide some general description about the individual changes they contain. Child items have a container, but no children. The reverse is true for container items.- Specified by:
setChildItemsin interfaceWorkflowSandBoxItem- Parameters:
childItems- the WorkflowSandBoxItem instances that belong to this container. Will be empty if this item is a child.
-
getCascade
Description copied from interface:WorkflowSandBoxItemWhether or not this instance was created as part of a cascade promote.- Specified by:
getCascadein interfaceWorkflowSandBoxItem- Returns:
-
setCascade
- Specified by:
setCascadein interfaceWorkflowSandBoxItem
-
getAttributes
Description copied from interface:WorkflowSandBoxItemRetrieve additional, arbitrary descriptive information- Specified by:
getAttributesin interfaceWorkflowSandBoxItem- Returns:
-
setAttributes
- Specified by:
setAttributesin interfaceWorkflowSandBoxItem
-
setWorkflowSandboxItemErrors
Description copied from interface:WorkflowSandBoxItemAllows us to set one or more errors associated with a sandbox operation.- Specified by:
setWorkflowSandboxItemErrorsin interfaceWorkflowSandBoxItem
-
getWorkflowSandboxItemErrors
Description copied from interface:WorkflowSandBoxItemAllows us to access one or more errors associated with a sandbox operation.- Specified by:
getWorkflowSandboxItemErrorsin interfaceWorkflowSandBoxItem- Returns:
-
getNodeId
Description copied from interface:WorkflowSandBoxItemReturn an tag that identifies the jobs and events cluster node on which this instance was created.- Specified by:
getNodeIdin interfaceWorkflowSandBoxItem- Returns:
- See Also:
-
DatabaseSystemEventNode
-
setNodeId
- Specified by:
setNodeIdin interfaceWorkflowSandBoxItem
-
getIsComplete
Description copied from interface:WorkflowSandBoxItemWhether or not promotion replay for this instance is complete.- Specified by:
getIsCompletein interfaceWorkflowSandBoxItem- Returns:
-
setIsComplete
- Specified by:
setIsCompletein interfaceWorkflowSandBoxItem
-
getPromotionMarker
Description copied from interface:WorkflowSandBoxItemIdentifies theWorkflowEventinstance associated during a promote (not an approve).- Specified by:
getPromotionMarkerin interfaceWorkflowSandBoxItem- Returns:
-
setPromotionMarker
- Specified by:
setPromotionMarkerin interfaceWorkflowSandBoxItem
-
toString
-
hashCode
public int hashCode() -
equals
-