hirondelle.predict.main.deleteaccount
Class DeleteAccountAction
Object
ActionImpl
ActionTemplateShowAndApply
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 :
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 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 |
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
DeleteAccountAction
public DeleteAccountAction(RequestParser aRequestParser)
- Constructor.
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
Copyright Hirondelle Systems - Generated 2013Oct19.12.27