@Service(value="blSandBoxService") public class SandBoxServiceImpl extends java.lang.Object implements SandBoxService
| Modifier and Type | Field and Description |
|---|---|
protected AdminSecurityService |
adminSecurityService |
protected SandBoxDao |
sandBoxDao |
protected SandBoxItemDao |
sandBoxItemDao |
protected java.util.List<SandBoxItemListener> |
sandboxItemListeners |
| Constructor and Description |
|---|
SandBoxServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
SandBox |
createSandBox(Site site,
java.lang.String sandBoxName,
SandBoxType sandBoxType) |
protected SandBoxAction |
createSandBoxAction(SandBoxActionType type,
java.lang.String comment) |
protected SandBox |
determineNextSandBox(SandBox sandBox) |
java.util.List<SandBoxItemListener> |
getSandboxItemListeners() |
void |
promoteAllSandBoxItems(SandBox fromSandBox,
java.lang.String comment) |
void |
promoteSelectedItems(SandBox fromSandBox,
java.lang.String comment,
java.util.List<SandBoxItem> sandBoxItems) |
void |
rejectAllSandBoxItems(SandBox originalSandBox,
SandBox sandBox,
java.lang.String comment) |
void |
rejectSelectedSandBoxItems(SandBox fromSandBox,
java.lang.String comment,
java.util.List<SandBoxItem> sandBoxItems) |
SandBox |
retrieveApprovalSandBox(SandBox sandBox) |
SandBox |
retrieveSandBox(Site site,
java.lang.String sandBoxName,
SandBoxType sandBoxType) |
SandBox |
retrieveSandboxById(java.lang.Long sandboxId) |
SandBox |
retrieveUserSandBox(Site site,
AdminUser adminUser)
Returns the sandbox currently associated with the passed in userId.
|
void |
revertAllSandBoxItems(SandBox originalSandBox,
SandBox sandBox) |
void |
revertSelectedSandBoxItems(SandBox fromSandBox,
java.util.List<SandBoxItem> sandBoxItems) |
void |
schedulePromotionForSandBox(SandBox sandBox,
java.util.Calendar calendar) |
void |
schedulePromotionForSandBoxItems(java.util.List<SandBoxItem> sandBoxItems,
java.util.Calendar calendar) |
void |
setSandboxItemListeners(java.util.List<SandBoxItemListener> sandboxItemListeners) |
protected java.util.List<SandBoxItemListener> sandboxItemListeners
protected SandBoxDao sandBoxDao
protected SandBoxItemDao sandBoxItemDao
protected AdminSecurityService adminSecurityService
public SandBox retrieveSandboxById(java.lang.Long sandboxId)
retrieveSandboxById in interface SandBoxServicepublic SandBox retrieveUserSandBox(Site site, AdminUser adminUser)
SandBoxServiceretrieveUserSandBox in interface SandBoxService@Transactional(value="blTransactionManager") public void promoteAllSandBoxItems(SandBox fromSandBox, java.lang.String comment)
promoteAllSandBoxItems in interface SandBoxService@Transactional(value="blTransactionManager") public void promoteSelectedItems(SandBox fromSandBox, java.lang.String comment, java.util.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, java.util.List<SandBoxItem> sandBoxItems)
revertSelectedSandBoxItems in interface SandBoxService@Transactional(value="blTransactionManager") public void rejectAllSandBoxItems(SandBox originalSandBox, SandBox sandBox, java.lang.String comment)
rejectAllSandBoxItems in interface SandBoxService@Transactional(value="blTransactionManager") public void rejectSelectedSandBoxItems(SandBox fromSandBox, java.lang.String comment, java.util.List<SandBoxItem> sandBoxItems)
rejectSelectedSandBoxItems in interface SandBoxServicepublic void schedulePromotionForSandBox(SandBox sandBox, java.util.Calendar calendar)
schedulePromotionForSandBox in interface SandBoxServicepublic void schedulePromotionForSandBoxItems(java.util.List<SandBoxItem> sandBoxItems, java.util.Calendar calendar)
schedulePromotionForSandBoxItems in interface SandBoxServicepublic java.util.List<SandBoxItemListener> getSandboxItemListeners()
public void setSandboxItemListeners(java.util.List<SandBoxItemListener> sandboxItemListeners)
protected SandBoxAction createSandBoxAction(SandBoxActionType type, java.lang.String comment)
public SandBox retrieveApprovalSandBox(SandBox sandBox)
retrieveApprovalSandBox in interface SandBoxServicepublic SandBox createSandBox(Site site, java.lang.String sandBoxName, SandBoxType sandBoxType)
createSandBox in interface SandBoxServicepublic SandBox retrieveSandBox(Site site, java.lang.String sandBoxName, SandBoxType sandBoxType)
retrieveSandBox in interface SandBoxServiceCopyright © 2018. All Rights Reserved.