public class

HandleNameConflictsAction

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

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[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
HandleNameConflictsAction()
Public Methods
String doDefault()
when a user attempts to move a page, they are redirected first to this action which checks whether there are any naming conflicts

if no space key is provided this action dispatches back to the move page action to show a validation error otherwise it works out the conflicting pages and display them.
String execute()
EditPageBean getEditPageBean()
List getPagesWithNameConflicts()
String getTextBoxName(AbstractPage page)
void setPageManager(PageManager pageManager)
void setParameters(Map parameters)
[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.plugin.descriptor.web.WebInterface
From interface com.opensymphony.webwork.interceptor.ParameterAware
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

Public Constructors

public HandleNameConflictsAction ()

Public Methods

public String doDefault ()

when a user attempts to move a page, they are redirected first to this action which checks whether there are any naming conflicts

if no space key is provided this action dispatches back to the move page action to show a validation error otherwise it works out the conflicting pages and display them.

if there are no conflicting names, this will send it straight off to either the confirm move hierarchy page (if moving hierarchy) or straight to renaming the page
Returns
  • the action result
Throws
Exception

public String execute ()

Throws
Exception

public EditPageBean getEditPageBean ()

public List getPagesWithNameConflicts ()

public String getTextBoxName (AbstractPage page)

public void setPageManager (PageManager pageManager)

public void setParameters (Map parameters)