Class UploadAction

  • All Implemented Interfaces:
    Beanable, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.interceptor.ServletRequestAware

    public class UploadAction
    extends ConfluenceActionSupport
    implements Beanable, org.apache.struts2.interceptor.ServletRequestAware
    See Also:
    Serialized Form
    • Constructor Detail

      • UploadAction

        public UploadAction()
    • Method Detail

      • validate

        public void validate()
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • setMimeType

        public void setMimeType​(String mimeType)
      • setContentType

        public void setContentType​(String contentType)
      • setFilename

        public void setFilename​(String filename)
      • setSize

        public void setSize​(long size)
      • setMinorEdit

        public void setMinorEdit​(boolean minorEdit)
      • setWithEditorPlaceholder

        public void setWithEditorPlaceholder​(boolean withEditorPlaceholder)
      • setServletRequest

        public void setServletRequest​(javax.servlet.http.HttpServletRequest httpServletRequest)
        Specified by:
        setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAware
      • setFileUploadManager

        public void setFileUploadManager​(FileUploadManager fileUploadManager)
      • setAttachmentManager

        public void setAttachmentManager​(AttachmentManager attachmentManager)
      • setPageId

        public void setPageId​(long pageId)
      • setDraftId

        public void setDraftId​(long draftId)
      • setDragAndDropService

        public void setDragAndDropService​(DragAndDropService dragAndDropService)
      • setDraftService

        public void setDraftService​(DraftService draftService)
      • setDragAndDropEntityId

        public void setDragAndDropEntityId​(long dragAndDropEntityId)
      • setContentEntityManager

        public void setContentEntityManager​(ContentEntityManager contentEntityManager)
      • setIsVFMSupported

        public void setIsVFMSupported​(boolean isVFMSupported)