|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EditContext
Representation of the EditContext. The edit context provides the context in which webmanager jsps are executed and provides access to lots of information.
| Field Summary | |
|---|---|
static java.lang.String |
EDIT_CONTEXT_KEY
The default location for the edit context in the http request. |
| Method Summary | |
|---|---|
void |
addDelegatedController(java.lang.Object object,
DelegatedController delegatedController)
|
void |
addExtension(java.lang.Object object,
ExtensionProvider extensionProvider)
|
void |
addModelAndView(java.lang.Object object,
org.springframework.web.servlet.ModelAndView mv)
Adds a model and view to the edit context. |
java.lang.Object |
getBaseModel()
Return model at the top of the stack. |
java.lang.Object |
getBaseObject()
Return object at the top of the stack. |
java.util.Collection<DelegatedController> |
getDelegatedControllers(java.lang.Object object)
|
java.util.Collection<ExtensionProvider> |
getExtensions(java.lang.Object object)
|
java.lang.Object |
getFirstObject()
Returns the first component in the the stack. |
org.springframework.web.servlet.ModelAndView |
getModelAndView(java.lang.Object object)
Returns the ModelAndView for the given object. |
Website |
getWebsite()
Retrieve the website from the user session |
void |
pop()
Pop the top object and presentation. |
void |
popModel()
Pop the top model. |
void |
push(java.lang.Object activeObject)
Add an object and a presentation to the stack. |
void |
pushModel(java.util.Map<java.lang.String,java.lang.Object> activeModel)
Add a model and a presentation to the stack. |
| Field Detail |
|---|
static final java.lang.String EDIT_CONTEXT_KEY
| Method Detail |
|---|
void push(java.lang.Object activeObject)
activeObject - void pushModel(java.util.Map<java.lang.String,java.lang.Object> activeModel)
activeModel - void pop()
void popModel()
java.lang.Object getBaseObject()
java.lang.Object getBaseModel()
java.lang.Object getFirstObject()
void addModelAndView(java.lang.Object object,
org.springframework.web.servlet.ModelAndView mv)
object - Object (form backing object or business object) for which the View should be setmv - The ModelAndView to add to the EditContextorg.springframework.web.servlet.ModelAndView getModelAndView(java.lang.Object object)
object - Object (form backing object or business object) for which the View should be retrieved
Website getWebsite()
java.util.Collection<ExtensionProvider> getExtensions(java.lang.Object object)
void addExtension(java.lang.Object object,
ExtensionProvider extensionProvider)
java.util.Collection<DelegatedController> getDelegatedControllers(java.lang.Object object)
void addDelegatedController(java.lang.Object object,
DelegatedController delegatedController)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||