Class PasteAnnotationCommands

java.lang.Object
com.ptc.windchill.enterprise.object.commands.AbstractPasteCommand
com.ptc.windchill.enterprise.annotation.commands.PasteAnnotationCommands

public class PasteAnnotationCommands extends AbstractPasteCommand
A class to paste supporting materials for the annotation tables.

Supported API: true

Extendable: true
  • Constructor Details

    • PasteAnnotationCommands

      public PasteAnnotationCommands(NmCommandBean cb)
      Constructor to create a PasteAnnotationCommands class.

      Supported API: true
      Parameters:
      cb - The command bean to set on the class.
  • Method Details

    • paste

      public static FormResult paste(NmCommandBean cb) throws WTException
      Handler method for the Paste functionality. Will process the objects in clipboard and add the valid objects to the table. The FormResult will contain any feedback messages related to items that could not be handled.

      Supported API: true
      Parameters:
      cb - The current command bean.
      Returns:
      FormResult The result status along with any feedback messages from the operation.
      Throws:
      WTException
    • paste

      @Deprecated public static FormResult paste(NmCommandBean cb, boolean isPasteSelect) throws WTException
      Deprecated.
      This method is replaced by pasteSelect()
      Handler method for the Paste and Paste Select functionality. Will process the items in clipboard or selected from the clipboard and add the valid objects to the table. The FormResult will contain any feedback messages related to items that could not be handled.

      Supported API: true
      Parameters:
      cb - The current command bean.
      isPasteSelect - True from paste select.
      Returns:
      FormResult The result status along with any feedback messages from the operation.
      Throws:
      WTException