org.broadleafcommerce.openadmin.server.service.persistence
Interface PersistenceManager
- All Known Implementing Classes:
- PersistenceManagerImpl
public interface PersistenceManager
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
getSandBoxService
SandBoxService getSandBoxService()
setSandBoxService
void setSandBoxService(SandBoxService sandBoxService)
getDynamicEntityDao
DynamicEntityDao getDynamicEntityDao()
setDynamicEntityDao
void setDynamicEntityDao(DynamicEntityDao dynamicEntityDao)
getTargetEntityManagers
Map<TargetModeType,String> getTargetEntityManagers()
setTargetEntityManagers
void setTargetEntityManagers(Map<TargetModeType,String> targetEntityManagers)
getTargetMode
TargetModeType getTargetMode()
setTargetMode
void setTargetMode(TargetModeType targetMode)
getCustomPersistenceHandlers
List<CustomPersistenceHandler> getCustomPersistenceHandlers()
setCustomPersistenceHandlers
void setCustomPersistenceHandlers(List<CustomPersistenceHandler> customPersistenceHandlers)
close
void close()
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.