Interface ContentControlDecisionVersionDelegate
- All Known Implementing Classes:
AbstractContentControlDecisionVersionDelegate
public interface ContentControlDecisionVersionDelegate
Interface for copying the Exclusion info from old ContentControlLinks to new ContentControlLinks
For customization of copy forward of exclusion info from Old ContentControlLinks to new ContentControlLinks, this interface must be implemented.
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidcopyExclusionInfoForRevision(WTKeyedMap masterToOldCClMap, WTKeyedMap masterToNewCClMap) This method is used to copy the exclusion info from old ContentControlLinks to new ContentControlLinks when the objects are revised and added to package.
-
Method Details
-
copyExclusionInfoForRevision
void copyExclusionInfoForRevision(WTKeyedMap masterToOldCClMap, WTKeyedMap masterToNewCClMap) throws WTPropertyVetoException This method is used to copy the exclusion info from old ContentControlLinks to new ContentControlLinks when the objects are revised and added to package. By getting the list of old and new ContentControlLinks for the same master the exclusion info can be copied from the old links to the new links. The list of new ContentControlLinks does not have the ContentControlLinks for which the same version exists in the old links. For this the exclusion info will be copied from the old links by default. Only the versions which did not exist earlier will be added to the list.
Supported API: true- Parameters:
masterToOldCClMap- : WTKeyedMap; This map contains the master object as key and the list of old ContentControlLinks as valuemasterToNewCClMap- : WTKeyedMap; This map contains the master object as key and the list of new ContentControlLinks as value- Throws:
WTPropertyVetoException
-