Fish & Chips Club 4.10.0.0

hirondelle.fish.webmaster.diagnostics
Class ClearTroubleTicket

Object
  extended by ActionImpl
      extended by hirondelle.fish.webmaster.diagnostics.ClearTroubleTicket
All Implemented Interfaces:
Action

public final class ClearTroubleTicket
extends ActionImpl

Remove the TroubleTicket held in application scope.

When a TroubleTicket occurs, it is placed in application scope. There, it may be later retrieved and examined. Once it has been investigated and resolved, it should be removed from application scope, using this Action.

Only one TroubleTicket at a time is stored in application scope. If a new one occurs, it overwrites any existing TroubleTicket, if any.


Field Summary
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
ClearTroubleTicket(RequestParser aRequestParser)
          Constructor.
 
Method Summary
 ResponsePage execute()
          Remove the TroubleTicket from application scope, and re-display the diagnostics page using ShowDiagnostics.
 
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
 

Constructor Detail

ClearTroubleTicket

public ClearTroubleTicket(RequestParser aRequestParser)
Constructor.

Method Detail

execute

public ResponsePage execute()
Remove the TroubleTicket from application scope, and re-display the diagnostics page using ShowDiagnostics. Uses Controller.MOST_RECENT_TROUBLE_TICKET as key.

Specified by:
execute in interface Action
Specified by:
execute in class ActionImpl

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26