Class PasteChangeableCommands
java.lang.Object
com.ptc.windchill.enterprise.object.commands.AbstractPasteCommand
com.ptc.windchill.enterprise.change2.commands.PasteCommands
com.ptc.windchill.enterprise.change2.commands.PasteChangeableCommands
A class to paste changeables to the Change Management wizard tables.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class com.ptc.windchill.enterprise.object.commands.AbstractPasteCommand
loggerInternal, PASTE_FAILED, PASTE_FAILED_MSG, PASTE_ITEM_ALREADY_EXISTS_HEADER, PASTE_ITEM_ALREADY_EXISTS_MSG, PASTE_ITEM_ALREADY_EXISTS_MULTIPLE_MSG, PASTE_LOGGER, PASTE_PARTIALLY_FAILED, PASTE_PARTIALLY_FAILED_MSG, PASTE_SELECT_FAILED_MSG, PASTE_SELECT_FLAG -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor
Supported API: trueDefault constructor initializing the command class with the specified command bean. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringRetrieves the validation key used for validating the changeables to be added to the table via paste.static FormResultpaste(NmCommandBean cb) Paste method to handle the paste operation.static FormResultMethod to handle the paste select operation.Methods inherited from class com.ptc.windchill.enterprise.change2.commands.PasteCommands
getPasteSelectAction, getTableId, initPasteSelectMethods inherited from class com.ptc.windchill.enterprise.object.commands.AbstractPasteCommand
callPasteSelect, doPaste, generatePasteSelectJS, getAdditionalParameters, getCommandBean, getErrorThreshold, getExistingOidsInTable, getPasteJavascript, getPasteJavascriptFunction, getPasteSelectJavascript, getRefreshOid, getValidationResult, handleEmptyClipboard, handleFormResult, isEmptyList, isNonFatalError, isPasteAsVersionReference, isPasteSelect, processValidationResultSet, setCommandBean, setErrorThreshold, setNonFatalError, setPasteSelect, setRefreshOid
-
Constructor Details
-
PasteChangeableCommands
public PasteChangeableCommands()Default constructor
Supported API: true -
PasteChangeableCommands
Default constructor initializing the command class with the specified command bean.
Supported API: true- Parameters:
cb-
-
-
Method Details
-
paste
Paste method to handle the paste operation. Will call thedoPaste()method to perform the paste.
Supported API: true- Parameters:
cb-- Returns:
- Throws:
WTException- See Also:
-
pasteSelect
Method to handle the paste select operation. Will initialize the command bean with the paste select flag and call the paste() method.
Supported API: true- Parameters:
cb-- Returns:
- Throws:
WTException
-
getPasteValidationKey
Retrieves the validation key used for validating the changeables to be added to the table via paste.
Supported API: true- Specified by:
getPasteValidationKeyin classPasteCommands- Returns:
- the validation key or null if no validation is needed.
-