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

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

public class GetNewDocumentNumbersRequest
extends ProeServiceRequest

GetNewDocumentNumbers request implementation


Field Summary
private static Log log
          logging
private  int newDocumentNumber
           
private  WorkspaceRequestCacheAdapter wsAdapter
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.ProeServiceRequest
context, RESOURCE, resultPopulator, uwgmRequest
 
Constructor Summary
GetNewDocumentNumbersRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.GetNewDocumentNumbers uwgmRequest, RequestResultCache resultCache)
           
 
Method Summary
 com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage executeRequest()
          executes request
private  com.ptc.cipjava.stringseq stringArrayToStringseq(String[] names)
           
 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

newDocumentNumber

private int newDocumentNumber

wsAdapter

private WorkspaceRequestCacheAdapter wsAdapter

log

private static Log log
logging

Constructor Detail

GetNewDocumentNumbersRequest

public GetNewDocumentNumbersRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.GetNewDocumentNumbers uwgmRequest,
                                    RequestResultCache resultCache)
Method Detail

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

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

stringArrayToStringseq

private com.ptc.cipjava.stringseq stringArrayToStringseq(String[] names)
Parameters:
names - String[]
Returns:
stringseq