public class

MoveAttachmentAction

extends AbstractPageAwareAction
implements BootstrapAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.pages.actions.AbstractPageAwareAction
         ↳ com.atlassian.confluence.pages.actions.MoveAttachmentAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected Collection<ContentEntityObject> suggestedContentToBeRefactored
[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
MoveAttachmentAction()
Public Methods
void bootstrap()
String execute()
Attachment getAttachment()
AttachmentBean getAttachmentBean()
List getAvailableSpaces()
Overwrites the superclass function in order to list all spaces including the current.
AttachmentBean getNewAttachmentBean()
String getNewComment()
String getNewContentType()
String getNewFileName()
String getNewParentPage()
Collection<ContentEntityObject> getSuggestedContentToBeRefactored()
boolean isPermitted()
void setAttachmentManager(AttachmentManager attachmentManager)
void setFileName(String fileName)
void setLinkManager(LinkManager linkManager)
void setNewComment(String newComment)
void setNewContentType(String contentType)
void setNewFileName(String fileName)
void setNewPageTitle(String newPageTitle)
void setNewParentPage(String newParentPage)
void setPageManager(PageManager pageManager)
void setVersion(int version)
void validate()
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.pages.actions.PageAware
From interface com.atlassian.confluence.pages.actions.beans.BootstrapAware
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Fields

protected Collection<ContentEntityObject> suggestedContentToBeRefactored

Public Constructors

public MoveAttachmentAction ()

Public Methods

public void bootstrap ()

public String execute ()

Throws
Exception

public Attachment getAttachment ()

public AttachmentBean getAttachmentBean ()

public List getAvailableSpaces ()

Overwrites the superclass function in order to list all spaces including the current.

Returns
  • List of available spaces

public AttachmentBean getNewAttachmentBean ()

public String getNewComment ()

public String getNewContentType ()

public String getNewFileName ()

public String getNewParentPage ()

public Collection<ContentEntityObject> getSuggestedContentToBeRefactored ()

public boolean isPermitted ()

public void setAttachmentManager (AttachmentManager attachmentManager)

public void setFileName (String fileName)

public void setLinkManager (LinkManager linkManager)

public void setNewComment (String newComment)

public void setNewContentType (String contentType)

public void setNewFileName (String fileName)

public void setNewPageTitle (String newPageTitle)

public void setNewParentPage (String newParentPage)

public void setPageManager (PageManager pageManager)

public void setVersion (int version)

public void validate ()