org.broadleafcommerce.openadmin.server.service.persistence
Interface PersistenceManager

All Known Implementing Classes:
PersistenceManagerImpl

public interface PersistenceManager


Method Summary
 Entity add(PersistencePackage persistencePackage)
           
 DynamicResultSet fetch(PersistencePackage persistencePackage, com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto)
           
 Class<?>[] getAllPolymorphicEntitiesFromCeiling(Class<?> ceilingClass)
           
 List<CustomPersistenceHandler> getCustomPersistenceHandlers()
           
 DynamicEntityDao getDynamicEntityDao()
           
 ClassMetadata getMergedClassMetadata(Class<?>[] entities, Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties)
           
 Class<?>[] getPolymorphicEntities(String ceilingEntityFullyQualifiedClassname)
           
 Map<String,FieldMetadata> getSimpleMergedProperties(String entityName, PersistencePerspective persistencePerspective)
           
 Map<String,String> getTargetEntityManagers()
           
 TargetModeType getTargetMode()
           
 Class<?>[] getUpDownInheritance(Class<?> testClass)
           
 Class<?>[] getUpDownInheritance(String testClassname)
           
 DynamicResultSet inspect(PersistencePackage persistencePackage)
           
 void remove(PersistencePackage persistencePackage)
           
 void setCustomPersistenceHandlers(List<CustomPersistenceHandler> customPersistenceHandlers)
           
 void setDynamicEntityDao(DynamicEntityDao dynamicEntityDao)
           
 void setTargetEntityManagers(Map<String,String> targetEntityManagers)
           
 void setTargetMode(TargetModeType targetMode)
           
 Entity update(PersistencePackage persistencePackage)
           
 

Method Detail

getAllPolymorphicEntitiesFromCeiling

Class<?>[] getAllPolymorphicEntitiesFromCeiling(Class<?> ceilingClass)

getPolymorphicEntities

Class<?>[] getPolymorphicEntities(String ceilingEntityFullyQualifiedClassname)
                                  throws ClassNotFoundException
Throws:
ClassNotFoundException

getSimpleMergedProperties

Map<String,FieldMetadata> getSimpleMergedProperties(String entityName,
                                                    PersistencePerspective persistencePerspective)
                                                    throws ClassNotFoundException,
                                                           SecurityException,
                                                           IllegalArgumentException,
                                                           NoSuchMethodException,
                                                           IllegalAccessException,
                                                           InvocationTargetException,
                                                           NoSuchFieldException
Throws:
ClassNotFoundException
SecurityException
IllegalArgumentException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
NoSuchFieldException

getMergedClassMetadata

ClassMetadata getMergedClassMetadata(Class<?>[] entities,
                                     Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties)
                                     throws ClassNotFoundException,
                                            IllegalArgumentException
Throws:
ClassNotFoundException
IllegalArgumentException

inspect

DynamicResultSet inspect(PersistencePackage persistencePackage)
                         throws ServiceException,
                                ClassNotFoundException
Throws:
ServiceException
ClassNotFoundException

fetch

DynamicResultSet fetch(PersistencePackage persistencePackage,
                       com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto)
                       throws ServiceException
Throws:
ServiceException

add

Entity add(PersistencePackage persistencePackage)
           throws ServiceException
Throws:
ServiceException

update

Entity update(PersistencePackage persistencePackage)
              throws ServiceException
Throws:
ServiceException

remove

void remove(PersistencePackage persistencePackage)
            throws ServiceException
Throws:
ServiceException

getDynamicEntityDao

DynamicEntityDao getDynamicEntityDao()

setDynamicEntityDao

void setDynamicEntityDao(DynamicEntityDao dynamicEntityDao)

getTargetEntityManagers

Map<String,String> getTargetEntityManagers()

setTargetEntityManagers

void setTargetEntityManagers(Map<String,String> targetEntityManagers)

getTargetMode

TargetModeType getTargetMode()

setTargetMode

void setTargetMode(TargetModeType targetMode)

getCustomPersistenceHandlers

List<CustomPersistenceHandler> getCustomPersistenceHandlers()

setCustomPersistenceHandlers

void setCustomPersistenceHandlers(List<CustomPersistenceHandler> customPersistenceHandlers)

getUpDownInheritance

Class<?>[] getUpDownInheritance(Class<?> testClass)

getUpDownInheritance

Class<?>[] getUpDownInheritance(String testClassname)
                                throws ClassNotFoundException
Throws:
ClassNotFoundException


Copyright © 2013. All Rights Reserved.