Class PdfObjectModifications
java.lang.Object
eu.europa.esig.dss.pdf.modifications.PdfObjectModifications
- All Implemented Interfaces:
Serializable
Contains a collection of
ObjectModification
s categorized by different groups- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with empty differences lists -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnotCreationChange
(ObjectModification objectModification) Adds a modification concerning annotation creation, modification or deletionvoid
addFormFillInAndSignatureCreationChange
(ObjectModification objectModification) Adds a modification concerning form filling or a signature creationvoid
addSecureChange
(ObjectModification objectModification) Adds a secure change concerning signature augmentation (DSS dictionary, DocTimeStamp)void
addUndefinedChange
(ObjectModification objectModification) Adds an undefined modificationReturns a list of annot creation/modification/deletion changesReturns a list of form filling and signature creation related changesReturns a list of secure changesReturns a list of undefined changesboolean
isEmpty()
Checks whether the object is empty
-
Constructor Details
-
PdfObjectModifications
public PdfObjectModifications()Default constructor instantiating object with empty differences lists
-
-
Method Details
-
addSecureChange
Adds a secure change concerning signature augmentation (DSS dictionary, DocTimeStamp)- Parameters:
objectModification
-ObjectModification
-
addFormFillInAndSignatureCreationChange
Adds a modification concerning form filling or a signature creation- Parameters:
objectModification
-ObjectModification
-
addAnnotCreationChange
Adds a modification concerning annotation creation, modification or deletion- Parameters:
objectModification
-ObjectModification
-
addUndefinedChange
Adds an undefined modification- Parameters:
objectModification
-ObjectModification
-
getSecureChanges
Returns a list of secure changes- Returns:
- a list of
ObjectModification
s
-
getFormFillInAndSignatureCreationChanges
Returns a list of form filling and signature creation related changes- Returns:
- a list of
ObjectModification
s
-
getAnnotCreationChanges
Returns a list of annot creation/modification/deletion changes- Returns:
- a list of
ObjectModification
s
-
getUndefinedChanges
Returns a list of undefined changes- Returns:
- a list of
ObjectModification
s
-
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
-