Class PersistencePackageFactoryImpl
java.lang.Object
org.broadleafcommerce.openadmin.server.factory.PersistencePackageFactoryImpl
- All Implemented Interfaces:
PersistencePackageFactory
@Service("blPersistencePackageFactory")
public class PersistencePackageFactoryImpl
extends Object
implements PersistencePackageFactory
- Author:
- Andre Azzolini (apazzolini)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdminNavigationServiceprotected org.broadleafcommerce.common.util.dao.DynamicDaoHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PersistencePackageRequest request) Creates a persistence package for the given request.protected StringgetClassNameForSection(String sectionKey) protected OperationTypesprotected jakarta.persistence.EntityManagergetEntityManager(String className) protected OperationTypesgetOperationTypes(org.broadleafcommerce.common.presentation.client.OperationType nonInspectOperationType)
-
Field Details
-
dynamicDaoHelper
protected org.broadleafcommerce.common.util.dao.DynamicDaoHelper dynamicDaoHelper
-
Constructor Details
-
PersistencePackageFactoryImpl
public PersistencePackageFactoryImpl()
-
-
Method Details
-
create
Description copied from interface:PersistencePackageFactoryCreates a persistence package for the given request. Different request types require different combinations of attributes, which are generally self explanatory.- Specified by:
createin interfacePersistencePackageFactory- Returns:
- the persistence package
- See Also:
-
getDefaultOperationTypes
-
getOperationTypes
protected OperationTypes getOperationTypes(org.broadleafcommerce.common.presentation.client.OperationType nonInspectOperationType) -
getClassNameForSection
-
getEntityManager
-