|
||||||||||
| 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(java.lang.Object obj)
|
java.util.Collection |
getAllActions()
INTERNAL: Returns all the ActionData objects created for this request, whether triggered or not. |
java.util.Collection |
getParameterNames()
INTERNAL: Gets all parameter names stored in this map. |
java.util.Map |
getParameters()
INTERNAL: Gets all the parameter key value pairs. |
java.lang.String |
getParameterSingleValue(java.lang.String paramName)
INTERNAL: Checks that for the given parameter name exactly one value is available and returns this. |
java.lang.String[] |
getParameterValues(java.lang.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()
|
java.lang.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 java.util.Map getParameters()
ActionContextIF
getParameters in interface ActionContextIFpublic java.lang.String[] getParameterValues(java.lang.String paramName)
ActionContextIF
getParameterValues in interface ActionContextIFpublic java.lang.String getParameterSingleValue(java.lang.String paramName)
ActionContextIF
getParameterSingleValue in interface ActionContextIFpublic java.util.Collection getParameterNames()
ActionContextIF
getParameterNames in interface ActionContextIFpublic java.util.Collection getAllActions()
ActionContextIF
getAllActions in interface ActionContextIFpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||