@Service(value="blWorkflowStateManager") public class WorkflowStateManagerImpl extends Object implements org.springframework.context.ApplicationContextAware, WorkflowStateManager
WorkflowStateManager| Modifier and Type | Field and Description |
|---|---|
protected com.broadleafcommerce.enterprise.common.extension.enterprise.WorkflowStateManagerExtensionManager |
extensionManager |
| Constructor and Description |
|---|
WorkflowStateManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addRollback() |
void |
addSandBoxCollectionMemberBatchFetch(String key,
Map<Serializable,List> members)
Add a list of batch fetch members to a thread local cache.
|
void |
addTransactionBoundCloneLibraryMember(WorkflowCloneLibrary item,
TransactionBoundOperationType operationType) |
void |
clearSandBoxCollectionMemberBatchFetch()
Remove any previously cache batch fetch results from threadlocal.
|
Boolean |
dontPersistEntityItem()
Retrieve the state established by
WorkflowStateManager.startDontPersistEntityItemState(). |
void |
endAddState() |
void |
endAutoPromotionState()
Promotion activities after this call will resume normal workflow steps.
|
void |
endCascadeWorkflowItem() |
void |
endCausedBy()
Operations performed after this call are no longer understood be have been prompted by this
WorkflowSandBoxItem |
void |
endConstrainFilterGroups()
No longer constrain
FilterEnabler instances based on groupNames. |
void |
endCurrentPromoteItem() |
void |
endDontPersistEntityItemState()
Any admin operation performed after this call resume normal
EntityItem persistence behavior. |
void |
endEntityPersistState()
End the state in which the promoted
WorkflowSandBoxItem id is stored on the request. |
void |
endHardDeleteState()
Any
EntityManager.remove(Object) operation for sandboxable entities will resume normal operation,
which is to soft delete (i.e. |
void |
endIgnoreArchiveForRevert()
Entity archival operations that are part of a revert will resume normal operation.
|
void |
endIgnoreFiltersState()
Any operations performed after this call will cause
FilterEnabler
instances to resume normal operation. |
void |
endIgnoreUpdateInsertState()
Entity inserts will resume automatic updates of sandboxable associations to the original id
|
void |
endIncludeSandBoxInheritance()
Resume normal operation for including sandbox inheritance, which is to pass true to
SandBox.getSandBoxIdsForUpwardHierarchy(boolean). |
void |
endInhibitDeleteCascade() |
void |
endOriginalSandBoxState()
Any operation performed after this call will no longer be associated with originating information.
|
void |
endPromoteState()
Any operation performed after this call will no longer be understood to be part of a
PromoteWorkflowManager.promoteSandBoxItemChanges(Long, Long[], boolean, String, String, boolean) call. |
void |
endPropagationOriginalIdCache() |
void |
endRejectState()
Any operation performed after this call will no longer be understood to be part of a
RejectWorkflowManager.rejectSandBoxItemChanges(Long[], String) call. |
void |
endReplayState()
Any operation performed after this call will no longer be understood to be part of a
AbstractWorkflowManager.replayChange(Long, Long, WorkflowSandBoxItem, boolean, boolean, boolean, String) call. |
void |
endReversePropertyValue()
Resume normal
Property persistence behavior where the
persistence package property value is used directly for the persisted value. |
void |
endRevertState()
Any operation performed after this call will no longer be understood to be part of a
RevertWorkflowManager.revertSandBoxItem(com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItem, com.broadleafcommerce.enterprise.workflow.service.type.SandBoxOperationType) call. |
void |
endRollbackState() |
void |
endSandBoxStateFetchCache()
Loaded entities (
com.broadleafcommerce.enterprise.workflow.persistence.event.listener.LoadWorker will no longer be cached. |
void |
endSyncState()
Any operation performed after this call will no longer be understood to be part of a
SyncWorkflowManager.syncChanges(Long, Long) call. |
void |
endVetoProductionUpdate() |
void |
endVetoSandBoxUpdate() |
Boolean |
getAutoPromotion()
Retrieve the state established by
WorkflowStateManager.startAutoPromotionState() |
Long |
getCascadeWorkflowItemId() |
Long |
getCausedBy()
Retrieve the state established by
WorkflowStateManager.startCausedBy(Long) |
List<String> |
getConstrainedFilterGroups()
Retrieve the state established by
WorkflowStateManager.startConstrainFilterGroups(java.util.List) |
protected <T> T |
getContextObject(String key,
Class<?> T) |
Long |
getCreationSandBox()
Retrieve the state established by
WorkflowStateManager.startReplayState(Long) |
Long |
getCurrentPromoteItemId() |
Long |
getEntityPersistSandBoxItem()
Retrieve the id for the
WorkflowSandBoxItem promoted recently
in this request. |
String |
getEntityPrimaryKeyRollback() |
String |
getGroupDescriptionRollback() |
Boolean |
getHardDeleteState()
Retrieve the state established by
WorkflowStateManager.startHardDeleteState() |
Boolean |
getIgnoreArchiveForRevert()
Retrieve the state established by
WorkflowStateManager.startIgnoreArchiveForRevert() |
Boolean |
getIgnoreCloning()
Retrieve the state established by
#startIgnoreCloning() |
Boolean |
getIgnoreFilters()
Retrieve the state established by
WorkflowStateManager.startIgnoreFiltersState() |
Boolean |
getIgnoreUpdateInsertState()
Retrieve the state established by
WorkflowStateManager.startIgnoreUpdateInsertState() |
Boolean |
getIncludeSandboxInheritance()
Retrieve the state established by
WorkflowStateManager.startIncludeSandBoxInheritance(Boolean). |
WorkflowSandBoxItem |
getItemContainerOverride() |
List<String> |
getLoadedEntities()
Retrieve a list of sandbox entities that have been loaded in this request.
|
Long |
getOriginalSandBox()
Retrieve the state established by
WorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String) |
Long |
getOriginalWorkflowItemId()
Retrieve the state established by
WorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String) |
Map<String,String> |
getProdAddedEntities() |
String |
getPromotionMessage()
Retrieve the state established by
WorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String) |
Map<String,Set<Long>> |
getPropagationOriginalIdCache() |
Boolean |
getReversePropertyValues()
Retrieve the state established by
WorkflowStateManager.startReversePropertyValue() |
Map<Serializable,List> |
getSandBoxCollectionMemberBatchFetch(String key)
Retrieve any previously batch fetched member match the cache key.
|
SandBoxOperationOrigin |
getSandBoxOperationOrigin()
Retrieve the state established by
WorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String) |
SandBoxOperationType |
getSandBoxOperationType()
Retrieve the operation type established by
WorkflowStateManager.startRevertState(com.broadleafcommerce.enterprise.workflow.service.type.SandBoxOperationType). |
static org.broadleafcommerce.common.sandbox.service.SandBoxService |
getSandBoxService() |
Map<String,Object> |
getSandBoxStateFetchCache()
Retrieve the state established by
WorkflowStateManager.startSandBoxStateFetchCache() |
byte[] |
getSerializedRollback() |
Boolean |
getVetoProductionUpdate() |
Boolean |
getVetoSandBoxUpdate() |
static WorkflowStateManager |
getWorkflowStateManager() |
Boolean |
isAddControlFlow() |
Boolean |
isConditionallyIgnoreFilterState()
Determine whether or not the flag has been set - generally used by components that need to determine whether or not to call
WorkflowStateManager.startIgnoreFiltersState() |
Boolean |
isEntityPersistActive()
Whether or not a
WorkflowSandBoxItem was promoted in this thread. |
Boolean |
isInhibitDeleteCascade() |
Boolean |
isProdAdminFilter()
Retrieve the state established by
#startProductionAdminFilterState() |
Boolean |
isPromotion()
Retrieve the state established by
WorkflowStateManager.startPromoteState() |
Boolean |
isReject()
Retrieve the state established by
WorkflowStateManager.startRejectState() |
Boolean |
isSync()
Retrieve the state established by
WorkflowStateManager.startSyncState() |
Boolean |
isWorkflowManagerControlFlow()
Whether or not the current request thread is part of a call to
WorkflowManager. |
List<TransactionBoundOperationPackage> |
removeTransactionBoundCloneLibraryMembers() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setEntityPersistSandBoxItem(Long sandBoxItem)
Set the primary key value of the
WorkflowSandBoxItem that was just
promoted on the thread. |
void |
setItemContainerOverride(WorkflowSandBoxItem container)
Sets a container item that all other created
WorkflowSandBoxItems within the current thread should fall under |
void |
startAddState() |
void |
startAutoPromotionState()
Promotion activities performed after this call will ignore workflow steps and cause deployment to production for the change
to happen immediately.
|
void |
startCascadeWorkflowItem(Long cascadeWorkflowItemId) |
void |
startCausedBy(Long workflowSandBoxItemId)
For auto rejects, operations performed after this call are understood be have been prompted by this
WorkflowSandBoxItem |
void |
startConditionallyIgnoreFiltersState()
Intended to set a flag on the thread that another component in the control flow can utilize to determine whether or not
WorkflowStateManager.startIgnoreFiltersState()
should be called. |
void |
startConstrainFilterGroups(List<String> groupNames)
Any operations performed after this call will cause
FilterEnabler instances
whose name matches one of the groupNames to be available for enabling. |
void |
startCurrentPromoteItem(Long currentPromoteItemId) |
void |
startDontPersistEntityItemState()
Any admin operation performed after this call will not cause an
EntityItem to be persisted. |
void |
startEntityPersistState()
Establish the state in which the
WorkflowSandBoxItem id created
during a promotion can be stored for the request. |
void |
startHardDeleteState()
Any
EntityManager.remove(Object) operation for sandboxable entities performed after this call will be
hard deleted from the persistence store, rather than soft deleted. |
void |
startIgnoreArchiveForRevert()
Any entity archival operation that is part of a revert will be ignored after this call.
|
void |
startIgnoreFiltersState()
Any operations performed after this call will cause
FilterEnabler
instances in Enterprise to not enable their associated Hibernate filters. |
void |
startIgnoreUpdateInsertState()
Any entity insert will ignore automatic updates of sandboxable associations to the original id after this call
|
void |
startIncludeSandBoxInheritance(Boolean includeSandBoxInheritance)
Some operations performed after this call will utilize the includeSandBoxInheritance param for the boolean parameter
to
SandBox.getSandBoxIdsForUpwardHierarchy(boolean). |
void |
startInhibitDeleteCascade() |
void |
startLoadedEntitiesState()
Any Hibernate load entity operation that occurs after this call will have the identity of the loaded entity stored for the
request if the loaded entity is different than the requested entity.
|
void |
startOriginalSandBoxState(Long originalSandBox,
SandBoxOperationOrigin origin,
Long originWorkflowItemId,
String msg)
Any operation performed after this call will be understood to have originated from this information.
|
void |
startProdAddedEntitiesState() |
void |
startPromoteState()
Any operation performed after this call will be understood to be part of a
PromoteWorkflowManager.promoteSandBoxItemChanges(Long, Long[], boolean, String, String, boolean) call. |
void |
startPropagationOriginalIdCache() |
void |
startRejectState()
Any operation performed after this call will be understood to be part of a
RejectWorkflowManager.rejectSandBoxItemChanges(Long[], String) call. |
void |
startReplayState(Long creationSandBoxId)
Any operation performed after this call will be understood to be part of a
AbstractWorkflowManager.replayChange(Long, Long, WorkflowSandBoxItem, boolean, boolean, boolean, String) call. |
void |
startReversePropertyValue()
Any
Property persistence operation performed after this call will
cause the value of the property to be set to the previously most recent property value for the same change from another sandbox, or to
the persistence package property original value if no other change is available. |
void |
startRevertState(SandBoxOperationType operationType)
Any operation performed after this call will be understood to be part of a
RevertWorkflowManager.revertSandBoxItem(com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItem, com.broadleafcommerce.enterprise.workflow.service.type.SandBoxOperationType) call. |
void |
startRollbackState(byte[] serializedState,
String groupDescription,
String primaryKey) |
void |
startSandBoxStateFetchCache()
Any loaded entity (
com.broadleafcommerce.enterprise.workflow.persistence.event.listener.LoadWorker will be cached during fetch
requests after this call. |
void |
startSyncState()
Any operation performed after this call will be understood to be part of a
SyncWorkflowManager.syncChanges(Long, Long)} call. |
void |
startVetoProductionUpdate() |
void |
startVetoSandBoxUpdate() |
Boolean |
useSandBoxStateInProduction() |
protected com.broadleafcommerce.enterprise.common.extension.enterprise.WorkflowStateManagerExtensionManager extensionManager
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void startIgnoreUpdateInsertState()
WorkflowStateManagerstartIgnoreUpdateInsertState in interface WorkflowStateManagerpublic void endIgnoreUpdateInsertState()
WorkflowStateManagerendIgnoreUpdateInsertState in interface WorkflowStateManagerpublic void startIgnoreFiltersState()
WorkflowStateManagerFilterEnabler
instances in Enterprise to not enable their associated Hibernate filters.startIgnoreFiltersState in interface WorkflowStateManagerpublic void startConditionallyIgnoreFiltersState()
WorkflowStateManagerWorkflowStateManager.startIgnoreFiltersState()
should be called.startConditionallyIgnoreFiltersState in interface WorkflowStateManagerpublic void endIgnoreFiltersState()
WorkflowStateManagerFilterEnabler
instances to resume normal operation.endIgnoreFiltersState in interface WorkflowStateManagerpublic void startSandBoxStateFetchCache()
WorkflowStateManagercom.broadleafcommerce.enterprise.workflow.persistence.event.listener.LoadWorker will be cached during fetch
requests after this call.startSandBoxStateFetchCache in interface WorkflowStateManagerpublic void endSandBoxStateFetchCache()
WorkflowStateManagercom.broadleafcommerce.enterprise.workflow.persistence.event.listener.LoadWorker will no longer be cached.endSandBoxStateFetchCache in interface WorkflowStateManagerpublic void startPropagationOriginalIdCache()
startPropagationOriginalIdCache in interface WorkflowStateManagerpublic void endPropagationOriginalIdCache()
endPropagationOriginalIdCache in interface WorkflowStateManagerpublic void startIgnoreArchiveForRevert()
WorkflowStateManagerstartIgnoreArchiveForRevert in interface WorkflowStateManagerpublic void endIgnoreArchiveForRevert()
WorkflowStateManagerendIgnoreArchiveForRevert in interface WorkflowStateManagerpublic void startInhibitDeleteCascade()
startInhibitDeleteCascade in interface WorkflowStateManagerpublic void endInhibitDeleteCascade()
endInhibitDeleteCascade in interface WorkflowStateManagerpublic void startVetoProductionUpdate()
startVetoProductionUpdate in interface WorkflowStateManagerpublic void endVetoProductionUpdate()
endVetoProductionUpdate in interface WorkflowStateManagerpublic void startVetoSandBoxUpdate()
startVetoSandBoxUpdate in interface WorkflowStateManagerpublic void endVetoSandBoxUpdate()
endVetoSandBoxUpdate in interface WorkflowStateManagerpublic void startCausedBy(Long workflowSandBoxItemId)
WorkflowStateManagerWorkflowSandBoxItemstartCausedBy in interface WorkflowStateManagerworkflowSandBoxItemId - the primary key valuepublic void endCausedBy()
WorkflowStateManagerWorkflowSandBoxItemendCausedBy in interface WorkflowStateManagerpublic void startAutoPromotionState()
WorkflowStateManagerstartAutoPromotionState in interface WorkflowStateManagerpublic void endAutoPromotionState()
WorkflowStateManagerendAutoPromotionState in interface WorkflowStateManagerpublic void startEntityPersistState()
WorkflowStateManagerWorkflowSandBoxItem id created
during a promotion can be stored for the request. Defaults to -1L.startEntityPersistState in interface WorkflowStateManagerpublic void endEntityPersistState()
WorkflowStateManagerWorkflowSandBoxItem id is stored on the request.endEntityPersistState in interface WorkflowStateManagerpublic void startConstrainFilterGroups(List<String> groupNames)
WorkflowStateManagerFilterEnabler instances
whose name matches one of the groupNames to be available for enabling. Non-matches will be disabled.startConstrainFilterGroups in interface WorkflowStateManagergroupNames - the names of qualified FilterEnabler instancespublic void endConstrainFilterGroups()
WorkflowStateManagerFilterEnabler instances based on groupNames.endConstrainFilterGroups in interface WorkflowStateManagerpublic void startRejectState()
WorkflowStateManagerRejectWorkflowManager.rejectSandBoxItemChanges(Long[], String) call.startRejectState in interface WorkflowStateManagerpublic void endRejectState()
WorkflowStateManagerRejectWorkflowManager.rejectSandBoxItemChanges(Long[], String) call.endRejectState in interface WorkflowStateManagerpublic void startPromoteState()
WorkflowStateManagerPromoteWorkflowManager.promoteSandBoxItemChanges(Long, Long[], boolean, String, String, boolean) call.startPromoteState in interface WorkflowStateManagerpublic void startAddState()
startAddState in interface WorkflowStateManagerpublic void endAddState()
endAddState in interface WorkflowStateManagerpublic void endPromoteState()
WorkflowStateManagerPromoteWorkflowManager.promoteSandBoxItemChanges(Long, Long[], boolean, String, String, boolean) call.endPromoteState in interface WorkflowStateManagerpublic void startSyncState()
WorkflowStateManagerSyncWorkflowManager.syncChanges(Long, Long)} call.startSyncState in interface WorkflowStateManagerpublic void endSyncState()
WorkflowStateManagerSyncWorkflowManager.syncChanges(Long, Long) call.endSyncState in interface WorkflowStateManagerpublic void startReplayState(Long creationSandBoxId)
WorkflowStateManagerAbstractWorkflowManager.replayChange(Long, Long, WorkflowSandBoxItem, boolean, boolean, boolean, String) call.startReplayState in interface WorkflowStateManagerpublic void endReplayState()
WorkflowStateManagerAbstractWorkflowManager.replayChange(Long, Long, WorkflowSandBoxItem, boolean, boolean, boolean, String) call.endReplayState in interface WorkflowStateManagerpublic void startIncludeSandBoxInheritance(Boolean includeSandBoxInheritance)
WorkflowStateManagerSandBox.getSandBoxIdsForUpwardHierarchy(boolean).startIncludeSandBoxInheritance in interface WorkflowStateManagerincludeSandBoxInheritance - whether or not all parent sandboxes, in addition to the current sandbox, should be usedpublic void endIncludeSandBoxInheritance()
WorkflowStateManagerSandBox.getSandBoxIdsForUpwardHierarchy(boolean).endIncludeSandBoxInheritance in interface WorkflowStateManagerpublic void startOriginalSandBoxState(Long originalSandBox, SandBoxOperationOrigin origin, Long originWorkflowItemId, String msg)
WorkflowStateManagerstartOriginalSandBoxState in interface WorkflowStateManageroriginalSandBox - the sandbox that contained the original changeorigin - the type of change operationoriginWorkflowItemId - the original change itselfmsg - the message with the original changepublic void endOriginalSandBoxState()
WorkflowStateManagerendOriginalSandBoxState in interface WorkflowStateManagerpublic void startCurrentPromoteItem(Long currentPromoteItemId)
startCurrentPromoteItem in interface WorkflowStateManagerpublic void endCurrentPromoteItem()
endCurrentPromoteItem in interface WorkflowStateManagerpublic Long getCurrentPromoteItemId()
getCurrentPromoteItemId in interface WorkflowStateManagerpublic void startCascadeWorkflowItem(Long cascadeWorkflowItemId)
startCascadeWorkflowItem in interface WorkflowStateManagerpublic void endCascadeWorkflowItem()
endCascadeWorkflowItem in interface WorkflowStateManagerpublic Long getCascadeWorkflowItemId()
getCascadeWorkflowItemId in interface WorkflowStateManagerpublic void startLoadedEntitiesState()
WorkflowStateManagerstartLoadedEntitiesState in interface WorkflowStateManagerpublic void startProdAddedEntitiesState()
startProdAddedEntitiesState in interface WorkflowStateManagerpublic void startRevertState(SandBoxOperationType operationType)
WorkflowStateManagerRevertWorkflowManager.revertSandBoxItem(com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItem, com.broadleafcommerce.enterprise.workflow.service.type.SandBoxOperationType) call.startRevertState in interface WorkflowStateManageroperationType - the type of revertpublic void startRollbackState(byte[] serializedState,
String groupDescription,
String primaryKey)
startRollbackState in interface WorkflowStateManagerpublic void endRollbackState()
endRollbackState in interface WorkflowStateManagerpublic void endRevertState()
WorkflowStateManagerRevertWorkflowManager.revertSandBoxItem(com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItem, com.broadleafcommerce.enterprise.workflow.service.type.SandBoxOperationType) call.endRevertState in interface WorkflowStateManagerpublic void startDontPersistEntityItemState()
WorkflowStateManagerEntityItem to be persisted.startDontPersistEntityItemState in interface WorkflowStateManagerpublic void startReversePropertyValue()
WorkflowStateManagerProperty persistence operation performed after this call will
cause the value of the property to be set to the previously most recent property value for the same change from another sandbox, or to
the persistence package property original value if no other change is available. This is primarily used when
multiple users have made changes to the same property and one of those changes is being rejected from the approval sandbox.startReversePropertyValue in interface WorkflowStateManagerpublic void endReversePropertyValue()
WorkflowStateManagerProperty persistence behavior where the
persistence package property value is used directly for the persisted value.endReversePropertyValue in interface WorkflowStateManagerpublic void startHardDeleteState()
WorkflowStateManagerEntityManager.remove(Object) operation for sandboxable entities performed after this call will be
hard deleted from the persistence store, rather than soft deleted.startHardDeleteState in interface WorkflowStateManagerpublic void endHardDeleteState()
WorkflowStateManagerEntityManager.remove(Object) operation for sandboxable entities will resume normal operation,
which is to soft delete (i.e. set sandBoxArchived state to true)endHardDeleteState in interface WorkflowStateManagerpublic void endDontPersistEntityItemState()
WorkflowStateManagerEntityItem persistence behavior.endDontPersistEntityItemState in interface WorkflowStateManagerpublic SandBoxOperationType getSandBoxOperationType()
WorkflowStateManagerWorkflowStateManager.startRevertState(com.broadleafcommerce.enterprise.workflow.service.type.SandBoxOperationType).getSandBoxOperationType in interface WorkflowStateManagerpublic Long getCausedBy()
WorkflowStateManagerWorkflowStateManager.startCausedBy(Long)getCausedBy in interface WorkflowStateManagerWorkflowSandBoxItem that prompted an auto rejectpublic Boolean dontPersistEntityItem()
WorkflowStateManagerWorkflowStateManager.startDontPersistEntityItemState().dontPersistEntityItem in interface WorkflowStateManagerpublic Boolean getAutoPromotion()
WorkflowStateManagerWorkflowStateManager.startAutoPromotionState()getAutoPromotion in interface WorkflowStateManagerpublic Boolean getHardDeleteState()
WorkflowStateManagerWorkflowStateManager.startHardDeleteState()getHardDeleteState in interface WorkflowStateManagerpublic Boolean getIgnoreArchiveForRevert()
WorkflowStateManagerWorkflowStateManager.startIgnoreArchiveForRevert()getIgnoreArchiveForRevert in interface WorkflowStateManagerpublic Boolean getIgnoreUpdateInsertState()
WorkflowStateManagerWorkflowStateManager.startIgnoreUpdateInsertState()getIgnoreUpdateInsertState in interface WorkflowStateManagerpublic Boolean getVetoProductionUpdate()
getVetoProductionUpdate in interface WorkflowStateManagerpublic Boolean getVetoSandBoxUpdate()
getVetoSandBoxUpdate in interface WorkflowStateManagerpublic Boolean getIgnoreCloning()
WorkflowStateManager#startIgnoreCloning()getIgnoreCloning in interface WorkflowStateManagerpublic Boolean addRollback()
addRollback in interface WorkflowStateManagerpublic byte[] getSerializedRollback()
getSerializedRollback in interface WorkflowStateManagerpublic String getGroupDescriptionRollback()
getGroupDescriptionRollback in interface WorkflowStateManagerpublic String getEntityPrimaryKeyRollback()
getEntityPrimaryKeyRollback in interface WorkflowStateManagerpublic Boolean getIncludeSandboxInheritance()
WorkflowStateManagerWorkflowStateManager.startIncludeSandBoxInheritance(Boolean). Defaults to true.getIncludeSandboxInheritance in interface WorkflowStateManagerpublic List<String> getLoadedEntities()
WorkflowStateManagergetLoadedEntities in interface WorkflowStateManagerWorkflowStateManager.startLoadedEntitiesState()public Map<String,String> getProdAddedEntities()
getProdAddedEntities in interface WorkflowStateManagerpublic void addTransactionBoundCloneLibraryMember(WorkflowCloneLibrary item, TransactionBoundOperationType operationType)
addTransactionBoundCloneLibraryMember in interface WorkflowStateManagerpublic void addSandBoxCollectionMemberBatchFetch(String key, Map<Serializable,List> members)
WorkflowStateManagerEnterpriseCollectionDao.batchFetchSandBoxCollectionMembers(List, SandBoxCollectionHelper)
for more information.addSandBoxCollectionMemberBatchFetch in interface WorkflowStateManagerkey - the key describing the batch fetch collection query. See SandBoxCollectionHelper.getCacheKey().members - the cache results of the batch fetchpublic Map<Serializable,List> getSandBoxCollectionMemberBatchFetch(String key)
WorkflowStateManagerSandBoxCollectionHelper.getCacheKey().getSandBoxCollectionMemberBatchFetch in interface WorkflowStateManagerkey - the key describing the batch fetch collection query. See SandBoxCollectionHelper.getCacheKey().public void clearSandBoxCollectionMemberBatchFetch()
WorkflowStateManagerclearSandBoxCollectionMemberBatchFetch in interface WorkflowStateManagerpublic List<TransactionBoundOperationPackage> removeTransactionBoundCloneLibraryMembers()
removeTransactionBoundCloneLibraryMembers in interface WorkflowStateManagerpublic List<String> getConstrainedFilterGroups()
WorkflowStateManagerWorkflowStateManager.startConstrainFilterGroups(java.util.List)getConstrainedFilterGroups in interface WorkflowStateManagerFilterEnabler names to restrict bypublic Boolean getReversePropertyValues()
WorkflowStateManagerWorkflowStateManager.startReversePropertyValue()getReversePropertyValues in interface WorkflowStateManagerProperty persistence values should
be altered for reject.public Boolean isPromotion()
WorkflowStateManagerWorkflowStateManager.startPromoteState()isPromotion in interface WorkflowStateManagerpublic Boolean isReject()
WorkflowStateManagerWorkflowStateManager.startRejectState()isReject in interface WorkflowStateManagerpublic Boolean isProdAdminFilter()
WorkflowStateManager#startProductionAdminFilterState()isProdAdminFilter in interface WorkflowStateManagerpublic Boolean isSync()
WorkflowStateManagerWorkflowStateManager.startSyncState()isSync in interface WorkflowStateManagerpublic Long getCreationSandBox()
WorkflowStateManagerWorkflowStateManager.startReplayState(Long)getCreationSandBox in interface WorkflowStateManagerpublic Long getOriginalSandBox()
WorkflowStateManagerWorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String)getOriginalSandBox in interface WorkflowStateManagerpublic SandBoxOperationOrigin getSandBoxOperationOrigin()
WorkflowStateManagerWorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String)getSandBoxOperationOrigin in interface WorkflowStateManagerpublic Long getOriginalWorkflowItemId()
WorkflowStateManagerWorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String)getOriginalWorkflowItemId in interface WorkflowStateManagerpublic String getPromotionMessage()
WorkflowStateManagerWorkflowStateManager.startOriginalSandBoxState(Long, SandBoxOperationOrigin, Long, String)getPromotionMessage in interface WorkflowStateManagerpublic Boolean getIgnoreFilters()
WorkflowStateManagerWorkflowStateManager.startIgnoreFiltersState()getIgnoreFilters in interface WorkflowStateManagerFilterEnabler instancespublic Boolean isWorkflowManagerControlFlow()
WorkflowStateManagerWorkflowManager. This
includes reject, promote, sync and revert.isWorkflowManagerControlFlow in interface WorkflowStateManagerpublic Boolean isConditionallyIgnoreFilterState()
WorkflowStateManagerWorkflowStateManager.startIgnoreFiltersState()isConditionallyIgnoreFilterState in interface WorkflowStateManagerpublic Boolean isAddControlFlow()
isAddControlFlow in interface WorkflowStateManagerpublic Boolean isInhibitDeleteCascade()
isInhibitDeleteCascade in interface WorkflowStateManagerpublic Long getEntityPersistSandBoxItem()
WorkflowStateManagerWorkflowSandBoxItem promoted recently
in this request.getEntityPersistSandBoxItem in interface WorkflowStateManagerpublic Map<String,Object> getSandBoxStateFetchCache()
WorkflowStateManagerWorkflowStateManager.startSandBoxStateFetchCache()getSandBoxStateFetchCache in interface WorkflowStateManagerpublic Map<String,Set<Long>> getPropagationOriginalIdCache()
getPropagationOriginalIdCache in interface WorkflowStateManagerpublic Boolean isEntityPersistActive()
WorkflowStateManagerWorkflowSandBoxItem was promoted in this thread.isEntityPersistActive in interface WorkflowStateManagerpublic void setEntityPersistSandBoxItem(Long sandBoxItem)
WorkflowStateManagerWorkflowSandBoxItem that was just
promoted on the thread.setEntityPersistSandBoxItem in interface WorkflowStateManagersandBoxItem - the primary key of the promoted itempublic void setItemContainerOverride(WorkflowSandBoxItem container)
WorkflowStateManagerWorkflowSandBoxItems within the current thread should fall undersetItemContainerOverride in interface WorkflowStateManagerpublic WorkflowSandBoxItem getItemContainerOverride()
getItemContainerOverride in interface WorkflowStateManagerWorkflowSandBoxItems within the current thread should fall
under. All of the created items should have their WorkflowSandBoxItem.setContainer(WorkflowSandBoxItem) set
to thispublic Boolean useSandBoxStateInProduction()
useSandBoxStateInProduction in interface WorkflowStateManagerpublic static WorkflowStateManager getWorkflowStateManager()
public static org.broadleafcommerce.common.sandbox.service.SandBoxService getSandBoxService()
Copyright © 2019. All rights reserved.