From aee52550868c56de7f7063e4ca153b031dedecb0 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 13 Jul 2018 15:49:38 +0200 Subject: some updates and bugfixes --- .../main/java/at/gv/egiz/eaaf/core/api/IRequest.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java') 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 getGenericData(String key, final Class clazz); + public T getRawData(String key, final Class 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 map) throws EAAFStorageException; - - - + public void setRawDataToTransaction(Map 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 genericFullDataStorage(); + public T getSessionData(Class wrapper); /** * Hold the identifier of this request object. -- cgit v1.2.3