|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.webed.impl.basic.ActionContext
public class ActionContext
INTERNAL: Implementation of the ActionContextIF interface. This
class serves mainly as a wrapper class for
javax.servlet.ServletRequest to store to maps (one for
parameter value pairs and one for attribute value pairs).
| Field Summary | |
|---|---|
protected Parameters |
params
|
protected UserIF |
user
|
| Constructor Summary | |
|---|---|
ActionContext(UserIF user,
Parameters params)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Collection |
getAllActions()
INTERNAL: Returns all the ActionData objects created for this request, whether triggered or not. |
Collection |
getParameterNames()
INTERNAL: Gets all parameter names stored in this map. |
Map |
getParameters()
INTERNAL: Gets all the parameter key value pairs. |
String |
getParameterSingleValue(String paramName)
INTERNAL: Checks that for the given parameter name exactly one value is available and returns this. |
String[] |
getParameterValues(String paramName)
INTERNAL: Gets the parameter values (as a String array) belonging to the given parameter name. |
UserIF |
getUser()
INTERNAL: Gets the user object who executed the requests and in which authority the consequenctly executed actions run. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Parameters params
protected UserIF user
| Constructor Detail |
|---|
public ActionContext(UserIF user,
Parameters params)
| Method Detail |
|---|
public UserIF getUser()
ActionContextIF
getUser in interface ActionContextIFpublic Map getParameters()
ActionContextIF
getParameters in interface ActionContextIFpublic String[] getParameterValues(String paramName)
ActionContextIF
getParameterValues in interface ActionContextIFpublic String getParameterSingleValue(String paramName)
ActionContextIF
getParameterSingleValue in interface ActionContextIFpublic Collection getParameterNames()
ActionContextIF
getParameterNames in interface ActionContextIFpublic Collection getAllActions()
ActionContextIF
getAllActions in interface ActionContextIFpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||