Class MatrixPagesInclude


  • public class MatrixPagesInclude
    extends java.lang.Object

    Class that contains information about the pages of a signed document will be included in a signature report.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 19/08/2020.
    • Constructor Summary

      Constructors 
      Constructor Description
      MatrixPagesInclude()
      Constructor method for the class MatrixPagesInclude.java.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPage​(int targetNumPage, int originNumPage, PageIncludeFormat format)
      Add page to the matrix.
      PageIncludeFormat[] getPagesFormat​(int targetNumPage, int originNumPage)
      Gets a array of PageIncludeFormat that contains the location where the page is included.
      int[] getPageToInclude​(int targetNumPage)
      Gets the number of pages of the signed document will be included into the page of the report provided.
      boolean isEmpty()
      Reports if the table is empty.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MatrixPagesInclude

        public MatrixPagesInclude()
        Constructor method for the class MatrixPagesInclude.java.
    • Method Detail

      • addPage

        public void addPage​(int targetNumPage,
                            int originNumPage,
                            PageIncludeFormat format)
        Add page to the matrix.
        Parameters:
        targetNumPage - Page number of signature report.
        originNumPage - Page number of signed document.
        format - PageIncludeFormat that contains the location where the page is included.
      • getPageToInclude

        public int[] getPageToInclude​(int targetNumPage)
        Gets the number of pages of the signed document will be included into the page of the report provided.
        Parameters:
        targetNumPage - Page number of signature report.
        Returns:
        Array of signed document pages.
      • getPagesFormat

        public PageIncludeFormat[] getPagesFormat​(int targetNumPage,
                                                  int originNumPage)
        Gets a array of PageIncludeFormat that contains the location where the page is included.
        Parameters:
        targetNumPage - Page number of signature report.
        originNumPage - Page number of signed document.
        Returns:
        Array of PageIncludeFormat that contains the location where the page is included.
      • isEmpty

        public boolean isEmpty()
        Reports if the table is empty.
        Returns:
        True if the table is empty, false otherwise.