com.ptc.windchill.uwgm.proesrv.action
Class PartRenameAction
java.lang.Object
com.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.AbstractRenameAction
com.ptc.windchill.uwgm.proesrv.action.PartRenameAction
- public class PartRenameAction
- extends AbstractRenameAction
Implements the Rename operation for WTParts. Note that new WTCollection-based API
needs to be used for changing names and numbers (using IdentityService) but that will
be possible only after that API becomes available in build 25+.
Field Summary |
private static Log |
log
|
Fields inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmAction |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Log log
PartRenameAction
public PartRenameAction(RequestContext context)
PartRenameAction
public PartRenameAction(RequestContext context,
WTKeyedMap identityInfoMap)
executeAction
public void executeAction()
throws UwgmConflictException,
UwgmErrorException
- Description copied from class:
UwgmAction
- executes action (should be overwritten by implementation action subclasses)
- Overrides:
executeAction
in class AbstractRenameAction
- Throws:
UwgmConflictException
UwgmErrorException
prepareIdentityMap
protected WTKeyedMap prepareIdentityMap(WTCollection renamedMasters)
throws WTException,
WTPropertyVetoException
- Specified by:
prepareIdentityMap
in class AbstractRenameAction
- Throws:
WTException
WTPropertyVetoException
createMasterIdentity
protected IdentificationObject createMasterIdentity(Identified master,
RenameInfo renameInfo)
throws WTException,
WTPropertyVetoException
- Specified by:
createMasterIdentity
in class AbstractRenameAction
- Throws:
WTException
WTPropertyVetoException