com.ptc.windchill.uwgm.proesrv.action
Class EpmRenameAction
java.lang.Object
com.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.AbstractRenameAction
com.ptc.windchill.uwgm.proesrv.action.EpmRenameAction
- public class EpmRenameAction
- extends AbstractRenameAction
Implements the Rename operation for EPMDocuments. 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+.
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
cadNameMap
private WTKeyedMap cadNameMap
EpmRenameAction
public EpmRenameAction(RequestContext context)
EpmRenameAction
public EpmRenameAction(RequestContext context,
WTKeyedMap identityInfoMap)
EpmRenameAction
public EpmRenameAction(RequestContext context,
WTKeyedMap cadNameMap,
WTKeyedMap identityInfoMap)
setCadNameMap
public void setCadNameMap(WTKeyedMap cadNameMap)
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
mergeMasters
private WTCollection mergeMasters(WTCollection renamedMasters,
WTCollection mastersWithIdentityChange)
throws WTException
- Throws:
WTException