|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pages.actions.AttachmentUploadRequest
public class AttachmentUploadRequest
Converts an attachment upload multipart request into a list of AttachmentResource
objects
which is suitable for storing in Confluence via a FileStorer
.
Constructor Summary | |
---|---|
AttachmentUploadRequest(com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper request)
The client should check for errors via MultiPartRequestWrapper.hasErrors() before
constructing this object, and not construct one if there are problems. |
Method Summary | |
---|---|
int |
getResourceCount()
|
java.util.List<AttachmentResource> |
getResources()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentUploadRequest(com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper request) throws java.lang.IllegalStateException
MultiPartRequestWrapper.hasErrors()
before
constructing this object, and not construct one if there are problems.
java.lang.IllegalStateException
- if there are errors in the multipart requestMethod Detail |
---|
public java.util.List<AttachmentResource> getResources()
public int getResourceCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |