public interface SandBoxDao
Modifier and Type | Method and Description |
---|---|
SandBox |
createDefaultSandBox() |
SandBox |
createSandBox(String sandBoxName,
SandBoxType sandBoxType) |
SandBox |
createUserSandBox(Long authorId,
SandBox approvalSandBox) |
SandBox |
persist(SandBox entity) |
SandBox |
retrieve(Long id) |
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) |
SandBox |
retrieveNamedSandBox(SandBoxType sandboxType,
String sandboxName) |
List<SandBox> |
retrieveSandBoxesByType(SandBoxType sandboxType) |
List<SandBox> |
retrieveSandBoxesForAuthor(Long authorId) |
SandBox |
retrieveUserSandBoxForParent(Long authorId,
Long parentSandBoxId) |
List<SandBox> retrieveSandBoxesByType(SandBoxType sandboxType)
SandBox retrieveUserSandBoxForParent(Long authorId, Long parentSandBoxId)
SandBox retrieveNamedSandBox(SandBoxType sandboxType, String sandboxName)
Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
SandBox createSandBox(String sandBoxName, SandBoxType sandBoxType)
SandBox createDefaultSandBox()
Copyright © 2014. All rights reserved.