@Repository(value="blSandBoxDao") public class SandBoxDaoImpl extends Object implements SandBoxDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
sandBoxEntityManager |
protected org.springframework.orm.jpa.JpaTransactionManager |
transactionManager |
| Constructor and Description |
|---|
SandBoxDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
SandBox |
createDefaultSandBox() |
SandBox |
createSandBox(String sandBoxName,
SandBoxType sandBoxType) |
SandBox |
createUserSandBox(Long authorId,
SandBox approvalSandBox) |
SandBox |
merge(SandBox userSandBox) |
SandBox |
persist(SandBox entity) |
SandBox |
retrieve(Long id) |
List<SandBox> |
retrieveAllSandBoxes() |
List<SandBox> |
retrieveAllUserSandBoxes(Long authorId)
Deprecated.
|
Map<Long,String> |
retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds) |
List<SandBox> |
retrieveChildSandBoxesByParentId(Long parentSandBoxId) |
SandBox |
retrieveNamedSandBox(SandBoxType sandboxType,
String sandboxName) |
List<SandBox> |
retrieveSandBoxesByType(SandBoxType sandboxType) |
List<SandBox> |
retrieveSandBoxesForAuthor(Long authorId) |
SandBox |
retrieveSandBoxManagementById(Long sandBoxId) |
SandBox |
retrieveUserSandBoxForParent(Long authorId,
Long parentSandBoxId) |
protected javax.persistence.EntityManager sandBoxEntityManager
protected org.springframework.orm.jpa.JpaTransactionManager transactionManager
public SandBox retrieve(Long id)
retrieve in interface SandBoxDaopublic List<SandBox> retrieveAllSandBoxes()
retrieveAllSandBoxes in interface SandBoxDaopublic List<SandBox> retrieveSandBoxesByType(SandBoxType sandboxType)
retrieveSandBoxesByType in interface SandBoxDao@Deprecated public List<SandBox> retrieveAllUserSandBoxes(Long authorId)
retrieveAllUserSandBoxes in interface SandBoxDaopublic SandBox merge(SandBox userSandBox)
merge in interface SandBoxDaopublic List<SandBox> retrieveChildSandBoxesByParentId(Long parentSandBoxId)
retrieveChildSandBoxesByParentId in interface SandBoxDaopublic SandBox retrieveUserSandBoxForParent(Long authorId, Long parentSandBoxId)
retrieveUserSandBoxForParent in interface SandBoxDaopublic SandBox retrieveSandBoxManagementById(Long sandBoxId)
retrieveSandBoxManagementById in interface SandBoxDaopublic SandBox retrieveNamedSandBox(SandBoxType sandboxType, String sandboxName)
retrieveNamedSandBox in interface SandBoxDaopublic Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
retrieveAuthorNamesForSandBoxes in interface SandBoxDaopublic List<SandBox> retrieveSandBoxesForAuthor(Long authorId)
retrieveSandBoxesForAuthor in interface SandBoxDaopublic SandBox persist(SandBox entity)
persist in interface SandBoxDaopublic SandBox createSandBox(String sandBoxName, SandBoxType sandBoxType)
createSandBox in interface SandBoxDaopublic SandBox createUserSandBox(Long authorId, SandBox approvalSandBox)
createUserSandBox in interface SandBoxDaopublic SandBox createDefaultSandBox()
createDefaultSandBox in interface SandBoxDaoCopyright © 2015. All rights reserved.