org.broadleafcommerce.common.sandbox.service
Interface SandBoxService
- All Known Implementing Classes:
- SandBoxServiceImpl
public interface SandBoxService
retrieveSandBoxById
SandBox retrieveSandBoxById(Long id)
retrieveAllSandBoxes
List<SandBox> retrieveAllSandBoxes()
retrieveUserSandBox
SandBox retrieveUserSandBox(Long authorId,
Long overrideSandBoxId,
String sandBoxName)
- Returns the sandbox currently associated with the passed in userId.
If one is not associated, it uses (or creates) a default user sandbox with the
name: user:username.
- Parameters:
adminUser -
- Returns:
retrieveUserSandBoxForParent
SandBox retrieveUserSandBoxForParent(Long authorId,
Long parentSandBoxId)
retrievePreviewSandBoxes
List<SandBox> retrievePreviewSandBoxes(Long authorId)
retrieveSandBoxesByType
List<SandBox> retrieveSandBoxesByType(SandBoxType type)
retrieveAuthorNamesForSandBoxes
Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
createSandBox
SandBox createSandBox(String sandBoxName,
SandBoxType sandBoxType)
throws Exception
- Throws:
Exception
createUserSandBox
SandBox createUserSandBox(Long authorId,
SandBox approvalSandBox)
retrieveSandBox
SandBox retrieveSandBox(String sandBoxName,
SandBoxType sandBoxType)
createDefaultSandBox
SandBox createDefaultSandBox()
Copyright © 2013. All Rights Reserved.