Class DeletedPageEntry


  • public class DeletedPageEntry
    extends BaseElement
    Represents a deleted page row in the recycle bin.
    Since:
    14.10
    Version:
    $Id: 9ebb319270aca06f8699af2ac9d80bca65d065db $
    • Constructor Detail

      • DeletedPageEntry

        public DeletedPageEntry​(int rowNumber,
                                boolean isTerminal,
                                org.openqa.selenium.WebElement row)
        Default constructor.
        Parameters:
        rowNumber - the row number in the table.
        isTerminal - true if the page was terminal (so the entry comes from terminal pages table), false otherwise.
        row - the actual web element entry
    • Method Detail

      • getDeleter

        public String getDeleter()
        Returns:
        the name of the deleter.
      • canBeRestored

        public boolean canBeRestored()
        Returns:
        true if the restore link action is available.
      • canBeDeleted

        public boolean canBeDeleted()
        Returns:
        true if the delete link action is available.
      • canBeViewed

        public boolean canBeViewed()
        Returns:
        true if the view link is available.
      • clickView

        public ViewPage clickView()
        Click on the view link.
        Returns:
        the view page of the deleted page.
      • clickRestore

        public ViewPage clickRestore()
        Click on the restore action.
        Returns:
        the view page of the restored page.