Class DeletePageConfirmationPage


  • public class DeletePageConfirmationPage
    extends ConfirmationPage
    Specialized confirmation page, dedicated to pages deletion. Allows to interact with the form that offers the choice between removing a document permanently or sending it to the recycle bin, in addition to the interactions already allowed by ConfirmationPage.
    Since:
    12.8RC1
    Version:
    $Id: 64e26093220634f11bbdf29376b4d6fb6a9dddfc $
    • Constructor Detail

      • DeletePageConfirmationPage

        public DeletePageConfirmationPage()
    • Method Detail

      • selectOptionToRecycleBin

        public void selectOptionToRecycleBin()
        Click on the option to put the document in the recycle bin.
      • selectOptionSkipRecycleBin

        public void selectOptionSkipRecycleBin()
        Click on the option to remove permanently the document.
      • isRecycleBinOptionsDisplayed

        public boolean isRecycleBinOptionsDisplayed()
        Returns:
        true if the form proposing to skip the recycle bin is displayed, false otherwise
      • hasNewBacklinkTargetAdded

        public boolean hasNewBacklinkTargetAdded()
        Returns:
        true if a new target document was selected, false if the field is empty
        Since:
        14.4.2, 14.5
      • setNewBacklinkTarget

        public void setNewBacklinkTarget​(String target)
        Parameters:
        target - the new target document
        Since:
        14.4.2, 14.5
      • isUpdateLinks

        public boolean isUpdateLinks()
        Returns:
        true if the backlinks to this document will be updated after delete, false otherwise
        Since:
        14.4.2, 14.5
      • setUpdateLinks

        public void setUpdateLinks​(boolean updateLinks)
        Parameters:
        updateLinks - true if the backlinks to this document should be updated after delete, false otherwise
        Since:
        14.4.2, 14.5
      • isAutoRedirect

        public boolean isAutoRedirect()
        Returns:
        true if a redirect will be added for this document after delete, false otherwise
        Since:
        14.4.2, 14.5
      • setAutoRedirect

        public void setAutoRedirect​(boolean autoRedirect)
        Parameters:
        autoRedirect - true if a redirect should be added for this document after delete, false otherwise
        Since:
        14.4.2, 14.5