com.ptc.windchill.uwgm.proesrv.action
Class CheckStaleContentAction
java.lang.Object
com.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
com.ptc.windchill.uwgm.proesrv.action.CheckStaleContentAction
- public class CheckStaleContentAction
- extends UwgmWorkspaceAction
CheckStaleContentAction implementation.
This class has been implemented to do the content related preprocessing during checkin.
This preprocessing includes rasing the conflict for stale secondary ontents
and processing for the resolution option set by the user for this conflict
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 |
checkinInstructions
private WTValuedMap checkinInstructions
log
private static Log log
- logging
CheckStaleContentAction
public CheckStaleContentAction(RequestContext context,
EPMWorkspace epmWorkspace)
addInstructions
public void addInstructions(WTValuedMap instructions)
executeAction
protected void executeAction()
throws UwgmConflictException,
UwgmErrorException
- executeAction
- Specified by:
executeAction
in class UwgmAction
- Throws:
UwgmConflictException
UwgmErrorException
processResolutionOptions
private void processResolutionOptions(WTKeyedMap resolutionsMap,
WTKeyedMap secondaryContentsMap)
throws WTException
- processResolutionOptions Internal implemantation to do the preprocessing for resolution options set
for the conflict raised during checkin for stale secondary contents.
- Parameters:
resolutionsMap
- WTKeyedMapsecondaryContentsMap
- WTKeyedMap
- Throws:
WTException
getStaleContentsMap
private WTKeyedMap getStaleContentsMap(WTValuedMap checkinInstructions)
throws WTException
- getStaleContentsMap Internal implemantation to get the stale seondary contents
- Parameters:
checkinInstructions
- WTValuedMap
- Returns:
- staleContentMap WTKeyedMap
- Throws:
WTException