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

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

public class PartRenameRequest
extends ProeServiceRequest
implements TransactionalRequest

Handles Rename WTPart requests. Invokes PartRename action for the input masters.


Field Summary
private static Log log
           
private  com.ptc.windchill.uwgm.soap.uwgmsvc.PartRename partRename
           
protected  PartRenameRequestCache requestCache
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.ProeServiceRequest
context, RESOURCE, resultPopulator, uwgmRequest
 
Constructor Summary
PartRenameRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.PartRename partRename, RequestResultCache resCache)
           
 
Method Summary
 com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage executeRequest()
          executes request
private  com.ptc.windchill.uwgm.soap.uwgmdb.Master.Iterator getMasterIterator(WTCollection masters)
           
 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

partRename

private com.ptc.windchill.uwgm.soap.uwgmsvc.PartRename partRename

requestCache

protected PartRenameRequestCache requestCache

log

private static Log log
Constructor Detail

PartRenameRequest

public PartRenameRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.PartRename partRename,
                         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

getMasterIterator

private com.ptc.windchill.uwgm.soap.uwgmdb.Master.Iterator getMasterIterator(WTCollection masters)
                                                                      throws UwgmErrorException
Throws:
UwgmErrorException