Fish & Chips Club 4.10.0.0

hirondelle.fish.access.password
Class ResetPasswordAction

Object
  extended by ActionImpl
      extended by ActionTemplateShowAndApply
          extended by hirondelle.fish.access.password.ResetPasswordAction
All Implemented Interfaces:
Action

public final class ResetPasswordAction
extends ActionTemplateShowAndApply

Reset the user's password.

The password is reset to a conventional value. See User.forNewUserOrPasswordReset(hirondelle.web4j.security.SafeText) for more information.

View : SQL Statements :

Field Summary
static SqlId RESET_PASSWORD
           
static RequestParameter USER_NAME
           
 
Fields inherited from class ActionTemplateShowAndApply
SUPPORTED_OPERATION
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
ResetPasswordAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void apply()
          Apply the edit to the database.
protected  void show()
          List all user names.
protected  void validateUserInput()
          Create a new version of User with a reset password.
 
Methods inherited from class ActionTemplateShowAndApply
execute
 
Methods inherited from class ActionImpl
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESET_PASSWORD

public static final SqlId RESET_PASSWORD

USER_NAME

public static final RequestParameter USER_NAME
Constructor Detail

ResetPasswordAction

public ResetPasswordAction(RequestParser aRequestParser)
Constructor.

Method Detail

show

protected void show()
             throws DAOException
List all user names.

Specified by:
show in class ActionTemplateShowAndApply
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Create a new version of User with a reset password. See User.forNewUserOrPasswordReset(SafeText).

Specified by:
validateUserInput in class ActionTemplateShowAndApply

apply

protected void apply()
              throws DAOException
Apply the edit to the database.

Specified by:
apply in class ActionTemplateShowAndApply
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26