Interface PasteAsResourceInstanceService


@RemoteInterface public interface PasteAsResourceInstanceService
Service to perform paste as resource instance tasks.

Supported API: true

Extendable: false
  • 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 created
      targets - List containing the parent resources for the new instances
      criteria - navigation criteria to filter visible objects from the results
      locale - locale to use to prepare messages to be shown to the user
      Returns:
      PasteAsResourceInstanceReport
      Throws:
      WTException - if any exception occurs