com.ptc.windchill.uwgm.proesrv.action
Class AbstractRenameAction
java.lang.Object
com.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.AbstractRenameAction
- Direct Known Subclasses:
- EpmRenameAction, PartRenameAction
- public abstract class AbstractRenameAction
- extends UwgmAction
Abstract class for handling rename of both WTParts and EPMDocuments. It is extended
by PartRenameAction and EpmRenameAction to do work specific to the respective type of
Windchill objects.
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
identityInfoMap
private WTKeyedMap identityInfoMap
renamedMasters
private WTCollection renamedMasters
identityChanged
private boolean identityChanged
AbstractRenameAction
public AbstractRenameAction(RequestContext context)
AbstractRenameAction
public AbstractRenameAction(RequestContext context,
WTKeyedMap identityInfoMap)
setIdentityInfoMap
public void setIdentityInfoMap(WTKeyedMap identityInfoMap)
getRenamedMasters
public WTCollection getRenamedMasters()
setRenamedMasters
protected void setRenamedMasters(WTCollection renamedMasters)
getIdentityInfoMap
protected WTKeyedMap getIdentityInfoMap()
hasIdentityChanged
protected boolean hasIdentityChanged()
executeAction
public void executeAction()
throws UwgmConflictException,
UwgmErrorException
- Description copied from class:
UwgmAction
- executes action (should be overwritten by implementation action subclasses)
- Specified by:
executeAction
in class UwgmAction
- Throws:
UwgmErrorException
UwgmConflictException
prepareIdentityMap
protected abstract WTKeyedMap prepareIdentityMap(WTCollection renamedMasters)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
createMasterIdentity
protected abstract IdentificationObject createMasterIdentity(Identified identified,
RenameInfo renameInfo)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
performIdentityChange
private WTCollection performIdentityChange(WTKeyedMap identityMap)
throws WTException
- Throws:
WTException