Predictions 4.10.0.0

hirondelle.predict.main.deleteaccount
Class DeleteAccountAction

Object
  extended by ActionImpl
      extended by ActionTemplateShowAndApply
          extended by hirondelle.predict.main.deleteaccount.DeleteAccountAction
All Implemented Interfaces:
Action

public class DeleteAccountAction
extends ActionTemplateShowAndApply

Delete the user's account, and all related items. Deletes all items related to the current user's account. The data cannot be recovered.

View : SQL Statements :

Field Summary
static SqlId DELETE_LISTS
           
static SqlId DELETE_PREDICTIONS
           
static SqlId DELETE_ROLES
           
static SqlId DELETE_USER
           
 
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
DeleteAccountAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void apply()
          Delete all items related to the account, log off, and redirect to the home page.
protected  void show()
          Show the form used for initiating the delete operation, with no prepopulation.
protected  void validateUserInput()
          Do nothing - there is no user input in this case.
 
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

DELETE_PREDICTIONS

public static final SqlId DELETE_PREDICTIONS

DELETE_LISTS

public static final SqlId DELETE_LISTS

DELETE_ROLES

public static final SqlId DELETE_ROLES

DELETE_USER

public static final SqlId DELETE_USER
Constructor Detail

DeleteAccountAction

public DeleteAccountAction(RequestParser aRequestParser)
Constructor.

Method Detail

show

protected void show()
             throws DAOException
Show the form used for initiating the delete operation, with no prepopulation.

Specified by:
show in class ActionTemplateShowAndApply
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Do nothing - there is no user input in this case.

Specified by:
validateUserInput in class ActionTemplateShowAndApply

apply

protected void apply()
              throws AppException
Delete all items related to the account, log off, and redirect to the home page.

Specified by:
apply in class ActionTemplateShowAndApply
Throws:
AppException

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27