Class RestoreTrashItemAction

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 RestoreTrashItemAction extends AbstractSpaceAction implements SpaceAdministrative
See Also:
  • Field Details

    • contentEntityManager

      protected ContentEntityManager contentEntityManager
    • spaceContentEntityObject

      protected SpaceContentEntityObject spaceContentEntityObject
    • pageManager

      protected PageManager pageManager
    • contentId

      protected long contentId
    • existingContentId

      protected long existingContentId
  • Constructor Details

    • RestoreTrashItemAction

      public RestoreTrashItemAction()
  • Method Details

    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class AbstractSpaceAction
    • 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
    • doRestore

      public String doRestore()
    • getContentEntityObject

      public ContentEntityObject getContentEntityObject()
    • getSpaceContentEntityObject

      public SpaceContentEntityObject getSpaceContentEntityObject()
    • setSpaceContentEntityObject

      public void setSpaceContentEntityObject(SpaceContentEntityObject spaceContentEntityObject)
    • setContentEntityManager

      public void setContentEntityManager(ContentEntityManager contentEntityManager)
    • setPageManager

      public void setPageManager(PageManager pageManager)
    • getContentId

      public long getContentId()
    • setContentId

      public void setContentId(long contentId)
    • getType

      public String getType()
    • getExistingContentId

      public long getExistingContentId()
    • setExistingContentId

      public void setExistingContentId(long existingContentId)
    • setIndexer

      public void setIndexer(ConfluenceIndexer indexer)
    • setAttachmentManager

      public void setAttachmentManager(AttachmentManager attachmentManager)