@Service(value="blWorkflowSandBoxItemService") public class WorkflowSandBoxItemServiceImpl extends AbstractWorkflowSupport implements WorkflowSandBoxItemService
| Modifier and Type | Field and Description |
|---|---|
protected WorkflowSandBoxItemDao |
dao |
protected EntityItemDao |
entityItemDao |
protected com.broadleafcommerce.enterprise.common.extension.enterprise.WorkflowSandBoxItemServiceExtensionManager |
extensionManager |
protected PropertyDao |
propertyDao |
protected org.broadleafcommerce.common.sandbox.service.SandBoxService |
sandBoxService |
protected EnterpriseWorkflowLogger |
workflowLogger |
protected WorkflowSandBoxItemErrorMessageFactory |
workflowSandboxItemErrorMessageFactory |
protected WorkflowStateManager |
workflowStateManager |
| Constructor and Description |
|---|
WorkflowSandBoxItemServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSubItemProperties(EntityItem item,
List<Property> list) |
WorkflowSandBoxItem |
addWorkflowSandBoxItem(Long sandBox,
Long originalSandBox,
Long creationSandBox,
Long parentSandBox,
SandBoxOperationType operationType,
String description,
String groupDescription,
Long temporaryId,
Long originalId,
String itemName,
SandBoxOperationOrigin operationOrigin,
String msg,
Long originalWorkflowItemId,
String sectionCrumbDescription,
String sectionCrumbGroupDescription) |
void |
archiveEmptyEventIfNecessary(Long eventId,
boolean testOtherEventsAsWell)
Archive any events that have no associated
WorkflowSandBoxItem instances |
int |
archiveEmptyEventIfNecessaryWithStatus(Long eventId,
boolean testOtherEventsAsWell) |
WorkflowSandBoxItem |
archiveWorkflowItemAndChildren(Long itemId)
Explicitly archive a WorkflowSandBoxItem and all its children (if applicable)
|
void |
archiveWorkflowItemsBySandBoxId(Long sandBoxId)
Archive all WorkflowSandBoxItems associated to the given SandBox
|
int |
clearItems(List<Long> sandBoxItemIds)
Remove the
WorkflowSandBoxItem.getPromotionMarker() value
for the list of sandBoxItemIds. |
void |
delete(WorkflowSandBoxItem item) |
List<Long> |
filterWorkflowItemsByClass(Long[] workflowItemIds,
String className)
Returns a list of workflowSandBoxItem IDs that are a subset of the given workflowItemIds that
have an entity class matching the given className
|
Map<Long,String> |
findAuthorNamesForWorkflowItems(Set<Long> workflowItemIds) |
List<Property> |
findPropertiesForItem(Long workflowSandBoxItemId)
Retrieve all the persisted
Property values
for a change. |
List<Property> |
findShallowPropertiesForItem(Long workflowSandBoxItemId) |
Class<?> |
getEntityClass(WorkflowSandBoxItem item)
Get the class for the top-level entity involved in this change.
|
protected List<WorkflowSandBoxItem> |
getExistingContainers(Long sandBox,
Long originalSandBox,
String generalGroup) |
List<Long> |
getIdsByPromotionMarker(Long promotionMarker) |
boolean |
isEventInProgress(List<Long> eventId) |
Boolean |
itemHasDeepChanges(Long workflowSandBoxItemId) |
boolean |
lockExecution(String key)
Attempt to perform an optimistic lock on the key.
|
int |
resetItemsForPromotion(List<Long> sandBoxItemIds,
Long eventId)
Update the
WorkflowSandBoxItem.getPromotionMarker() value
with the eventId for the list of sandBoxItemIds. |
List<Long> |
retrieveAllContainersByCeilingTypeAndId(String ceil,
Long id)
Retrieve all container item ids for a given ceiling entity and original id
|
List<Long> |
retrieveAllContainersByCeilingTypeAndId(String ceil,
String itemId)
Retrieve all container item ids for a given ceiling entity and original id
|
List<Long> |
retrieveAllContainersByCeilingTypeAndId(String ceil,
String itemId,
boolean includeArchived) |
List<WorkflowSandBoxItem> |
retrieveAllRelatedSandboxItemsForEntityIdIncludingArchived(Long entityId,
String className,
Long siteId)
Retrieves all WorkflowSandBoxItem's related to the passed in ID including archived records for the site.
|
EntityItem |
retrieveAssociatedEntityItem(Long workflowSandBoxItemId)
Retrieve the persisted representation of the
PersistencePackage for this
change. |
List<WorkflowSandBoxItem> |
retrieveChildItemsForContainerItems(List<Long> containerIds,
Long sandBoxId)
Based on a list of
WorkflowSandBoxItem ids that are containers
(containers are WorkflowSandBoxItem instances that have
child items), retrieve all the associated child items. |
List<Long> |
retrieveContainerSandboxItemsForPromotion(Long sandboxId,
String origin)
Returns a list of Ids of workflowSandBoxItems that are associated to the given SandBox and SandBox origin
that do not have an associated
WorkflowSandBoxItem.getPromotionMarker()
which would signify that it has been promoted or has an associated failed promotion. |
List<EarlyAbortedPromotionCandidate> |
retrieveEarlyAbortedInProgressApprovals()
Retrieve in progress approvals that appear to have failed before being completely setup.
|
List<EarlyAbortedPromotionCandidate> |
retrieveEarlyAbortedInProgressPromotions()
Retrieve in progress promotions that appear to have failed before being completely setup.
|
String |
retrieveErrorMessage(Long sandboxItemId)
Retrieves the latest error message for a given WorkflowSandBoxItem.
|
List<ChildItem> |
retrieveForwardDependentItems(List<Long> sandBoxItemids,
Long sandBoxId)
Retrieve dependent items
|
List<String> |
retrieveGroupNames(Long sandBox)
Find all the unique change group names that currently exist in the sandbox
|
List<WorkflowSandBoxItem> |
retrieveItemContainerLineage(Long sandBoxItemId)
Retrieves the lineage of container items for a given WorkflowSandBoxItem's id
|
List<WorkflowSandBoxItem> |
retrieveItemContainerLineage(WorkflowSandBoxItem sandBoxItem)
Retrieves the lineage of container items for a given WorkflowSandBoxItem
|
List<Long> |
retrieveItemIdsForEvent(Long eventId) |
List<Long> |
retrieveItemIdsForEventIncludingArchived(Long eventId) |
List<Long> |
retrieveItemIdsForEventIncludingArchivedByPromotionMarker(Long eventId) |
List<Long> |
retrieveItemIdsForEvents(Long[] eventIds) |
List<WorkflowSandBoxItem> |
retrieveItemsByEntityItemAndChangeType(Long entityItemId,
org.broadleafcommerce.openadmin.server.service.type.ChangeType changeType)
Look for items for a specific change and change type
|
WorkflowSandBoxItem |
retrieveMostRecentItemBasedOnOriginal(List<Long> ids) |
List<ChildItem> |
retrieveReverseDependentItems(List<Long> sandBoxItemids,
Long sandBoxId)
Retrieve dependent items
|
List<Long> |
retrieveSandBoxItemIdsForSandbox(Long sandBox,
boolean containerOnly)
Retrieve
WorkflowSandBoxItem ids in the sandbox |
List<Long> |
retrieveSandBoxItemIdsWithEventsForSandbox(Long sandBox)
Retrieve
WorkflowSandBoxItem ids in the sandbox that have a non-archived WorkflowEvent |
List<Long> |
retrieveSandboxItemsBySandboxOrigin(Long sandboxId,
String origin)
Returns a list of Ids of workflowSandBoxItems that are associated to the given SandBox and SandBox origin
|
List<WorkflowSandBoxItem> |
retrieveSandboxItemsForEntityId(Long entityId,
String className,
Long siteId)
Retrieves the workflowSanboxItems targeting the passed in ID for the site
|
List<WorkflowSandBoxItem> |
retrieveSandboxItemsForEntityIdIncludingArchived(Long entityId,
String className,
Long siteId)
Retrieves the workflowSanboxItems targeting the passed in ID including archived records for the site
|
WorkflowSandBoxItem |
retrieveWorkflowItemById(Long id) |
WorkflowSandBoxItem |
retrieveWorkflowItemById(Long id,
boolean useCache) |
List<WorkflowSandBoxItem> |
retrieveWorkflowItemByIds(List<Long> ids) |
List<WorkflowSandBoxItem> |
retrieveWorkflowItemByOriginalEntityId(Long id) |
WorkflowSandBoxItem |
retrieveWorkflowItemByOriginalItemId(Long originalItemId) |
List<WorkflowSandBoxItem> |
retrieveWorkflowItemsByGroupName(Long sandBoxId,
String groupName)
Retrieve by sandbox and change group name
|
Long |
retrieveWorkflowItemsCountByGroupName(Long sandBoxId,
String groupName,
Long causedBy)
Retrieve the count by sandbox and change group name
|
Long |
retrieveWorkflowItemsCountByGroupNameAndType(Long sandBoxId,
String groupName,
SandBoxOperationType type,
Long causedBy)
Retrieve the items by sandbox and change group name
|
List<WorkflowSandBoxItem> |
retrieveWorkflowItemsForSync(Long sandBoxId,
String groupName,
Long inheritedVersion)
Retrieve items that need to be synced
|
WorkflowSandBoxItem |
retrieveWorkflowSandBoxItemByCeilingTypeAndItemId(Long currentSandBoxId,
String ceil,
Long itemId)
Retrieve instances based on sandbox, ceiling entity, and entity item id
|
WorkflowSandBoxItem |
retrieveWorkflowSandBoxItemByEntityItemId(Long entityItemId)
Find by the associated
EntityItem |
WorkflowSandBoxItem |
retrieveWorkflowSandBoxItemBySandboxAndItemId(List<Long> sandBoxIds,
Long currentSandBoxId,
Long itemId,
boolean includeArchived)
Retrieve instances based on sandbox and entity item id
|
WorkflowSandBoxItem |
retrieveWorkflowSandBoxItemBySandboxAndItemId(Long currentSandBoxId,
Long itemId)
Retrieve instances based on sandbox and entity item id
|
List<WorkflowSandBoxItem> |
retrieveWorkflowSandBoxItemsBySandBoxId(Long sourceSandBoxId,
boolean containerOnly) |
WorkflowSandBoxItem |
save(WorkflowSandBoxItem item) |
int |
setPromotionMarker(List<Long> itemIds,
Long eventId) |
int |
setScheduledEvents(Long eventId,
Date scheduledDate) |
int |
setScheduledItems(List<Long> itemIds,
Date scheduledDate)
Set the deployment date for one or more items
|
void |
unlockExecution(String key)
Attempt to perform an optimistic unlock on the key.
|
void |
unSetScheduledEvents(Long eventId) |
void |
unSetScheduledItems(List<Long> itemIds) |
void |
updateItemVersionAndInheritedVersionByGroup(Long sandBoxId,
String groupName,
Long version,
Long inheritedVersion) |
void |
updateItemVersionByGroup(Long sandBoxId,
String groupName,
Long version) |
getGroupNameGeneralizationprotected WorkflowSandBoxItemDao dao
protected PropertyDao propertyDao
protected EntityItemDao entityItemDao
protected org.broadleafcommerce.common.sandbox.service.SandBoxService sandBoxService
protected WorkflowStateManager workflowStateManager
protected WorkflowSandBoxItemErrorMessageFactory workflowSandboxItemErrorMessageFactory
protected com.broadleafcommerce.enterprise.common.extension.enterprise.WorkflowSandBoxItemServiceExtensionManager extensionManager
@Autowired(required=false) protected EnterpriseWorkflowLogger workflowLogger
public List<Property> findPropertiesForItem(Long workflowSandBoxItemId)
WorkflowSandBoxItemServiceProperty values
for a change.findPropertiesForItem in interface WorkflowSandBoxItemServiceworkflowSandBoxItemId - the change idprotected void addSubItemProperties(EntityItem item, List<Property> list)
public List<Property> findShallowPropertiesForItem(Long workflowSandBoxItemId)
findShallowPropertiesForItem in interface WorkflowSandBoxItemServicepublic Boolean itemHasDeepChanges(Long workflowSandBoxItemId)
itemHasDeepChanges in interface WorkflowSandBoxItemServicepublic WorkflowSandBoxItem retrieveWorkflowItemById(Long id)
retrieveWorkflowItemById in interface WorkflowSandBoxItemServicepublic WorkflowSandBoxItem retrieveWorkflowItemById(Long id, boolean useCache)
retrieveWorkflowItemById in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveWorkflowItemByOriginalEntityId(Long id)
retrieveWorkflowItemByOriginalEntityId in interface WorkflowSandBoxItemServicepublic Map<Long,String> findAuthorNamesForWorkflowItems(Set<Long> workflowItemIds)
findAuthorNamesForWorkflowItems in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveWorkflowItemByIds(List<Long> ids)
retrieveWorkflowItemByIds in interface WorkflowSandBoxItemServicepublic EntityItem retrieveAssociatedEntityItem(Long workflowSandBoxItemId)
WorkflowSandBoxItemServicePersistencePackage for this
change. This is the specifics of the change.retrieveAssociatedEntityItem in interface WorkflowSandBoxItemServiceworkflowSandBoxItemId - the change idWorkflowSandBoxItem.getEntityItemId()public List<Long> retrieveItemIdsForEvent(Long eventId)
retrieveItemIdsForEvent in interface WorkflowSandBoxItemServicepublic List<Long> retrieveItemIdsForEventIncludingArchived(Long eventId)
retrieveItemIdsForEventIncludingArchived in interface WorkflowSandBoxItemServicepublic List<Long> retrieveItemIdsForEventIncludingArchivedByPromotionMarker(Long eventId)
retrieveItemIdsForEventIncludingArchivedByPromotionMarker in interface WorkflowSandBoxItemServicepublic List<Long> retrieveItemIdsForEvents(Long[] eventIds)
retrieveItemIdsForEvents in interface WorkflowSandBoxItemServicepublic void archiveEmptyEventIfNecessary(Long eventId, boolean testOtherEventsAsWell)
WorkflowSandBoxItemServiceWorkflowSandBoxItem instancesarchiveEmptyEventIfNecessary in interface WorkflowSandBoxItemServiceeventId - the event to checkpublic int archiveEmptyEventIfNecessaryWithStatus(Long eventId, boolean testOtherEventsAsWell)
archiveEmptyEventIfNecessaryWithStatus in interface WorkflowSandBoxItemServicepublic Class<?> getEntityClass(WorkflowSandBoxItem item)
WorkflowSandBoxItemServicegetEntityClass in interface WorkflowSandBoxItemServiceitem - the changepublic WorkflowSandBoxItem addWorkflowSandBoxItem(Long sandBox, Long originalSandBox, Long creationSandBox, Long parentSandBox, SandBoxOperationType operationType, String description, String groupDescription, Long temporaryId, Long originalId, String itemName, SandBoxOperationOrigin operationOrigin, String msg, Long originalWorkflowItemId, String sectionCrumbDescription, String sectionCrumbGroupDescription)
addWorkflowSandBoxItem in interface WorkflowSandBoxItemServiceprotected List<WorkflowSandBoxItem> getExistingContainers(Long sandBox, Long originalSandBox, String generalGroup)
public WorkflowSandBoxItem retrieveWorkflowSandBoxItemBySandboxAndItemId(List<Long> sandBoxIds, Long currentSandBoxId, Long itemId, boolean includeArchived)
WorkflowSandBoxItemServiceretrieveWorkflowSandBoxItemBySandboxAndItemId in interface WorkflowSandBoxItemServicesandBoxIds - the sandboxes to search incurrentSandBoxId - the current sandboxitemId - the entity item id EntityItem.getId()includeArchived - whether or not to include archived WorkflowSandBoxItem instancesWorkflowSandBoxItem instancepublic WorkflowSandBoxItem retrieveWorkflowSandBoxItemByEntityItemId(Long entityItemId)
WorkflowSandBoxItemServiceEntityItemretrieveWorkflowSandBoxItemByEntityItemId in interface WorkflowSandBoxItemServiceentityItemId - the associated entity item id to search bypublic void updateItemVersionAndInheritedVersionByGroup(Long sandBoxId, String groupName, Long version, Long inheritedVersion)
updateItemVersionAndInheritedVersionByGroup in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveWorkflowItemsForSync(Long sandBoxId, String groupName, Long inheritedVersion)
WorkflowSandBoxItemServiceretrieveWorkflowItemsForSync in interface WorkflowSandBoxItemServicesandBoxId - the sandbox to search ingroupName - the change group nameinheritedVersion - any items whose version is greater than this are candidatespublic int setScheduledEvents(Long eventId, Date scheduledDate)
setScheduledEvents in interface WorkflowSandBoxItemServicepublic boolean isEventInProgress(List<Long> eventId)
isEventInProgress in interface WorkflowSandBoxItemServicepublic List<EarlyAbortedPromotionCandidate> retrieveEarlyAbortedInProgressPromotions()
WorkflowSandBoxItemServiceretrieveEarlyAbortedInProgressPromotions in interface WorkflowSandBoxItemServicepublic List<EarlyAbortedPromotionCandidate> retrieveEarlyAbortedInProgressApprovals()
WorkflowSandBoxItemServiceretrieveEarlyAbortedInProgressApprovals in interface WorkflowSandBoxItemServicepublic void unSetScheduledItems(List<Long> itemIds)
unSetScheduledItems in interface WorkflowSandBoxItemServicepublic void delete(WorkflowSandBoxItem item)
delete in interface WorkflowSandBoxItemServicepublic List<ChildItem> retrieveForwardDependentItems(List<Long> sandBoxItemids, Long sandBoxId)
WorkflowSandBoxItemServiceretrieveForwardDependentItems in interface WorkflowSandBoxItemServicecom.broadleafcommerce.enterprise.workflow.admin.service.behavior.DependencyWorkflowManager#getForwardDependentItems(Long[])public void updateItemVersionByGroup(Long sandBoxId, String groupName, Long version)
updateItemVersionByGroup in interface WorkflowSandBoxItemServicepublic List<String> retrieveGroupNames(Long sandBox)
WorkflowSandBoxItemServiceretrieveGroupNames in interface WorkflowSandBoxItemServicesandBox - the sandbox to search inpublic void unSetScheduledEvents(Long eventId)
unSetScheduledEvents in interface WorkflowSandBoxItemServicepublic WorkflowSandBoxItem save(WorkflowSandBoxItem item)
save in interface WorkflowSandBoxItemServicepublic int setScheduledItems(List<Long> itemIds, Date scheduledDate)
WorkflowSandBoxItemServicesetScheduledItems in interface WorkflowSandBoxItemServiceitemIds - the WorkflowSandBoxItem records to updatescheduledDate - the deployment datepublic int setPromotionMarker(List<Long> itemIds, Long eventId)
setPromotionMarker in interface WorkflowSandBoxItemServicepublic List<Long> getIdsByPromotionMarker(Long promotionMarker)
getIdsByPromotionMarker in interface WorkflowSandBoxItemServicepublic List<ChildItem> retrieveReverseDependentItems(List<Long> sandBoxItemids, Long sandBoxId)
WorkflowSandBoxItemServiceretrieveReverseDependentItems in interface WorkflowSandBoxItemServicecom.broadleafcommerce.enterprise.workflow.admin.service.behavior.DependencyWorkflowManager#getReverseDependentItems(Long[])public List<WorkflowSandBoxItem> retrieveChildItemsForContainerItems(List<Long> containerIds, Long sandBoxId)
WorkflowSandBoxItemServiceWorkflowSandBoxItem ids that are containers
(containers are WorkflowSandBoxItem instances that have
child items), retrieve all the associated child items.retrieveChildItemsForContainerItems in interface WorkflowSandBoxItemServicecontainerIds - the ids for WorkflowSandBoxItem instances that are containerssandBoxId - the sandbox to search inWorkflowSandBoxItem instances that are childrenpublic List<WorkflowSandBoxItem> retrieveWorkflowItemsByGroupName(Long sandBoxId, String groupName)
WorkflowSandBoxItemServiceretrieveWorkflowItemsByGroupName in interface WorkflowSandBoxItemServicesandBoxId - the sandbox to search ingroupName - the change group namepublic WorkflowSandBoxItem retrieveWorkflowSandBoxItemBySandboxAndItemId(Long currentSandBoxId, Long itemId)
WorkflowSandBoxItemServiceretrieveWorkflowSandBoxItemBySandboxAndItemId in interface WorkflowSandBoxItemServicecurrentSandBoxId - the current sandboxitemId - the entity item id EntityItem.getId()WorkflowSandBoxItem instancepublic WorkflowSandBoxItem retrieveWorkflowSandBoxItemByCeilingTypeAndItemId(Long currentSandBoxId, String ceil, Long itemId)
WorkflowSandBoxItemServiceretrieveWorkflowSandBoxItemByCeilingTypeAndItemId in interface WorkflowSandBoxItemServiceWorkflowSandBoxItem instancepublic List<Long> retrieveAllContainersByCeilingTypeAndId(String ceil, Long id)
WorkflowSandBoxItemServiceretrieveAllContainersByCeilingTypeAndId in interface WorkflowSandBoxItemServicepublic List<Long> retrieveAllContainersByCeilingTypeAndId(String ceil, String itemId)
WorkflowSandBoxItemServiceretrieveAllContainersByCeilingTypeAndId in interface WorkflowSandBoxItemServicepublic List<Long> retrieveAllContainersByCeilingTypeAndId(String ceil, String itemId, boolean includeArchived)
retrieveAllContainersByCeilingTypeAndId in interface WorkflowSandBoxItemServicepublic boolean lockExecution(String key)
WorkflowSandBoxItemServiceExecutionLockUtillockExecution in interface WorkflowSandBoxItemServicekey - the key to lock onpublic List<WorkflowSandBoxItem> retrieveItemsByEntityItemAndChangeType(Long entityItemId, org.broadleafcommerce.openadmin.server.service.type.ChangeType changeType)
WorkflowSandBoxItemServiceretrieveItemsByEntityItemAndChangeType in interface WorkflowSandBoxItemServiceentityItemId - the change record (WorkflowSandBoxItem.getEntityItemId()changeType - add, update, deletepublic void unlockExecution(String key)
WorkflowSandBoxItemServiceExecutionLockUtilunlockExecution in interface WorkflowSandBoxItemServicekey - the key to unlockpublic Long retrieveWorkflowItemsCountByGroupName(Long sandBoxId, String groupName, Long causedBy)
WorkflowSandBoxItemServiceretrieveWorkflowItemsCountByGroupName in interface WorkflowSandBoxItemServicesandBoxId - the sandbox to search ingroupName - the change group namecausedBy - filter out results that were generated as a result of this WorkflowSandboxItem (optional, can be null)WorkflowSandBoxItem instancespublic Long retrieveWorkflowItemsCountByGroupNameAndType(Long sandBoxId, String groupName, SandBoxOperationType type, Long causedBy)
WorkflowSandBoxItemServiceretrieveWorkflowItemsCountByGroupNameAndType in interface WorkflowSandBoxItemServicesandBoxId - the sandbox to search ingroupName - the change group nametype - the operation performed (i.e. add, update, etc...)causedBy - filter out results that were generated as a result of this WorkflowSandboxItem (optional, can be null)WorkflowSandBoxItem instancespublic List<Long> retrieveSandBoxItemIdsForSandbox(Long sandBox, boolean containerOnly)
WorkflowSandBoxItemServiceWorkflowSandBoxItem ids in the sandboxretrieveSandBoxItemIdsForSandbox in interface WorkflowSandBoxItemServicesandBox - the sandbox to search incontainerOnly - whether or not to only include container items WorkflowSandBoxItem.getContainer()public List<Long> retrieveSandBoxItemIdsWithEventsForSandbox(Long sandBox)
WorkflowSandBoxItemServiceWorkflowSandBoxItem ids in the sandbox that have a non-archived WorkflowEventretrieveSandBoxItemIdsWithEventsForSandbox in interface WorkflowSandBoxItemServicesandBox - the sandbox to search inpublic List<Long> filterWorkflowItemsByClass(Long[] workflowItemIds, String className)
WorkflowSandBoxItemServicefilterWorkflowItemsByClass in interface WorkflowSandBoxItemServicepublic WorkflowSandBoxItem retrieveMostRecentItemBasedOnOriginal(List<Long> ids)
retrieveMostRecentItemBasedOnOriginal in interface WorkflowSandBoxItemServicepublic WorkflowSandBoxItem retrieveWorkflowItemByOriginalItemId(Long originalItemId)
retrieveWorkflowItemByOriginalItemId in interface WorkflowSandBoxItemService@Transactional(value="blTransactionManager") public void archiveWorkflowItemsBySandBoxId(Long sandBoxId)
WorkflowSandBoxItemServicearchiveWorkflowItemsBySandBoxId in interface WorkflowSandBoxItemService@Transactional(value="blTransactionManager") public WorkflowSandBoxItem archiveWorkflowItemAndChildren(Long itemId)
WorkflowSandBoxItemServicearchiveWorkflowItemAndChildren in interface WorkflowSandBoxItemServicepublic String retrieveErrorMessage(Long sandboxItemId)
WorkflowSandBoxItemServiceretrieveErrorMessage in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveItemContainerLineage(Long sandBoxItemId)
WorkflowSandBoxItemServiceretrieveItemContainerLineage in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveItemContainerLineage(WorkflowSandBoxItem sandBoxItem)
WorkflowSandBoxItemServiceretrieveItemContainerLineage in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveSandboxItemsForEntityId(Long entityId, String className, Long siteId)
WorkflowSandBoxItemServiceretrieveSandboxItemsForEntityId in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveSandboxItemsForEntityIdIncludingArchived(Long entityId, String className, Long siteId)
WorkflowSandBoxItemServiceretrieveSandboxItemsForEntityIdIncludingArchived in interface WorkflowSandBoxItemServicesiteId - @returnpublic List<WorkflowSandBoxItem> retrieveAllRelatedSandboxItemsForEntityIdIncludingArchived(Long entityId, String className, Long siteId)
WorkflowSandBoxItemServiceretrieveAllRelatedSandboxItemsForEntityIdIncludingArchived in interface WorkflowSandBoxItemServicesiteId - @returnpublic int resetItemsForPromotion(List<Long> sandBoxItemIds, Long eventId)
WorkflowSandBoxItemServiceWorkflowSandBoxItem.getPromotionMarker() value
with the eventId for the list of sandBoxItemIds.resetItemsForPromotion in interface WorkflowSandBoxItemServicepublic int clearItems(List<Long> sandBoxItemIds)
WorkflowSandBoxItemServiceWorkflowSandBoxItem.getPromotionMarker() value
for the list of sandBoxItemIds.clearItems in interface WorkflowSandBoxItemServicepublic List<WorkflowSandBoxItem> retrieveWorkflowSandBoxItemsBySandBoxId(Long sourceSandBoxId, boolean containerOnly)
retrieveWorkflowSandBoxItemsBySandBoxId in interface WorkflowSandBoxItemServicepublic List<Long> retrieveSandboxItemsBySandboxOrigin(Long sandboxId, String origin)
WorkflowSandBoxItemServiceretrieveSandboxItemsBySandboxOrigin in interface WorkflowSandBoxItemServicepublic List<Long> retrieveContainerSandboxItemsForPromotion(Long sandboxId, String origin)
WorkflowSandBoxItemServiceWorkflowSandBoxItem.getPromotionMarker()
which would signify that it has been promoted or has an associated failed promotion.retrieveContainerSandboxItemsForPromotion in interface WorkflowSandBoxItemServiceCopyright © 2019. All rights reserved.