com.atlassian.confluence.pages
Class DefaultFileUploadManager
java.lang.Object
com.atlassian.confluence.pages.DefaultFileUploadManager
- All Implemented Interfaces:
- FileUploadManager
public class DefaultFileUploadManager
- extends java.lang.Object
- implements FileUploadManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCTET_STREAM_MIME_TYPE
public static final java.lang.String OCTET_STREAM_MIME_TYPE
- See Also:
- Constant Field Values
DefaultFileUploadManager
public DefaultFileUploadManager()
verifyFile
public java.util.Collection verifyFile(java.lang.String fileName,
com.atlassian.xwork.FileUploadUtils.UploadedFile[] uploadedFiles)
- Deprecated. since 3.1 because it isn't used anywhere
- Specified by:
verifyFile
in interface FileUploadManager
storeResource
public void storeResource(AttachmentResource resource,
ContentEntityObject ceo)
- Description copied from interface:
FileUploadManager
- Stores the attachmentResource as an
Attachment
on the specified content object.
- Specified by:
storeResource
in interface FileUploadManager
- Parameters:
resource
- contains the required state to create an attachmentceo
- the content object which the attachment will be attached to
storeResource
public void storeResource(AttachmentResource resource,
java.lang.String comment,
ContentEntityObject ceo)
- Description copied from interface:
FileUploadManager
- Stores the attachmentResource as an
Attachment
on the specified content object.
- Specified by:
storeResource
in interface FileUploadManager
- Parameters:
resource
- contains the required state to create an attachmentcomment
- attachment commentceo
- the content object which the attachment will be attached to
storeFile
public void storeFile(com.atlassian.xwork.FileUploadUtils.UploadedFile uploadedFile,
java.lang.String comment,
ContentEntityObject ceo)
- Specified by:
storeFile
in interface FileUploadManager
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
- Specified by:
setAttachmentManager
in interface FileUploadManager
setMimeTypeTranslator
public void setMimeTypeTranslator(AttachmentMimeTypeTranslator mimeTypeTranslator)
Copyright © 2003-2010 Atlassian. All Rights Reserved.