Interface PostBoxPage<T>

    • Method Detail

      • hasNextAccountSheet

        boolean hasNextAccountSheet()
        Returns true if the PostBox has more accounts sheets/card billings. (In other words, returns true if nextDocument() would return an element rather than throwing an exception.)
        Returns:
        true if the PostBox has more elements
      • hasNextDocument

        boolean hasNextDocument()
        Returns true if the PostBox has more accounts sheets/card billings. (In other words, returns true if nextDocument() would return an element rather than throwing an exception.)
        Returns:
        true if the PostBox has more elements
      • nextAccountSheet

        org.apache.commons.lang3.tuple.Pair<java.util.Date,​T> nextAccountSheet()
                                                                              throws java.util.NoSuchElementException
        Returns the next accounts sheet/card billing from the PostBox
        Returns:
        the next accounts sheets/card billings as Pair< Date,WebElement >
        Throws:
        java.util.NoSuchElementException - - if the PostBox has no more elements
      • nextDocument

        org.apache.commons.lang3.tuple.Pair<java.util.Date,​T> nextDocument()
                                                                          throws java.util.NoSuchElementException
        Returns the next document from the PostBox
        Returns:
        the next document as Pair< Date,WebElement >
        Throws:
        java.util.NoSuchElementException - - if the PostBox has no more elements
      • resetAccountSheetReadPosition

        void resetAccountSheetReadPosition()
        Set accountSheet read position back to 0 beginning
      • resetDocumentsReadPosition

        void resetDocumentsReadPosition()
        Set documents read position back to 0 beginning