com.ptc.windchill.uwgm.proesrv.cache
Class ProeServiceRequestCache

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.cache.ProeServiceRequestCache
Direct Known Subclasses:
AbstractWorkspaceRequestCache, AddToWorkspaceRequestCache, CheckinRequestCache, EpmRenameRequestCache, GetContentDownloadInfoRequestCache, IBAModificationRequestCache, PartRenameRequestCache, PrepareEpmForUploadRequestCache, SetTargetFolderRequestCache, WorkspaceCreateRequestCache, WorkspaceGetInformationRequestCache

public abstract class ProeServiceRequestCache
extends Object

Base class for Request Data Cache implementations


Field Summary
protected  RequestContext context
          request context
protected  List infoElements
          Collections for Warning InfoElements
protected  com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest
          UWGM request
 
Constructor Summary
ProeServiceRequestCache(ProeServiceRequest proeRequest)
          constructor (call in subclass constructors)
 
Method Summary
protected  void addWarning(InfoElement warning)
          adds Warning InfoElement
 InfoElement[] getMessages()
          Deprecated.  
protected  void reportMessage(InfoElement message)
          adds Warning/Info InfoElement
abstract  void validate()
          validates request cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uwgmRequest

protected com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest
UWGM request


context

protected RequestContext context
request context


infoElements

protected List infoElements
Collections for Warning InfoElements

Constructor Detail

ProeServiceRequestCache

public ProeServiceRequestCache(ProeServiceRequest proeRequest)
constructor (call in subclass constructors)

Parameters:
proeRequest - ProeServiceRequest
Method Detail

addWarning

protected void addWarning(InfoElement warning)
adds Warning InfoElement

Parameters:
warning - InfoElement

reportMessage

protected void reportMessage(InfoElement message)
adds Warning/Info InfoElement


getMessages

public InfoElement[] getMessages()
Deprecated.  

returns Warnings/Infos

Returns:
List of InfoElements

validate

public abstract void validate()
                       throws RequestValidationException,
                              UwgmErrorException
validates request cache

subclasses should overwrite this and have validation logic inside

Throws:
RequestValidationException
UwgmErrorException