Uses of Interface
org.mentawai.core.Context

Packages that use Context
org.mentawai.action   
org.mentawai.authorization   
org.mentawai.core   
org.mentawai.jruby   
org.mentawai.util   
 

Uses of Context in org.mentawai.action
 

Methods in org.mentawai.action with parameters of type Context
static Object BaseLoginAction.getSessionObj(Context session)
           
static List<Object> BaseLoginAction.getUserGroups(Context session)
          Return the user authorization groups.
static Locale BaseLoginAction.getUserLocale(Context session)
          Return the user locale.
static Object BaseLoginAction.getUserSession(Context session)
          Return the user session object.
static boolean BaseLoginAction.isLogged(Context session)
          Check if the user is logged.
static void BaseLoginAction.replaceSessionObj(Object value, Context session)
           
static void BaseLoginAction.replaceUserSession(Object newUser, Context session)
          Replace the user object from the session for this new one WITHOUT reseting the session.
static void BaseLoginAction.setSessionLocale(Locale loc, Context session)
           
static void BaseLoginAction.setSessionObj(Object value, Context session)
           
static void BaseLoginAction.setUserGroup(Group group, Context session)
           
static void BaseLoginAction.setUserGroup(int groupId, Context session)
           
static void BaseLoginAction.setUserGroup(String group, Context session)
           
static void BaseLoginAction.setUserGroups(Context session, Group... groups)
           
static void BaseLoginAction.setUserGroups(Context session, String... groups)
           
static void BaseLoginAction.setUserGroups(List groups, Context session)
          Place the user authorization groups in the session.
static void BaseLoginAction.setUserGroups(String groups, Context session)
          Deprecated.  
static void BaseLoginAction.setUserLocale(Locale loc, Context session)
          Place the user locale in the session.
static void BaseLoginAction.setUserLocale(String loc, Context session)
           
static void BaseLoginAction.setUserSession(Object value, Context session)
          Place an user object in the session.
 

Uses of Context in org.mentawai.authorization
 

Methods in org.mentawai.authorization with parameters of type Context
static void AuthorizationManager.setUserGroup(Group g, Context session)
           
static void AuthorizationManager.setUserGroup(int groupId, Context session)
           
static void AuthorizationManager.setUserGroup(String group, Context session)
           
static void AuthorizationManager.setUserGroups(List groups, Context session)
           
static void AuthorizationManager.setUserGroups(String groups, Context session)
          Deprecated.  
 

Uses of Context in org.mentawai.core
 

Classes in org.mentawai.core that implement Context
 class ApplicationContext
          Encapsulates a ServletContext as a context for Mentawai actions.
 class CookieContext
          A cookie management abstraction into a Mentawai context.
 class MapContext
          A simple Context that can be used for testing.
 class SessionContext
          Encapsulates a HttpSession as a context for Mentawai actions.
 

Fields in org.mentawai.core declared as Context
protected  Context BaseAction.application
           
protected  Context BaseAction.cookies
           
protected  Context BaseAction.session
           
 

Methods in org.mentawai.core that return Context
 Context BaseAction.application()
           
 Context BaseAction.cookies()
           
 Context SingleInstanceBaseAction.getApplication()
           
 Context PojoAction.getApplication()
           
 Context BaseAction.getApplication()
           
static Context ApplicationManager.getApplication()
           
 Context Action.getApplication()
          Gets this action application context.
 Context PojoAction.getCookies()
           
 Context BaseAction.getCookies()
           
 Context Action.getCookies()
          Gets the cookie context for this action.
 Context SingleInstanceBaseAction.getSession()
           
 Context PojoAction.getSession()
           
 Context BaseAction.getSession()
           
 Context Action.getSession()
          Gets this action session context.
 Context BaseAction.session()
           
 

Methods in org.mentawai.core with parameters of type Context
 void ApplicationManager.destroy(Context application)
          Called by the controller when the application is exiting.
 void MultiApplicationManager.init(Context application)
           
 void DefaultApplicationManager.init(Context application)
           
 void BshApplicationManager.init(Context application)
          Here we are just calling setScriptName(DEFAULT_SCRIPT_NAME) and runScript(application).
 void ApplicationManager.init(Context application)
          Override this method to do any initialization for your web application.
 void DefaultApplicationManager.init(Context application, Props props)
           
 void MultiApplicationManager.onStarted(Context context)
           
 void ApplicationManager.onStarted(Context context)
           
 void ScriptApplicationManager.runScript(Context application)
          Call this method to execute the configuration script.
abstract  void ScriptApplicationManager.runScript(String scriptFile, Context application)
          Subclasses should override this method to implement the details of how to execute the script from Java.
 void BshApplicationManager.runScript(String scriptFile, Context application)
           
 void SingleInstanceBaseAction.setApplication(Context application)
           
 void PojoAction.setApplication(Context context)
           
 void BaseAction.setApplication(Context context)
           
 void Action.setApplication(Context context)
          Sets the application context for this action.
 void PojoAction.setCookies(Context context)
           
 void BaseAction.setCookies(Context context)
           
 void Action.setCookies(Context context)
          Sets the cookie context for this action.
 void SingleInstanceBaseAction.setSession(Context session)
           
 void PojoAction.setSession(Context context)
           
 void BaseAction.setSession(Context context)
           
 void Action.setSession(Context context)
          Sets the session context for this action.
 

Uses of Context in org.mentawai.jruby
 

Methods in org.mentawai.jruby that return Context
 Context RubyAction.getApplication()
           
 Context RubyAction.getCookies()
           
 Context RubyAction.getSession()
           
 

Methods in org.mentawai.jruby with parameters of type Context
 void RubyAction.setApplication(Context context)
           
 void RubyAction.setCookies(Context context)
           
 void RubyAction.setSession(Context context)
           
 

Uses of Context in org.mentawai.util
 

Methods in org.mentawai.util that return Context
 Context MockAction.getApplication()
           
 Context MockAction.getCookies()
           
 Context MockAction.getSession()
           
 

Methods in org.mentawai.util with parameters of type Context
 void MockAction.setApplication(Context application)
           
 void MockAction.setCookies(Context context)
           
 void MockAction.setSession(Context session)
           
 



Copyright © 2012. All Rights Reserved.