public class UserModuleContext extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_USERS_LIST |
static String |
VIEW_MY_SELF |
static String |
VIEW_USERS_LIST |
Constructor and Description |
---|
UserModuleContext() |
Modifier and Type | Method and 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) |
public static final String VIEW_MY_SELF
public static final String VIEW_USERS_LIST
public static final String ADMIN_USERS_LIST
public static UserModuleContext getInstance(javax.servlet.http.HttpServletRequest request)
public IUserFactory getUserFactory(ContentContext ctx)
public Collection<String> getAllModes()
public String getMode()
public void setMode(String mode)
public String getCurrentRole()
public void setCurrentRole(String currentRole)
Copyright © 2012-2018. All Rights Reserved.