Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pebble.web.action
Class ClearMessagesAction

    java.lang.Object
      net.sourceforge.pebble.web.action.Action
          net.sourceforge.pebble.web.action.SecureAction
              net.sourceforge.pebble.web.action.ClearMessagesAction

    public class ClearMessagesAction

extends SecureAction

Allows the user to clear all messages for the current blog.

Author:
  Simon Brown

Constructor Summary
`ClearMessagesAction()`

Method Summary
`java.lang.String[]` | `getRoles(HttpServletRequest request)` Gets a list of all roles that are allowed to access this action.
`View` | `process(HttpServletRequest request, HttpServletResponse response)` Peforms the processing associated with this action.

Methods inherited from class net.sourceforge.pebble.web.action.Action
`getModel, setModel`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClearMessagesAction

    public ClearMessagesAction()

Method Detail

### process

    public View process(HttpServletRequest request,
                        HttpServletResponse response)
                 throws ServletException

  Peforms the processing associated with this action.

  Specified by:
    `process` in class `Action`
  Parameters:
    `request` - the HttpServletRequest instance
    `response` - the HttpServletResponse instance
  Returns:
    the name of the next view
  Throws:
    `ServletException`

### getRoles

    public java.lang.String[] getRoles(HttpServletRequest request)

  Gets a list of all roles that are allowed to access this action.

  Specified by:
    `getRoles` in class `SecureAction`
  Parameters:
    `request` -
  Returns:
    an array of Strings representing role names

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2006, Simon Brown. All Rights Reserved.