|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.jruby.RubyAction
public class RubyAction
| Field Summary |
|---|
| Fields inherited from interface org.mentawai.core.Action |
|---|
ACCESSDENIED, ADD, AJAX, ALREADY, BACK, BLOCKED, CREATED, EDIT, ERROR, EXCEPTION, HTML, INDEX, JSON, JSP, LIST, LOGIN, MAIN, NEXT, NOT_FOUND, NULL, REMOVED, SHOW, STREAM, SUCCESS, TEST, UPDATED, XML |
| Constructor Summary | |
|---|---|
RubyAction(long rubyActionId,
Object rubyObject,
String actionName)
|
|
| Method Summary | |
|---|---|
String |
execute()
|
protected void |
finalize()
|
static Action |
getAction()
|
String |
getActionName()
|
Context |
getApplication()
Gets this action application context. |
Context |
getCookies()
Gets the cookie context for this action. |
Input |
getInput()
Gets the action input. |
Locale |
getLocale()
Gets the use locale for this action. |
Output |
getOutput()
Gets the action output. |
long |
getRubyActionId()
|
Object |
getRubyObject()
|
Context |
getSession()
Gets this action session context. |
void |
setApplication(Context context)
Sets the application context for this action. |
void |
setCookies(Context context)
Sets the cookie context for this action. |
void |
setInput(Input input)
Sets the input for this action. |
void |
setLocale(Locale loc)
Sets the user locale for this action. |
void |
setOutput(Output output)
Sets the output for this action. |
void |
setSession(Context context)
Sets the session context for this action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RubyAction(long rubyActionId,
Object rubyObject,
String actionName)
| Method Detail |
|---|
public Object getRubyObject()
public long getRubyActionId()
public static Action getAction()
public String getActionName()
public String execute()
throws Exception
Exceptionpublic void setInput(Input input)
Action
setInput in interface Actioninput - the input to be setpublic void setOutput(Output output)
Action
setOutput in interface Actionoutput - the output to be setpublic void setSession(Context context)
Action
setSession in interface Actioncontext - The context to be setpublic void setApplication(Context context)
Action
setApplication in interface Actioncontext - The context to be setpublic void setCookies(Context context)
Action
setCookies in interface Actioncontext - The cookie context to be setpublic void setLocale(Locale loc)
Action
setLocale in interface Actionloc - The user locale to set.public Input getInput()
Action
getInput in interface Actionpublic Output getOutput()
Action
getOutput in interface Actionpublic Context getSession()
Action
getSession in interface Actionpublic Context getApplication()
Action
getApplication in interface Actionpublic Context getCookies()
Action
getCookies in interface Actionpublic Locale getLocale()
Action
getLocale in interface Actionprotected void finalize()
finalize in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||