Class AttachmentHistoryPage


  • public class AttachmentHistoryPage
    extends ViewPage
    Page Object for the attachment history page.
    Since:
    14.2RC1
    Version:
    $Id: e3218aeac10701955bde9353b1b94b1ad6b4aed0 $
    • Constructor Detail

      • AttachmentHistoryPage

        public AttachmentHistoryPage()
    • Method Detail

      • getVersion

        public String getVersion​(long rowIdx)
        Parameters:
        rowIdx - the index of the row of the attachment, starting at 1
        Returns:
        the version for the requested attachment version
      • geAttachmentContent

        public String geAttachmentContent​(long rowIdx)
        Follow a version url, get its content the comes back to the previous page.
        Parameters:
        rowIdx - the index of the row of the attachment, starting at 1
        Returns:
        the link to the attachment version content page
      • getSize

        public long getSize​(int rowIdx)
        Parameters:
        rowIdx - the index of the row of the attachment, starting at 1
        Returns:
        the size of the requested attachment version
      • getAuthor

        public String getAuthor​(int rowIdx)
        Parameters:
        rowIdx - the index of the row of the attachment, starting at 1
        Returns:
        the pretty name of the author of the requested attachment version