Class PdfObjectModifications

java.lang.Object
eu.europa.esig.dss.pdf.modifications.PdfObjectModifications
All Implemented Interfaces:
Serializable

public class PdfObjectModifications extends Object implements Serializable
Contains a collection of ObjectModifications categorized by different groups
See Also:
  • Constructor Details

    • PdfObjectModifications

      public PdfObjectModifications()
      Default constructor instantiating object with empty differences lists
  • Method Details

    • addSecureChange

      public void addSecureChange(ObjectModification objectModification)
      Adds a secure change concerning signature augmentation (DSS dictionary, DocTimeStamp)
      Parameters:
      objectModification - ObjectModification
    • addFormFillInAndSignatureCreationChange

      public void addFormFillInAndSignatureCreationChange(ObjectModification objectModification)
      Adds a modification concerning form filling or a signature creation
      Parameters:
      objectModification - ObjectModification
    • addAnnotCreationChange

      public void addAnnotCreationChange(ObjectModification objectModification)
      Adds a modification concerning annotation creation, modification or deletion
      Parameters:
      objectModification - ObjectModification
    • addUndefinedChange

      public void addUndefinedChange(ObjectModification objectModification)
      Adds an undefined modification
      Parameters:
      objectModification - ObjectModification
    • getSecureChanges

      public List<ObjectModification> getSecureChanges()
      Returns a list of secure changes
      Returns:
      a list of ObjectModifications
    • getFormFillInAndSignatureCreationChanges

      public List<ObjectModification> getFormFillInAndSignatureCreationChanges()
      Returns a list of form filling and signature creation related changes
      Returns:
      a list of ObjectModifications
    • getAnnotCreationChanges

      public List<ObjectModification> getAnnotCreationChanges()
      Returns a list of annot creation/modification/deletion changes
      Returns:
      a list of ObjectModifications
    • getUndefinedChanges

      public List<ObjectModification> getUndefinedChanges()
      Returns a list of undefined changes
      Returns:
      a list of ObjectModifications
    • isEmpty

      public boolean isEmpty()
      Checks whether the object is empty
      Returns:
      TRUE if no changes between signed and final revisions have been found, FALSE otherwise