com.ptc.windchill.uwgm.proesrv.request
Class UndoCheckoutRequest

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.ProeServiceRequest
      extended bycom.ptc.windchill.uwgm.proesrv.request.UndoCheckoutRequest
All Implemented Interfaces:
RequestResultCache.Populator, TransactionalRequest

public class UndoCheckoutRequest
extends ProeServiceRequest
implements TransactionalRequest

Handles Undo Checkout request. Invokes the UndoCheckout action for new and checked out objects.


Field Summary
private static Log log
           
protected  UndoCheckoutRequestCache requestCache
           
private  com.ptc.windchill.uwgm.soap.uwgmsvc.UndoCheckout undoCheckout
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.ProeServiceRequest
context, RESOURCE, resultPopulator, uwgmRequest
 
Constructor Summary
UndoCheckoutRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.UndoCheckout undoCheckout, RequestResultCache resCache)
           
 
Method Summary
 com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage executeRequest()
          executes request
 void validateRequest()
          validates request data
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.ProeServiceRequest
addContainer, addContent, addEPMDocument, addEPMDocumentMaster, addEPMWorkspace, addEPMWorkspace, addFakeFolder, addFolder, addLink, addLink, addPreferedContentURLs, addWTPart, addWTPartMaster, bindContent, bindFoldered, createDbObjIterator, getContext, getLocalizedName, getUwgmRequest, ignoreOriginalState, reportFailure, reportInfoMessage, reportInfoMessage, reportMessage, reportMessages, reportWarnings, resetCurrentEpmWS, setRequestCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

undoCheckout

private com.ptc.windchill.uwgm.soap.uwgmsvc.UndoCheckout undoCheckout

requestCache

protected UndoCheckoutRequestCache requestCache

log

private static Log log
Constructor Detail

UndoCheckoutRequest

public UndoCheckoutRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.UndoCheckout undoCheckout,
                           RequestResultCache resCache)
Method Detail

validateRequest

public void validateRequest()
                     throws RequestValidationException,
                            UwgmErrorException
Description copied from class: ProeServiceRequest
validates request data

Specified by:
validateRequest in class ProeServiceRequest
Throws:
RequestValidationException - to report validation problems
UwgmErrorException - to report errors

executeRequest

public com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage executeRequest()
                                                            throws UwgmConflictException,
                                                                   UwgmErrorException
Description copied from class: ProeServiceRequest
executes request

reports success UwgmMessage

Specified by:
executeRequest in class ProeServiceRequest
Returns:
UwgmMessage
Throws:
UwgmErrorException - to report errors
UwgmConflictException - to report execution conflicts