public interface TransitionRequest extends com.broadleafcommerce.common.messaging.Securable, Serializable
TrackableRepository.findPromotable(WorkflowPromoteRequest)
and
WorkflowMapper.promoteMap(Trackable, Trackable, WorkflowPromoteRequest)
for more details
on the mechanics of a sandbox promotion.Modifier and Type | Method and Description |
---|---|
String |
getApplicationId()
The applicationId that should be used to filter the results from
TrackableRepository.findPromotable(WorkflowPromoteRequest) . |
String |
getAuthor()
The author of the promotion.
|
String |
getCatalogId()
The catalogId that should be used to filter the results from
TrackableRepository.findPromotable(WorkflowPromoteRequest) . |
String |
getContextId()
The contextId used to identify the originating item to promote.
|
String |
getEntity()
The entity's class name for this promotion.
|
Integer |
getLevel()
The level at which the originating item resides.
|
String |
getMessage()
A user defined message to go along with the state transition.
|
String |
getRouteKey() |
String |
getSandboxId()
The id for the sandbox in which the originating item resides.
|
String |
getStage()
The informational stage in which the originating item resides.
|
Map<String,String> |
getTransferTypeIdMap()
Get the IDs of the transition requested mapped by the
TransferType . |
Set<String> |
getVisibleFromCatalog()
Context list of the contextIds for the deep catalog tree parenting the
getCatalogId() . |
void |
setApplicationId(String applicationId)
The applicationId that should be used to filter the results from
TrackableRepository.findPromotable(WorkflowPromoteRequest) . |
void |
setCatalogId(String catalogId)
The catalogId that should be used to filter the results from
TrackableRepository.findPromotable(WorkflowPromoteRequest) . |
void |
setMessage(String message)
A user defined message to go along with the state transition.
|
void |
setStage(String stage)
The informational stage in which the originating item resides.
|
void |
setVisibleFromCatalog(Set<String> visibleFromCatalog)
Context list of the contextIds for the deep catalog tree parenting the
getCatalogId() . |
Map<String,String> getTransferTypeIdMap()
TransferType
. Could be the ids
of a change summary, summary group, or deployment. A single summary could be one of a large
group of changes or a deployment thereby leading to the map containing the ID of a the
individual summary related to 1 set of changes being transitioned and the ID of the entire
group. This is used to clean up state once all of the related transition requests have
completed.String getSandboxId()
String getRouteKey()
String getAuthor()
Integer getLevel()
Tracking.getLevel()
for more
information.String getEntity()
String getStage()
String getContextId()
Trackable.getContextId()
.String getCatalogId()
TrackableRepository.findPromotable(WorkflowPromoteRequest)
. Can be null if the item
is not catalog discriminatable.String getApplicationId()
TrackableRepository.findPromotable(WorkflowPromoteRequest)
. Can be null if the item
is not application discriminatable.Set<String> getVisibleFromCatalog()
getCatalogId()
. This is not a value that is generally populated via JSON. Rather,
this variable is generally calculated via lookup of catalog using catalogId. This is helpful
for identifying inherited targets during a promotion.getCatalogId()
String getMessage()
void setStage(String stage)
stage
- The informational stage in which the originating item resides.void setCatalogId(String catalogId)
TrackableRepository.findPromotable(WorkflowPromoteRequest)
. Can be null if the item
is not catalog discriminatable.catalogId
- The catalogId that should be used to filter the resultsvoid setApplicationId(String applicationId)
TrackableRepository.findPromotable(WorkflowPromoteRequest)
. Can be null if the item
is not application discriminatable.applicationId
- The applicationId that should be used to filter the resultsvoid setVisibleFromCatalog(Set<String> visibleFromCatalog)
getCatalogId()
. This is not a value that is generally populated via JSON. Rather,
this variable is generally calculated via lookup of catalog using catalogId. This is helpful
for identifying inherited targets during a promotion.visibleFromCatalog
- list of the contextIds for the deep catalog tree parenting the
getCatalogId()
void setMessage(String message)
message
- A user defined message to go along with the state transitionCopyright © 2021. All rights reserved.