org.broadleafcommerce.common.sandbox.dao
Class SandBoxDaoImpl
java.lang.Object
org.broadleafcommerce.common.sandbox.dao.SandBoxDaoImpl
- All Implemented Interfaces:
- SandBoxDao
@Repository(value="blSandBoxDao")
public class SandBoxDaoImpl
- extends Object
- implements SandBoxDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sandBoxEntityManager
protected javax.persistence.EntityManager sandBoxEntityManager
transactionManager
protected org.springframework.orm.jpa.JpaTransactionManager transactionManager
SandBoxDaoImpl
public SandBoxDaoImpl()
retrieve
public SandBox retrieve(Long id)
- Specified by:
retrieve in interface SandBoxDao
retrieveAllSandBoxes
public List<SandBox> retrieveAllSandBoxes()
- Specified by:
retrieveAllSandBoxes in interface SandBoxDao
retrieveSandBoxesByType
public List<SandBox> retrieveSandBoxesByType(SandBoxType sandboxType)
- Specified by:
retrieveSandBoxesByType in interface SandBoxDao
retrieveUserSandBoxForParent
public SandBox retrieveUserSandBoxForParent(Long authorId,
Long parentSandBoxId)
- Specified by:
retrieveUserSandBoxForParent in interface SandBoxDao
retrieveSandBoxByType
public SandBox retrieveSandBoxByType(SandBoxType sandboxType)
- Specified by:
retrieveSandBoxByType in interface SandBoxDao
retrieveNamedSandBox
public SandBox retrieveNamedSandBox(SandBoxType sandboxType,
String sandboxName)
- Specified by:
retrieveNamedSandBox in interface SandBoxDao
retrieveAuthorNamesForSandBoxes
public Map<Long,String> retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds)
- Specified by:
retrieveAuthorNamesForSandBoxes in interface SandBoxDao
retrieveSandBoxesForAuthor
public List<SandBox> retrieveSandBoxesForAuthor(Long authorId)
- Specified by:
retrieveSandBoxesForAuthor in interface SandBoxDao
persist
public SandBox persist(SandBox entity)
- Specified by:
persist in interface SandBoxDao
createSandBox
public SandBox createSandBox(String sandBoxName,
SandBoxType sandBoxType)
- Specified by:
createSandBox in interface SandBoxDao
createUserSandBox
public SandBox createUserSandBox(Long authorId,
SandBox approvalSandBox)
- Specified by:
createUserSandBox in interface SandBoxDao
createDefaultSandBox
public SandBox createDefaultSandBox()
- Specified by:
createDefaultSandBox in interface SandBoxDao
Copyright © 2013. All Rights Reserved.