org.broadleafcommerce.openadmin.server.factory
Class PersistencePackageFactoryImpl

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.factory.PersistencePackageFactoryImpl
All Implemented Interfaces:
PersistencePackageFactory

@Service(value="blPersistencePackageFactory")
public class PersistencePackageFactoryImpl
extends Object
implements PersistencePackageFactory

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  AdminNavigationService adminNavigationService
           
protected  DynamicDaoHelper dynamicDaoHelper
           
protected  javax.persistence.EntityManager em
           
 
Constructor Summary
PersistencePackageFactoryImpl()
           
 
Method Summary
 PersistencePackage create(PersistencePackageRequest request)
          Creates a persistence package for the given request.
protected  String getClassNameForSection(String sectionKey)
           
protected  OperationTypes getDefaultOperationTypes()
           
protected  OperationTypes getOperationTypes(OperationType nonInspectOperationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adminNavigationService

protected AdminNavigationService adminNavigationService

em

protected javax.persistence.EntityManager em

dynamicDaoHelper

protected DynamicDaoHelper dynamicDaoHelper
Constructor Detail

PersistencePackageFactoryImpl

public PersistencePackageFactoryImpl()
Method Detail

create

public PersistencePackage create(PersistencePackageRequest request)
Description copied from interface: PersistencePackageFactory
Creates a persistence package for the given request. Different request types require different combinations of attributes, which are generally self explanatory.

Specified by:
create in interface PersistencePackageFactory
Returns:
the persistence package
See Also:
PersistencePackageRequest, PersistencePackageRequest.Type

getDefaultOperationTypes

protected OperationTypes getDefaultOperationTypes()

getOperationTypes

protected OperationTypes getOperationTypes(OperationType nonInspectOperationType)

getClassNameForSection

protected String getClassNameForSection(String sectionKey)


Copyright © 2013. All Rights Reserved.