Class AttachFileHelper

java.lang.Object
com.atlassian.confluence.util.AttachFileHelper

@Deprecated(forRemoval=true) public class AttachFileHelper extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.4, use AttachmentUploadHelper instead.
  • Constructor Details

    • AttachFileHelper

      public AttachFileHelper(com.atlassian.struts.multipart.AtlassianMultiPartRequest multipartRequestWrapper, int maxAttachments)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      9.1
    • AttachFileHelper

      @Deprecated public AttachFileHelper(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multipartRequestWrapper, int maxAttachments)
      Deprecated.
  • Method Details

    • getUploadedFilesList

      public List<com.atlassian.struts.multipart.UploadedFile> getUploadedFilesList()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      9.1
    • getUploadedFiles

      @Deprecated public List<com.atlassian.xwork.FileUploadUtils.UploadedFile> getUploadedFiles()
      Deprecated.
      since 9.1, use getUploadedFilesList() instead.
    • validateAttachments

      public void validateAttachments()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCommentForFilename

      public String getCommentForFilename(String filename)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getErrors

      public Collection<String> getErrors()
      Deprecated, for removal: This API element is subject to removal in a future version.