public class UserAction extends AbstractModuleAction
Constructor and Description |
---|
UserAction() |
Modifier and Type | Method and Description |
---|---|
String |
getActionGroupName()
the group name of the action
|
static void |
main(String[] args) |
static String |
performAjaxUserList(RequestService rs,
javax.servlet.http.HttpSession session,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performAskChangePassword(RequestService rs,
ContentContext ctx,
EditContext editContext,
GlobalContext globalContext,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performChangeMode(ContentContext ctx,
RequestService requestService) |
static String |
performChangePassword(RequestService rs,
ContentContext ctx,
EditContext editContext,
GlobalContext globalContext,
javax.servlet.http.HttpSession session,
StaticConfig staticConfig,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performChangePassword2Check(RequestService rs,
GlobalContext globalContext,
javax.servlet.http.HttpSession session,
ContentContext ctx,
StaticConfig staticConfig,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performChangePasswordWithToken(RequestService rs,
ContentContext ctx,
EditContext editContext,
GlobalContext globalContext,
javax.servlet.http.HttpSession session,
StaticConfig staticConfig,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performCreateUser(ContentContext ctx,
StaticConfig staticConfig,
RequestService requestService,
I18nAccess i18nAccess,
MessageRepository messageRepository) |
static String |
performDeleteFile(RequestService rs,
User user,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performDeleteUser(ContentContext ctx,
RequestService requestService,
I18nAccess i18nAccess,
MessageRepository messageRepository) |
String |
performEdit(Module currentModule) |
static String |
performSelectRole(javax.servlet.http.HttpServletRequest request,
ContentContext ctx,
GlobalContext globalContext,
javax.servlet.http.HttpSession session,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performToken(javax.servlet.http.HttpServletRequest request,
ContentContext ctx,
GlobalContext globalContext,
javax.servlet.http.HttpSession session) |
String |
performUpdate(ContentContext ctx,
GlobalContext globalContext,
RequestService requestService,
StaticConfig staticConfig,
AdminUserSecurity adminUserSecurity,
AdminUserFactory adminUserFactory,
javax.servlet.http.HttpSession session,
Module currentModule,
I18nAccess i18nAccess,
MessageRepository messageRepository) |
String |
performUpdateCurrent(ContentContext ctx,
GlobalContext globalContext,
EditContext editContext,
RequestService requestService,
StaticConfig staticConfig,
AdminUserSecurity adminUserSecurity,
AdminUserFactory adminUserFactory,
javax.servlet.http.HttpSession session,
Module currentModule,
I18nAccess i18nAccess,
MessageRepository messageRepository) |
static String |
performUpload(RequestService rs,
javax.servlet.http.HttpSession session,
User user,
ContentContext ctx,
GlobalContext globalContext,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
prepare(ContentContext ctx,
ModulesContext moduleContext)
method called before module rendering
|
getModuleContext, haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
public String getActionGroupName()
IAction
public String prepare(ContentContext ctx, ModulesContext moduleContext) throws Exception
IModuleAction
prepare
in interface IModuleAction
prepare
in class AbstractModuleAction
ctx
- the current context.moduleContext
- the context of the module. You can call getCurrentModule for recover the module.Exception
public String performChangeMode(ContentContext ctx, RequestService requestService)
public String performEdit(Module currentModule) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public String performUpdateCurrent(ContentContext ctx, GlobalContext globalContext, EditContext editContext, RequestService requestService, StaticConfig staticConfig, AdminUserSecurity adminUserSecurity, AdminUserFactory adminUserFactory, javax.servlet.http.HttpSession session, Module currentModule, I18nAccess i18nAccess, MessageRepository messageRepository)
public String performUpdate(ContentContext ctx, GlobalContext globalContext, RequestService requestService, StaticConfig staticConfig, AdminUserSecurity adminUserSecurity, AdminUserFactory adminUserFactory, javax.servlet.http.HttpSession session, Module currentModule, I18nAccess i18nAccess, MessageRepository messageRepository)
public String performCreateUser(ContentContext ctx, StaticConfig staticConfig, RequestService requestService, I18nAccess i18nAccess, MessageRepository messageRepository)
public String performDeleteUser(ContentContext ctx, RequestService requestService, I18nAccess i18nAccess, MessageRepository messageRepository) throws UserAllreadyExistException
UserAllreadyExistException
public static String performAskChangePassword(RequestService rs, ContentContext ctx, EditContext editContext, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performChangePasswordWithToken(RequestService rs, ContentContext ctx, EditContext editContext, GlobalContext globalContext, javax.servlet.http.HttpSession session, StaticConfig staticConfig, MessageRepository messageRepository, I18nAccess i18nAccess)
public static String performChangePassword(RequestService rs, ContentContext ctx, EditContext editContext, GlobalContext globalContext, javax.servlet.http.HttpSession session, StaticConfig staticConfig, MessageRepository messageRepository, I18nAccess i18nAccess)
public static String performChangePassword2Check(RequestService rs, GlobalContext globalContext, javax.servlet.http.HttpSession session, ContentContext ctx, StaticConfig staticConfig, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOException
public static String performToken(javax.servlet.http.HttpServletRequest request, ContentContext ctx, GlobalContext globalContext, javax.servlet.http.HttpSession session)
public static String performUpload(RequestService rs, javax.servlet.http.HttpSession session, User user, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOException
public static String performSelectRole(javax.servlet.http.HttpServletRequest request, ContentContext ctx, GlobalContext globalContext, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOException
public static String performAjaxUserList(RequestService rs, javax.servlet.http.HttpSession session, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
public static String performDeleteFile(RequestService rs, User user, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.