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

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

public class EpmRenameRequest
extends ProeServiceRequest
implements TransactionalRequest

Handles Rename EPMDocument requests. Invokes EpmRename action for the input masters.


Field Summary
private  com.ptc.windchill.uwgm.soap.uwgmsvc.EpmRename epmRename
           
private static Log log
           
protected  EpmRenameRequestCache requestCache
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.ProeServiceRequest
context, RESOURCE, resultPopulator, uwgmRequest
 
Constructor Summary
EpmRenameRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.EpmRename epmRename, 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

epmRename

private com.ptc.windchill.uwgm.soap.uwgmsvc.EpmRename epmRename

requestCache

protected EpmRenameRequestCache requestCache

log

private static Log log
Constructor Detail

EpmRenameRequest

public EpmRenameRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.EpmRename epmRename,
                        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