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()
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
storeResources
public void storeResources(java.util.Collection<AttachmentResource> attachmentResources,
ContentEntityObject content)
- Description copied from interface:
FileUploadManager
- Stores the attachmentResource as an
Attachment
on the specified content object.
- Specified by:
storeResources
in interface FileUploadManager
- Parameters:
attachmentResources
- contains a collection of AttachmentResrouce objects, each containing the required state to create an individual attachmentcontent
- the content object which the attachment will be attached to
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
- Specified by:
setAttachmentManager
in interface FileUploadManager
setMimeTypeTranslator
public void setMimeTypeTranslator(AttachmentMimeTypeTranslator mimeTypeTranslator)
Copyright © 2003-2013 Atlassian. All Rights Reserved.