Class ImageStorer
- java.lang.Object
-
- com.atlassian.confluence.pages.actions.beans.FileStorer
-
- com.atlassian.confluence.pages.actions.beans.ImageStorer
-
public class ImageStorer extends FileStorer
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.pages.actions.beans.FileStorer
action, content, fileName, fileParameterNames, inited
-
-
Constructor Summary
Constructors Constructor Description ImageStorer(com.opensymphony.xwork2.ActionSupport action, ContentEntityObject content, ThumbnailManager thumbnailManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processMultipartRequest(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequest)
Checks the request to see that the MultiPartRequest provided contains a valid image.-
Methods inherited from class com.atlassian.confluence.pages.actions.beans.FileStorer
getFileName
-
-
-
-
Constructor Detail
-
ImageStorer
public ImageStorer(com.opensymphony.xwork2.ActionSupport action, ContentEntityObject content, ThumbnailManager thumbnailManager)
-
-
Method Detail
-
processMultipartRequest
public void processMultipartRequest(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequest)
Checks the request to see that the MultiPartRequest provided contains a valid image. It will also set the fileName which it extracts from the provived request. Note that this method will set errors on the provided Action directly.- Overrides:
processMultipartRequest
in classFileStorer
- Parameters:
multiPartRequest
- to process
-
-