com.polarion.platform.persistence.diff.IDiffManager


METHODS
Modifiers and TypeNameDescription
IFieldDiff[] generateDiff(IPObject,IPObject,Set,String[]) Compares two objects and produces diff for individual fields. Only changed fields are present in the resulting array. Ignored fields are considered unchanged.

The resulting diff array will start with fields defined in fieldOrder parameter, followed by other fields in lexicographical order.

IFieldDiff[] generateDiff(IPObject,IPObject,Set) Shortcut for generateDiff(beforeObject, afterObject, ignoredFields, new String[0]
IChange generateChange(String,Date,String,IPObject,IPObject,Set,String[]) Compares the given objects and creates the {@link IChange} , filling its fields with user, timeStamp, revision values.

The diff array inside the change will start with fields defined in fieldOrder parameter, followed by other fields in lexicographical order.

IChange generateChange(String,Date,String,IPObject,IPObject,Set) Shortcut for generateChange(user, timeStamp, revision, beforeObject, afterObject, ignoredFields, new String[0])
IChange[] generateHistory(IPObject,Set,String[],boolean) Retrieves the complete history of given object and transforms it into series of change objects.
IChange[] generateHistory(IPObject,Set,String[]) Shortcut for generateHistory(object, ignoredFields, fieldOrder, false).
IChange[] generateHistory(IPObject,Set) Shortcut for generateHistory(object, ignoredFields, new String[0], false).
IDiffGenerator getDiffGenerator(String,IPrototype)

Back to Index