Class RestoreExistingTrashItemAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
WebInterface, SpaceAdministrative, Spaced, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class RestoreExistingTrashItemAction extends AbstractSpaceAction implements SpaceAdministrative
See Also:
  • Field Details

    • contentId

      protected long contentId
    • existingContentId

      protected long existingContentId
  • Constructor Details

    • RestoreExistingTrashItemAction

      public RestoreExistingTrashItemAction()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • hasInvalidTitleCharacters

      protected boolean hasInvalidTitleCharacters(String str)
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class AbstractSpaceAction
    • doOverwrite

      public String doOverwrite()
    • doRenameAndRestore

      public String doRenameAndRestore()
    • isRenamable

      public boolean isRenamable()
    • setPageManager

      public void setPageManager(PageManager pageManager)
    • getNewTitle

      public String getNewTitle()
    • setNewTitle

      public void setNewTitle(String newTitle)
    • getRestoreAction

      public String getRestoreAction()
    • setRestoreAction

      public void setRestoreAction(String restoreAction)
    • setContentEntityManager

      public void setContentEntityManager(ContentEntityManager contentEntityManager)
    • setAttachmentManager

      public void setAttachmentManager(AttachmentManager attachmentManager)
    • getContentEntityObject

      public ContentEntityObject getContentEntityObject()
    • getExistingContentEntityObject

      public ContentEntityObject getExistingContentEntityObject()
    • getContentId

      public long getContentId()
    • setContentId

      public void setContentId(long contentId)
    • getExistingContentId

      public long getExistingContentId()
    • setExistingContentId

      public void setExistingContentId(long existingContentId)
    • getType

      public String getType()