|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.pages.actions.AbstractPageAction
com.atlassian.confluence.pages.actions.AbstractPageChangeAction
com.atlassian.confluence.pages.actions.AbstractFileAttachmentAction
com.atlassian.confluence.pages.actions.AbstractEditAttachedFileAction
com.atlassian.confluence.pages.actions.MoveAttachmentAction
Field Summary |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractEditAttachedFileAction |
attachment, fileName, version |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractFileAttachmentAction |
attachmentManager |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageChangeAction |
suggestedContentToBeRefactored |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
captchaManager, contentPermissionManager, expertView, incomingLinks, isXHtml, linkManager, MARKUP, pageManager, postingDay, PREVIEW, RICHTEXT, spaceManager, wysiwygConverter |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
MoveAttachmentAction()
|
Method Summary | |
String |
execute()
|
List |
getAvailableSpaces()
Overwrites the superclass function in order to list all spaces including the current. |
String |
getNewComment()
|
String |
getNewContentType()
|
String |
getNewFileName()
|
String |
getNewParentPage()
|
boolean |
isToBlogPost()
|
boolean |
isUpdateLinks()
|
void |
setNewComment(String newComment)
|
void |
setNewContentType(String contentType)
|
void |
setNewFileName(String fileName)
|
void |
setNewParentPage(String newParentPage)
|
void |
setToBlogPost(String newTitle)
evaluates whether the new parent is a page or a blog post based on the new page title. |
void |
setUpdateLinks(boolean updateLinks)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractEditAttachedFileAction |
getAttachment, getFileName, getVersion, setFileName, setVersion |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractFileAttachmentAction |
setAttachmentManager |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageChangeAction |
getNewPageTitle, getNewSpace, getNewSpaceKey, getSuggestedContentToBeRefactored, isPermitted, pageAlreadyExists, setNewPageTitle, setNewSpaceKey |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MoveAttachmentAction()
Method Detail |
public void validate()
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class AbstractPageChangeAction
Exception
public List getAvailableSpaces()
getAvailableSpaces
in class AbstractPageAction
public String getNewFileName()
public void setNewFileName(String fileName)
public String getNewParentPage()
public void setNewParentPage(String newParentPage)
public boolean isUpdateLinks()
public void setUpdateLinks(boolean updateLinks)
public boolean isToBlogPost()
public void setToBlogPost(String newTitle)
newTitle
- public String getNewComment()
public void setNewComment(String newComment)
public String getNewContentType()
public void setNewContentType(String contentType)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |