public interface AdaptrexPersistenceManager
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NAME |
| Modifier and Type | Method and Description |
|---|---|
ModelInstance |
createModelInstance(ExtConfig extConfig,
Map<String,Object> data) |
ModelInstance |
deleteModelInstance(ExtConfig extConfig,
Object id) |
ModelInstance |
deleteModelInstance(ExtConfig extConfig,
String key,
Object value) |
AdaptrexEntityType |
getAdaptrexEntity(String name) |
Object |
getEntity(Class<?> clazz,
Object id) |
Object |
getEntity(Class<?> clazz,
String key,
Object value) |
ModelInstance |
getModelInstance(ExtConfig extConfig,
Object id) |
ModelInstance |
getModelInstance(ExtConfig extConfig,
String key,
Object value) |
String |
getName() |
Object |
getNativeSession() |
AdaptrexStoreData |
getStoreData(ExtConfig extConfig) |
void |
shutdown() |
ModelInstance |
updateModelInstance(ExtConfig extConfig,
Object id,
Map<String,Object> data) |
ModelInstance |
updateModelInstance(ExtConfig extConfig,
String key,
Object value,
Map<String,Object> data) |
static final String DEFAULT_NAME
String getName()
Object getNativeSession()
void shutdown()
AdaptrexStoreData getStoreData(ExtConfig extConfig)
ModelInstance getModelInstance(ExtConfig extConfig, Object id) throws Exception
ExceptionModelInstance getModelInstance(ExtConfig extConfig, String key, Object value) throws Exception
ExceptionModelInstance createModelInstance(ExtConfig extConfig, Map<String,Object> data)
ModelInstance updateModelInstance(ExtConfig extConfig, Object id, Map<String,Object> data) throws Exception
ExceptionModelInstance updateModelInstance(ExtConfig extConfig, String key, Object value, Map<String,Object> data) throws Exception
ExceptionModelInstance deleteModelInstance(ExtConfig extConfig, Object id) throws Exception
ExceptionModelInstance deleteModelInstance(ExtConfig extConfig, String key, Object value) throws Exception
ExceptionAdaptrexEntityType getAdaptrexEntity(String name)
Copyright © 2013 Adaptrex, LLC. All Rights Reserved.