@Component(value="blPersistenceManager") @Scope(value="prototype") public class PersistenceManagerImpl extends Object implements InspectHelper, PersistenceManager, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected AdminSecurityServiceRemote |
adminRemoteSecurityService |
protected org.springframework.context.ApplicationContext |
applicationContext |
protected List<CustomPersistenceHandlerFilter> |
customPersistenceHandlerFilters |
protected List<CustomPersistenceHandler> |
customPersistenceHandlers |
protected DynamicEntityDao |
dynamicEntityDao |
protected PersistenceModule[] |
modules |
protected Map<String,String> |
targetEntityManagers |
protected TargetModeType |
targetMode |
| Constructor and Description |
|---|
PersistenceManagerImpl() |
protected DynamicEntityDao dynamicEntityDao
protected List<CustomPersistenceHandler> customPersistenceHandlers
protected List<CustomPersistenceHandlerFilter> customPersistenceHandlerFilters
protected AdminSecurityServiceRemote adminRemoteSecurityService
protected PersistenceModule[] modules
protected TargetModeType targetMode
protected org.springframework.context.ApplicationContext applicationContext
@PostConstruct public void postConstruct()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Class<?>[] getAllPolymorphicEntitiesFromCeiling(Class<?> ceilingClass)
getAllPolymorphicEntitiesFromCeiling in interface PersistenceManagerpublic Class<?>[] getUpDownInheritance(String testClassname) throws ClassNotFoundException
getUpDownInheritance in interface PersistenceManagerClassNotFoundExceptionpublic Class<?>[] getUpDownInheritance(Class<?> testClass)
getUpDownInheritance in interface PersistenceManagerpublic Class<?>[] getPolymorphicEntities(String ceilingEntityFullyQualifiedClassname) throws ClassNotFoundException
getPolymorphicEntities in interface PersistenceManagerClassNotFoundExceptionpublic Map<String,FieldMetadata> getSimpleMergedProperties(String entityName, PersistencePerspective persistencePerspective) throws ClassNotFoundException, SecurityException, IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, NoSuchFieldException
getSimpleMergedProperties in interface InspectHelpergetSimpleMergedProperties in interface PersistenceManagerClassNotFoundExceptionSecurityExceptionIllegalArgumentExceptionNoSuchMethodExceptionIllegalAccessExceptionInvocationTargetExceptionNoSuchFieldExceptionpublic ClassMetadata getMergedClassMetadata(Class<?>[] entities, Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties) throws ClassNotFoundException, IllegalArgumentException
getMergedClassMetadata in interface InspectHelpergetMergedClassMetadata in interface PersistenceManagerClassNotFoundExceptionIllegalArgumentExceptionpublic DynamicResultSet inspect(PersistencePackage persistencePackage) throws ServiceException, ClassNotFoundException
inspect in interface PersistenceManagerServiceExceptionClassNotFoundExceptionpublic DynamicResultSet fetch(PersistencePackage persistencePackage, com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto) throws ServiceException
fetch in interface PersistenceManagerServiceExceptionprotected DynamicResultSet postFetch(DynamicResultSet resultSet, PersistencePackage persistencePackage) throws ServiceException
ServiceExceptionpublic Entity add(PersistencePackage persistencePackage) throws ServiceException
add in interface PersistenceManagerServiceExceptionprotected Entity postAdd(Entity entity, PersistencePackage persistencePackage) throws ServiceException
ServiceExceptionpublic Entity update(PersistencePackage persistencePackage) throws ServiceException
update in interface PersistenceManagerServiceExceptionprotected Entity postUpdate(Entity entity, PersistencePackage persistencePackage) throws ServiceException
ServiceExceptionpublic void remove(PersistencePackage persistencePackage) throws ServiceException
remove in interface PersistenceManagerServiceExceptionpublic PersistenceModule getCompatibleModule(OperationType operationType)
getCompatibleModule in interface InspectHelperpublic DynamicEntityDao getDynamicEntityDao()
getDynamicEntityDao in interface PersistenceManagerpublic void setDynamicEntityDao(DynamicEntityDao dynamicEntityDao)
setDynamicEntityDao in interface PersistenceManagerpublic Map<String,String> getTargetEntityManagers()
getTargetEntityManagers in interface PersistenceManagerpublic void setTargetEntityManagers(Map<String,String> targetEntityManagers)
setTargetEntityManagers in interface PersistenceManagerpublic TargetModeType getTargetMode()
getTargetMode in interface PersistenceManagerpublic void setTargetMode(TargetModeType targetMode)
setTargetMode in interface PersistenceManagerpublic List<CustomPersistenceHandler> getCustomPersistenceHandlers()
getCustomPersistenceHandlers in interface PersistenceManagerpublic void setCustomPersistenceHandlers(List<CustomPersistenceHandler> customPersistenceHandlers)
setCustomPersistenceHandlers in interface PersistenceManagerpublic AdminSecurityServiceRemote getAdminRemoteSecurityService()
public void setAdminRemoteSecurityService(AdminSecurityServiceRemote adminRemoteSecurityService)
public List<CustomPersistenceHandlerFilter> getCustomPersistenceHandlerFilters()
public void setCustomPersistenceHandlerFilters(List<CustomPersistenceHandlerFilter> customPersistenceHandlerFilters)
public PersistenceModule[] getModules()
public void setModules(PersistenceModule[] modules)
Copyright © 2013. All rights reserved.