Package com.ptc.windchill.mpml.resource
Interface PasteAsResourceInstanceService
Service to perform paste as resource instance tasks.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionduplicateAndCreateUsages(List<ObjectReference> sources, Set<ObjectReference> targets, NCServerHolder criteria, Locale locale) Creates resources instance by duplicating the resources in the sources list and creating usage links with the resources in the targets list.
-
Method Details
-
duplicateAndCreateUsages
PasteAsResourceInstanceReport duplicateAndCreateUsages(List<ObjectReference> sources, Set<ObjectReference> targets, NCServerHolder criteria, Locale locale) throws WTException Creates resources instance by duplicating the resources in the sources list and creating usage links with the resources in the targets list.
Supported API: true- Parameters:
sources- List containing the resources for which instances to be createdtargets- List containing the parent resources for the new instancescriteria- navigation criteria to filter visible objects from the resultslocale- locale to use to prepare messages to be shown to the user- Returns:
- PasteAsResourceInstanceReport
- Throws:
WTException- if any exception occurs
-