com.scooterframework.web.controller
Class ACH

java.lang.Object
  extended by com.scooterframework.web.controller.ACH

public class ACH
extends java.lang.Object

ACH (ActionContextHolder) class holds a current action context object.


Field Summary
static java.lang.String AAC
          AAC is constant for Application Action Context.
static java.lang.String OAC
          OAC is constant for ORM Application Context.
static java.lang.String WAC
          WAC is constant for Web Action Context.
 
Constructor Summary
ACH()
           
 
Method Summary
static AppActionContext getAAC()
          Returns AppActionContext.
static ActionContext getAC()
          A short-hand version of getActionContext()
static ActionContext getAC(java.lang.String type)
          A short-hand version of getActionContext(String)
static ActionContext getActionContext()
           
static ActionContext getActionContext(java.lang.String type)
           
static WebActionContext getWAC()
          Returns WebActionContext.
static void setActionContext(ActionContext ac)
          Stores an action context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AAC

public static final java.lang.String AAC
AAC is constant for Application Action Context.

See Also:
Constant Field Values

OAC

public static final java.lang.String OAC
OAC is constant for ORM Application Context.

See Also:
Constant Field Values

WAC

public static final java.lang.String WAC
WAC is constant for Web Action Context.

See Also:
Constant Field Values
Constructor Detail

ACH

public ACH()
Method Detail

getActionContext

public static ActionContext getActionContext(java.lang.String type)

getActionContext

public static ActionContext getActionContext()

getAC

public static ActionContext getAC(java.lang.String type)
A short-hand version of getActionContext(String)

Parameters:
type -
Returns:
ActionContext

getAC

public static ActionContext getAC()
A short-hand version of getActionContext()

Returns:
ActionContext

getAAC

public static AppActionContext getAAC()
Returns AppActionContext.

Returns:
the AppActionContext instance

getWAC

public static WebActionContext getWAC()
Returns WebActionContext.

Returns:
the WebActionContext instance

setActionContext

public static void setActionContext(ActionContext ac)
Stores an action context.

Parameters:
ac - the action context to store