@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 SandBoxDao
public List<SandBox> retrieveAllSandBoxes()
retrieveAllSandBoxes
in interface SandBoxDao
public List<SandBox> retrieveSandBoxesByType(SandBoxType sandboxType)
retrieveSandBoxesByType
in interface SandBoxDao
@Deprecated public List<SandBox> retrieveAllUserSandBoxes(Long authorId)
retrieveAllUserSandBoxes
in interface SandBoxDao
public SandBox merge(SandBox userSandBox)
merge
in interface SandBoxDao
public List<SandBox> retrieveChildSandBoxesByParentId(Long parentSandBoxId)
retrieveChildSandBoxesByParentId
in interface SandBoxDao
public SandBox retrieveUserSandBoxForParent(Long authorId, Long parentSandBoxId)
retrieveUserSandBoxForParent
in interface SandBoxDao
public SandBox retrieveSandBoxManagementById(Long sandBoxId)
retrieveSandBoxManagementById
in interface SandBoxDao
public SandBox retrieveNamedSandBox(SandBoxType sandboxType, String sandboxName)
retrieveNamedSandBox
in interface SandBoxDao
public SandBox retrieveNamedSandBox(SandBoxType sandBoxType, String sandboxName, Long authorId)
retrieveNamedSandBox
in interface SandBoxDao
public Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
retrieveAuthorNamesForSandBoxes
in interface SandBoxDao
public Map<Long,String> retrieveSandboxNamesForSandBoxes(Set<Long> sandBoxIds)
retrieveSandboxNamesForSandBoxes
in interface SandBoxDao
public List<SandBox> retrieveSandBoxesForAuthor(Long authorId)
retrieveSandBoxesForAuthor
in interface SandBoxDao
public List<SandBox> retrieveSandBoxesForAuthor(Long authorId, SandBoxType sandBoxType)
retrieveSandBoxesForAuthor
in interface SandBoxDao
public SandBox persist(SandBox entity)
persist
in interface SandBoxDao
public SandBox createSandBox(String sandBoxName, SandBoxType sandBoxType)
createSandBox
in interface SandBoxDao
public SandBox createUserSandBox(Long authorId, SandBox approvalSandBox)
createUserSandBox
in interface SandBoxDao
public SandBox createDefaultSandBox()
createDefaultSandBox
in interface SandBoxDao
Copyright © 2022. All rights reserved.