com.ptc.windchill.enterprise.change2.commands
Class PasteChangeableCommands

java.lang.Object
  extended by com.ptc.windchill.enterprise.change2.commands.PasteCommands
      extended by com.ptc.windchill.enterprise.change2.commands.PasteChangeableCommands
All Implemented Interfaces:
Serializable, RemoteAccess

public class PasteChangeableCommands
extends PasteCommands

A class to paste changeables and changeItems from the Change Management tables.

Supported API: true

Extendable: true

See Also:
Serialized Form

Constructor Summary
PasteChangeableCommands(NmCommandBean cb)
          Constructor to create a PasteChangeableCommands class.
 
Method Summary
static FormResult paste(NmCommandBean cb)
          Handler method for the Paste functionality.
static FormResult paste(NmCommandBean cb, boolean isPasteSelect)
          Handler method for the Paste and Paste Select functionality.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasteChangeableCommands

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

Supported API: true

Parameters:
cb - The command bean to set on the class.
Method Detail

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

public static FormResult paste(NmCommandBean cb,
                               boolean isPasteSelect)
                        throws WTException
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