Package org.apache.struts2.interceptor
Interface ScopedModelDriven<T>
- All Superinterfaces:
ModelDriven<T>
Adds the ability to set a model, probably retrieved from a given state.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setScopeKey
(String key) Sets the key under which the model is storedMethods inherited from interface org.apache.struts2.ModelDriven
getModel
-
Method Details
-
setModel
- Parameters:
model
- sets the model
-
setScopeKey
Sets the key under which the model is stored- Parameters:
key
- The model key
-
getScopeKey
String getScopeKey()- Returns:
- the key under which the model is stored
-