Class RestoreExistingTrashItemAction

    • Field Detail

      • contentId

        protected long contentId
      • existingContentId

        protected long existingContentId
    • Constructor Detail

      • RestoreExistingTrashItemAction

        public RestoreExistingTrashItemAction()
    • Method Detail

      • validate

        public void validate()
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • hasInvalidTitleCharacters

        protected boolean hasInvalidTitleCharacters​(String str)
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • 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)
      • getContentId

        public long getContentId()
      • setContentId

        public void setContentId​(long contentId)
      • getExistingContentId

        public long getExistingContentId()
      • setExistingContentId

        public void setExistingContentId​(long existingContentId)
      • getType

        public String getType()