Class SandBoxDaoImpl
java.lang.Object
org.broadleafcommerce.common.sandbox.dao.SandBoxDaoImpl
- All Implemented Interfaces:
SandBoxDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManager
protected 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:
retrieve
in interfaceSandBoxDao
-
retrieveAllSandBoxes
- Specified by:
retrieveAllSandBoxes
in interfaceSandBoxDao
-
retrieveSandBoxesByType
- Specified by:
retrieveSandBoxesByType
in interfaceSandBoxDao
-
retrieveAllUserSandBoxes
Deprecated.- Specified by:
retrieveAllUserSandBoxes
in interfaceSandBoxDao
- Returns:
- a list of SandBox belonging to the user
-
merge
- Specified by:
merge
in interfaceSandBoxDao
-
retrieveChildSandBoxesByParentId
- Specified by:
retrieveChildSandBoxesByParentId
in interfaceSandBoxDao
-
retrieveUserSandBoxForParent
- Specified by:
retrieveUserSandBoxForParent
in interfaceSandBoxDao
-
retrieveSandBoxManagementById
- Specified by:
retrieveSandBoxManagementById
in interfaceSandBoxDao
-
retrieveNamedSandBox
- Specified by:
retrieveNamedSandBox
in interfaceSandBoxDao
-
retrieveNamedSandBox
- Specified by:
retrieveNamedSandBox
in interfaceSandBoxDao
-
retrieveAuthorNamesForSandBoxes
- Specified by:
retrieveAuthorNamesForSandBoxes
in interfaceSandBoxDao
-
retrieveSandboxNamesForSandBoxes
- Specified by:
retrieveSandboxNamesForSandBoxes
in interfaceSandBoxDao
-
retrieveSandBoxesForAuthor
- Specified by:
retrieveSandBoxesForAuthor
in interfaceSandBoxDao
-
retrieveSandBoxesForAuthor
- Specified by:
retrieveSandBoxesForAuthor
in interfaceSandBoxDao
-
persist
- Specified by:
persist
in interfaceSandBoxDao
-
createSandBox
- Specified by:
createSandBox
in interfaceSandBoxDao
-
createUserSandBox
- Specified by:
createUserSandBox
in interfaceSandBoxDao
-
createDefaultSandBox
- Specified by:
createDefaultSandBox
in interfaceSandBoxDao
-