@Service(value="blSandBoxService") public class SandBoxServiceImpl extends Object implements SandBoxService
Modifier and Type | Field and Description |
---|---|
protected AdminSecurityService |
adminSecurityService |
protected SandBoxDao |
sandBoxDao |
protected SandBoxItemDao |
sandBoxItemDao |
protected List<SandBoxItemListener> |
sandboxItemListeners |
Constructor and Description |
---|
SandBoxServiceImpl() |
protected List<SandBoxItemListener> sandboxItemListeners
protected SandBoxDao sandBoxDao
protected SandBoxItemDao sandBoxItemDao
protected AdminSecurityService adminSecurityService
public SandBox retrieveSandboxById(Long sandboxId)
retrieveSandboxById
in interface SandBoxService
public SandBox retrieveUserSandBox(Site site, AdminUser adminUser)
SandBoxService
retrieveUserSandBox
in interface SandBoxService
@Transactional(value="blTransactionManager") public void promoteAllSandBoxItems(SandBox fromSandBox, String comment)
promoteAllSandBoxItems
in interface SandBoxService
@Transactional(value="blTransactionManager") public void promoteSelectedItems(SandBox fromSandBox, String comment, List<SandBoxItem> sandBoxItems)
promoteSelectedItems
in interface SandBoxService
@Transactional(value="blTransactionManager") public void revertAllSandBoxItems(SandBox originalSandBox, SandBox sandBox)
revertAllSandBoxItems
in interface SandBoxService
@Transactional(value="blTransactionManager") public void revertSelectedSandBoxItems(SandBox fromSandBox, List<SandBoxItem> sandBoxItems)
revertSelectedSandBoxItems
in interface SandBoxService
@Transactional(value="blTransactionManager") public void rejectAllSandBoxItems(SandBox originalSandBox, SandBox sandBox, String comment)
rejectAllSandBoxItems
in interface SandBoxService
@Transactional(value="blTransactionManager") public void rejectSelectedSandBoxItems(SandBox fromSandBox, String comment, List<SandBoxItem> sandBoxItems)
rejectSelectedSandBoxItems
in interface SandBoxService
public void schedulePromotionForSandBox(SandBox sandBox, Calendar calendar)
schedulePromotionForSandBox
in interface SandBoxService
public void schedulePromotionForSandBoxItems(List<SandBoxItem> sandBoxItems, Calendar calendar)
schedulePromotionForSandBoxItems
in interface SandBoxService
public List<SandBoxItemListener> getSandboxItemListeners()
public void setSandboxItemListeners(List<SandBoxItemListener> sandboxItemListeners)
protected SandBoxAction createSandBoxAction(SandBoxActionType type, String comment)
public SandBox retrieveApprovalSandBox(SandBox sandBox)
retrieveApprovalSandBox
in interface SandBoxService
public SandBox createSandBox(Site site, String sandBoxName, SandBoxType sandBoxType)
createSandBox
in interface SandBoxService
public SandBox retrieveSandBox(Site site, String sandBoxName, SandBoxType sandBoxType)
retrieveSandBox
in interface SandBoxService
Copyright © 2014. All rights reserved.