com.atlassian.confluence.pages
Class DefaultFileUploadManager

java.lang.Object
  extended by com.atlassian.confluence.pages.DefaultFileUploadManager
All Implemented Interfaces:
FileUploadManager

public class DefaultFileUploadManager
extends java.lang.Object
implements FileUploadManager


Constructor Summary
DefaultFileUploadManager()
           
 
Method Summary
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 void storeFile(com.atlassian.xwork.FileUploadUtils.UploadedFile uploadedFile, java.lang.String comment, ContentEntityObject ceo)
           
 void storeResource(UploadedResource resource, java.lang.String comment, ContentEntityObject ceo)
           
 java.util.Collection verifyFile(java.lang.String fileName, com.atlassian.xwork.FileUploadUtils.UploadedFile[] uploadedFiles)
          Checks filename for illegal characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileUploadManager

public DefaultFileUploadManager()
Method Detail

verifyFile

public java.util.Collection verifyFile(java.lang.String fileName,
                                       com.atlassian.xwork.FileUploadUtils.UploadedFile[] uploadedFiles)
Description copied from interface: FileUploadManager
Checks filename for illegal characters. Checks whether file exists

Specified by:
verifyFile in interface FileUploadManager
Returns:
filename or file not found errors

storeResource

public void storeResource(UploadedResource resource,
                          java.lang.String comment,
                          ContentEntityObject ceo)
Specified by:
storeResource in interface FileUploadManager

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


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.