Package org.javlo.module.user
Class UserModuleContext
- java.lang.Object
-
- org.javlo.module.user.UserModuleContext
-
public class UserModuleContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADMIN_USERS_LIST
static String
VIEW_MY_SELF
static String
VIEW_USERS_LIST
-
Constructor Summary
Constructors Constructor Description UserModuleContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
getAllModes()
String
getCurrentRole()
static UserModuleContext
getInstance(javax.servlet.http.HttpServletRequest request)
String
getMode()
IUserFactory
getUserFactory(ContentContext ctx)
void
setCurrentRole(String currentRole)
void
setMode(String mode)
-
-
-
Field Detail
-
VIEW_MY_SELF
public static final String VIEW_MY_SELF
- See Also:
- Constant Field Values
-
VIEW_USERS_LIST
public static final String VIEW_USERS_LIST
- See Also:
- Constant Field Values
-
ADMIN_USERS_LIST
public static final String ADMIN_USERS_LIST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static UserModuleContext getInstance(javax.servlet.http.HttpServletRequest request)
-
getUserFactory
public IUserFactory getUserFactory(ContentContext ctx)
-
getAllModes
public Collection<String> getAllModes()
-
getMode
public String getMode()
-
setMode
public void setMode(String mode)
-
getCurrentRole
public String getCurrentRole()
-
setCurrentRole
public void setCurrentRole(String currentRole)
-
-