|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Data Access Strategy, defining how a specific DAL implementation hooks into other resources in the DAL framework.
| Field Summary | |
static java.lang.String |
APP_NAME_KEY
|
static java.lang.String |
DATA_STORE_ID_KEY
|
static java.lang.String |
DEFAULT_DATA_STORE_ID
|
static java.lang.String |
NAME_KEY
|
| Method Summary | |
java.lang.String |
getDataStoreId()
Get the datastore id used by this strategy. |
java.lang.String |
getName()
The name of this strategy, uniquely identifying it within the DAL framework. |
java.lang.Object |
getSetting(java.lang.Object key)
Get the setting value used by this strategy instance. |
java.util.Map |
getSettings()
Get the settings used by this strategy instance. |
void |
setDataStoreId(java.lang.String id)
Set the datasource id used by this strategy. |
void |
setName(java.lang.String name)
The name of this strategy, uniquely identifying it within the DAL framework. |
void |
setSetting(java.lang.Object key,
java.lang.Object value)
Set the setting value used by this strategy, replacing any previous setting value. |
void |
setSettings(java.util.Map newSettings)
Set the settings used by this strategy, replacing any previous setting values. |
| Methods inherited from interface com.redstarhackers.dal.DataAccessLayer |
addModel, executeNamedQuery, executeNamedQuery, executeNamedQuery, executeNamedQuery, executeNamedStatement, executeNamedStatement, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, getNamedQuery, getNamedStatement, loadModel, removeModel, removeModel, updateModel, updateModel |
| Field Detail |
public static final java.lang.String DEFAULT_DATA_STORE_ID
public static final java.lang.String NAME_KEY
public static final java.lang.String DATA_STORE_ID_KEY
public static final java.lang.String APP_NAME_KEY
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Map getSettings()
public void setSettings(java.util.Map newSettings)
newSettings - the new settingspublic java.lang.Object getSetting(java.lang.Object key)
public void setSetting(java.lang.Object key,
java.lang.Object value)
key - the key for this settingvalue - the value of this settingpublic java.lang.String getDataStoreId()
public void setDataStoreId(java.lang.String id)
id - the datastore id, which refers to a specific database or data
store to use for the data operations of this instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||