public interface SandBoxService
Modifier and Type | Method and Description |
---|---|
SandBox |
createDefaultSandBox() |
SandBox |
createSandBox(String sandBoxName,
SandBoxType sandBoxType) |
SandBox |
createUserSandBox(Long authorId,
SandBox approvalSandBox) |
List<SandBox> |
retrieveAllSandBoxes() |
List<SandBox> |
retrieveAllUserSandBoxes(Long authorId)
Reads all SandBoxes that are of type
SandBoxType.USER and belong to the given
user. |
Map<Long,String> |
retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds) |
List<SandBox> |
retrievePreviewSandBoxes(Long authorId) |
SandBox |
retrieveSandBox(String sandBoxName,
SandBoxType sandBoxType) |
SandBox |
retrieveSandBoxById(Long id) |
List<SandBox> |
retrieveSandBoxesByType(SandBoxType type) |
SandBox |
retrieveUserSandBox(Long authorId,
Long overrideSandBoxId,
String sandBoxName)
Returns the sandbox currently associated with the passed in userId.
|
SandBox |
retrieveUserSandBoxForParent(Long authorId,
Long parentSandBoxId) |
SandBox retrieveUserSandBox(Long authorId, Long overrideSandBoxId, String sandBoxName)
adminUser
- SandBox retrieveUserSandBoxForParent(Long authorId, Long parentSandBoxId)
List<SandBox> retrieveSandBoxesByType(SandBoxType type)
Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
SandBox createSandBox(String sandBoxName, SandBoxType sandBoxType) throws Exception
Exception
SandBox retrieveSandBox(String sandBoxName, SandBoxType sandBoxType)
SandBox createDefaultSandBox()
Copyright © 2014. All rights reserved.