@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() |
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 SandBox retrieveNamedSandBox(SandBoxType sandBoxType, String sandboxName, Long authorId)
retrieveNamedSandBox in interface SandBoxDaopublic Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
retrieveAuthorNamesForSandBoxes in interface SandBoxDaopublic Map<Long,String> retrieveSandboxNamesForSandBoxes(Set<Long> sandBoxIds)
retrieveSandboxNamesForSandBoxes in interface SandBoxDaopublic List<SandBox> retrieveSandBoxesForAuthor(Long authorId)
retrieveSandBoxesForAuthor in interface SandBoxDaopublic List<SandBox> retrieveSandBoxesForAuthor(Long authorId, SandBoxType sandBoxType)
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 © 2022. All rights reserved.