Class SandBoxDaoImpl
java.lang.Object
org.broadleafcommerce.common.sandbox.dao.SandBoxDaoImpl
- All Implemented Interfaces:
SandBoxDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected org.springframework.orm.jpa.JpaTransactionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSandBox(String sandBoxName, SandBoxType sandBoxType) createUserSandBox(Long authorId, SandBox approvalSandBox) retrieveAllUserSandBoxes(Long authorId) Deprecated.retrieveAuthorNamesForSandBoxes(Set<Long> sandBoxIds) retrieveChildSandBoxesByParentId(Long parentSandBoxId) retrieveNamedSandBox(SandBoxType sandboxType, String sandboxName) retrieveNamedSandBox(SandBoxType sandBoxType, String sandboxName, Long authorId) retrieveSandBoxesByType(SandBoxType sandboxType) retrieveSandBoxesForAuthor(Long authorId) retrieveSandBoxesForAuthor(Long authorId, SandBoxType sandBoxType) retrieveSandBoxManagementById(Long sandBoxId) retrieveSandboxNamesForSandBoxes(Set<Long> sandBoxIds) retrieveUserSandBoxForParent(Long authorId, Long parentSandBoxId)
-
Field Details
-
sandBoxEntityManager
protected jakarta.persistence.EntityManager sandBoxEntityManager -
transactionManager
protected org.springframework.orm.jpa.JpaTransactionManager transactionManager
-
-
Constructor Details
-
SandBoxDaoImpl
public SandBoxDaoImpl()
-
-
Method Details
-
retrieve
- Specified by:
retrievein interfaceSandBoxDao
-
retrieveAllSandBoxes
- Specified by:
retrieveAllSandBoxesin interfaceSandBoxDao
-
retrieveSandBoxesByType
- Specified by:
retrieveSandBoxesByTypein interfaceSandBoxDao
-
retrieveAllUserSandBoxes
Deprecated.- Specified by:
retrieveAllUserSandBoxesin interfaceSandBoxDao- Returns:
- a list of SandBox belonging to the user
-
merge
- Specified by:
mergein interfaceSandBoxDao
-
retrieveChildSandBoxesByParentId
- Specified by:
retrieveChildSandBoxesByParentIdin interfaceSandBoxDao
-
retrieveUserSandBoxForParent
- Specified by:
retrieveUserSandBoxForParentin interfaceSandBoxDao
-
retrieveSandBoxManagementById
- Specified by:
retrieveSandBoxManagementByIdin interfaceSandBoxDao
-
retrieveNamedSandBox
- Specified by:
retrieveNamedSandBoxin interfaceSandBoxDao
-
retrieveNamedSandBox
- Specified by:
retrieveNamedSandBoxin interfaceSandBoxDao
-
retrieveAuthorNamesForSandBoxes
- Specified by:
retrieveAuthorNamesForSandBoxesin interfaceSandBoxDao
-
retrieveSandboxNamesForSandBoxes
- Specified by:
retrieveSandboxNamesForSandBoxesin interfaceSandBoxDao
-
retrieveSandBoxesForAuthor
- Specified by:
retrieveSandBoxesForAuthorin interfaceSandBoxDao
-
retrieveSandBoxesForAuthor
- Specified by:
retrieveSandBoxesForAuthorin interfaceSandBoxDao
-
persist
- Specified by:
persistin interfaceSandBoxDao
-
createSandBox
- Specified by:
createSandBoxin interfaceSandBoxDao
-
createUserSandBox
- Specified by:
createUserSandBoxin interfaceSandBoxDao
-
createDefaultSandBox
- Specified by:
createDefaultSandBoxin interfaceSandBoxDao
-