summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java
index 620018ad..4c145fbc 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java
@@ -100,7 +100,7 @@ public interface IRequest {
* @param key The specific identifier of the request-data object
* @return The request-data object or null if no data is found with this key
*/
- public Object getGenericData(String key);
+ public Object getRawData(String key);
/**
* Returns a generic request-data object with is stored with a specific identifier
@@ -109,7 +109,7 @@ public interface IRequest {
* @param clazz The class type which is stored with this key
* @return The request-data object or null if no data is found with this key
*/
- public <T> T getGenericData(String key, final Class<T> clazz);
+ public <T> T getRawData(String key, final Class<T> clazz);
/**
* Store a generic data-object into pending request with a specific identifier
@@ -118,7 +118,7 @@ public interface IRequest {
* @param object Generic data-object which should be stored. This data-object had to be implement the 'java.io.Serializable' interface
* @throws SessionDataStorageException Error message if the data-object can not stored to generic request-data storage
*/
- public void setGenericDataToSession(String key, Object object) throws EAAFStorageException;
+ public void setRawDataToTransaction(String key, Object object) throws EAAFStorageException;
/**
* Store generic data-objects into pending request with specific identifiers
@@ -126,16 +126,15 @@ public interface IRequest {
* @param map Map with Identifiers and values
* @throws SessionDataStorageException Error message if the data-object can not stored to generic request-data storage
*/
- public void setGenericDataToSession(Map<String, Object> map) throws EAAFStorageException;
-
-
-
+ public void setRawDataToTransaction(Map<String, Object> map) throws EAAFStorageException;
+
/**
- * Get the internal dataStorage map
+ * Wrap the internal dataStorage map into a DAO
*
- * @return read-only map of data stored to this pending request
+ * @param wrapper DOA to access SessionData
+ * @return
*/
- public Map<String, Object> genericFullDataStorage();
+ public <T> T getSessionData(Class<T> wrapper);
/**
* Hold the identifier of this request object.