Class MoveAttachmentAction

    • Constructor Detail

      • MoveAttachmentAction

        public MoveAttachmentAction()
    • Method Detail

      • setAttachmentManager

        public void setAttachmentManager​(AttachmentManager attachmentManager)
      • setPageManager

        public void setPageManager​(PageManager pageManager)
      • setLinkManager

        public void setLinkManager​(LinkManager linkManager)
      • setNewPageTitle

        public void setNewPageTitle​(String newPageTitle)
      • setNewComment

        public void setNewComment​(String newComment)
      • setNewContentType

        public void setNewContentType​(String contentType)
      • setNewParentPage

        public void setNewParentPage​(String newParentPage)
      • setNewFileName

        public void setNewFileName​(String fileName)
      • 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
      • getAvailableSpaces

        public List getAvailableSpaces()
        Overwrites the superclass function in order to list all spaces including the current.
        Returns:
        List of available spaces
      • setIsFromPageView

        public void setIsFromPageView​(boolean isFromPageView)
      • getIsFromPageView

        public boolean getIsFromPageView()
      • getRedirectPage

        public String getRedirectPage()
      • getNewFileName

        public String getNewFileName()
      • getNewParentPage

        public String getNewParentPage()
      • getNewComment

        public String getNewComment()
      • getAttachment

        public Attachment getAttachment()
      • getNewContentType

        public String getNewContentType()
      • setFileName

        public void setFileName​(String fileName)
      • setVersion

        public void setVersion​(int version)
      • setBreadcrumbGenerator

        public void setBreadcrumbGenerator​(BreadcrumbGenerator breadcrumbGenerator)