public class

RestoreExistingTrashItemAction

extends AbstractSpaceAction
implements SpaceAdministrative
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.spaces.actions.AbstractSpaceAction
         ↳ com.atlassian.confluence.pages.actions.RestoreExistingTrashItemAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected long contentId
protected long existingContentId
[Expand]
Inherited Fields
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
RestoreExistingTrashItemAction()
Public Methods
String doDefault()
Default webwork action execution method.
String doOverwrite()
String doRenameAndRestore()
String execute()
ContentEntityObject getContentEntityObject()
long getContentId()
ContentEntityObject getExistingContentEntityObject()
long getExistingContentId()
String getNewPageTitle()
String getRestoreAction()
String getType()
boolean isRenamable()
void setContentEntityManager(ContentEntityManager contentEntityManager)
void setContentId(long contentId)
void setExistingContentId(long existingContentId)
void setNewPageTitle(String newPageTitle)
void setPageManager(PageManager pageManager)
void setRestoreAction(String restoreAction)
void validate()
Protected Methods
boolean hasInvalidTitleCharacters(String str)
[Expand]
Inherited Methods
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
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 long contentId

protected long existingContentId

Public Constructors

public RestoreExistingTrashItemAction ()

Public Methods

public String doDefault ()

Default webwork action execution method.

Returns
  • the action result
Throws
Exception

public String doOverwrite ()

public String doRenameAndRestore ()

public String execute ()

Throws
Exception

public ContentEntityObject getContentEntityObject ()

public long getContentId ()

public ContentEntityObject getExistingContentEntityObject ()

public long getExistingContentId ()

public String getNewPageTitle ()

public String getRestoreAction ()

public String getType ()

public boolean isRenamable ()

public void setContentEntityManager (ContentEntityManager contentEntityManager)

public void setContentId (long contentId)

public void setExistingContentId (long existingContentId)

public void setNewPageTitle (String newPageTitle)

public void setPageManager (PageManager pageManager)

public void setRestoreAction (String restoreAction)

public void validate ()

Protected Methods

protected boolean hasInvalidTitleCharacters (String str)