Дополнительная настройка > Business Logic Customization > Customizing MPMLink > Comparing Current Revision of a Smart Collection with a Previous Revision
Comparing Current Revision of a Smart Collection with a Previous Revision
You can compare the current revision of a smart collection with the previous one by specifying the values of the parameters in the compare method. This method is available in the AccountabilityService.java file located at com/ptc/windchill/associativity/accountability.
/**
* Compares a 'current' revision of a Smart Collection with 'previous' revision.
* <BR><BR>
* <B>Supported API: </B>true <BR>
* <BR>
* <B>Extendable: </B>false
* @param params - CompareSCParams containing current and previous Smart Collection revisions
* @return {@link SmartCollectionComparisonResult}
* @throws WTException
*/
public SmartCollectionComparisonResult compare(CompareSCParams params) throws WTException;
Было ли это полезно?