net.sourceforge.pebble.web.action
Class UploadFileToBlogAction

java.lang.Object
  extended by net.sourceforge.pebble.web.action.Action
      extended by net.sourceforge.pebble.web.action.SecureAction
          extended by net.sourceforge.pebble.web.action.AbstractFileAction
              extended by net.sourceforge.pebble.web.action.UploadFileAction
                  extended by net.sourceforge.pebble.web.action.UploadFileToBlogAction

public class UploadFileToBlogAction
extends UploadFileAction

Allows the user to upload a file to their blog.

Author:
Simon Brown

Constructor Summary
UploadFileToBlogAction()
           
 
Method Summary
 java.lang.String[] getRoles(HttpServletRequest request)
          Gets a list of all roles that are allowed to access this action.
protected  java.lang.String getType()
          Gets the type of this upload (blog image, blog file or theme file).
 
Methods inherited from class net.sourceforge.pebble.web.action.UploadFileAction
process
 
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

UploadFileToBlogAction

public UploadFileToBlogAction()
Method Detail

getType

protected java.lang.String getType()
Gets the type of this upload (blog image, blog file or theme file).

Specified by:
getType in class UploadFileAction
Returns:
a String representing the type
See Also:
FileMetaData

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 UploadFileAction
Parameters:
request - the HttpServletRequest for this invocation
Returns:
an array of Strings representing role names


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