com.groupdocs.signature.domain.signatures

Class BaseSignature

    • Method Detail

      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class Object
        Parameters:
        signature - Signature object to compare with.
        Returns:
        Returns true if passed signature object has same type and all its properties are equal to this instance properties.
      • getCreatedOn

        public final Date getCreatedOn()

        Get or set the signature creation date.

      • getDeleted

        public final boolean getDeleted()

        Get or set flag to indicate if this signature was deleted from the document. This property is being used only for document history log records to keep the list of deleted signatures.

      • getHeight

        public final int getHeight()

        Specifies height of signature.

      • getLeft

        public final int getLeft()

        Specifies left position of signature.

      • getModifiedOn

        public final Date getModifiedOn()

        Get or set the signature modification date.

      • getPageNumber

        public final Integer getPageNumber()

        Specifies the page signature was found on.

      • getSignatureId

        public final String getSignatureId()

        Unique signature identifier to modify signature in the document over Update or Delete methods. This property will be set automatically after Sign or Search method being called. If this property was saved before it can be set manually to manipulate the signature.

      • getSignatureType

        public final int getSignatureType()

        Specifies the type of signature. Digital signature will have this property.

      • getTop

        public final int getTop()

        Specifies top position of signature.

      • getWidth

        public final int getWidth()

        Specifies width of signature.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class Object
        Returns:
      • isSignature

        public final boolean isSignature()

        Get or set flag to indicate if this component is Signature or document content. This property is being used with Update method to set element as signature (true) or document element (false).

      • setCreatedOn

        public final void setCreatedOn(Date value)

        Get or set the signature creation date.

      • setHeight

        public final void setHeight(int value)

        Specifies height of signature.

      • setLeft

        public final void setLeft(int value)

        Specifies left position of signature.

      • setModifiedOn

        public final void setModifiedOn(Date value)

        Get or set the signature modification date.

      • setPageNumber

        public final void setPageNumber(Integer value)

        Specifies the page signature was found on.

      • setSignature

        public final void setSignature(boolean value)

        Get or set flag to indicate if this component is Signature or document content. This property is being used with Update method to set element as signature (true) or document element (false).

      • setTop

        public final void setTop(int value)

        Specifies top position of signature.

      • setWidth

        public final void setWidth(int value)

        Specifies width of signature.

      • supportMetaInfoLayer

        public boolean supportMetaInfoLayer()