com.ptc.windchill.uwgm.proesrv.rrc
Class RequestHolder
java.lang.Object
com.ptc.windchill.uwgm.proesrv.rrc.DbObjCache
com.ptc.windchill.uwgm.proesrv.rrc.RequestHolder
- All Implemented Interfaces:
- RequestResultCache.Populator
- class RequestHolder
- extends DbObjCache
- implements RequestResultCache.Populator
Auxiliary data structure to hold a request along with some additional info.
Fields inherited from class com.ptc.windchill.uwgm.proesrv.rrc.DbObjCache |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final Log log
cache
private final RequestResultCache cache
request
final com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest request
processor
final RequestResultProcessor processor
requestFailed
boolean requestFailed
epmIterRA
final com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes epmIterRA
partIterRA
final com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes partIterRA
RequestHolder
RequestHolder(RequestResultCache cache,
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest rq)
getRequest
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest getRequest()
addDbObj
public com.ptc.windchill.uwgm.soap.uwgmdb.DbObj addDbObj(com.ptc.windchill.uwgm.soap.uwgmdb.DbObj object)
- Add object to the dedicated cache for this Request, as well as to the
"globlal" cache. If object found (by ID) in the global cache, parameter
will be ignored and the old object will be stored in the request cache
and returned by this method.
- Overrides:
addDbObj
in class DbObjCache
- Parameters:
object
- DbObj
- Returns:
- DbObj
reportFailure
public void reportFailure()
- Specified by:
reportFailure
in interface RequestResultCache.Populator
addContainer
public com.ptc.windchill.uwgm.soap.uwgmdb.Container addContainer(WTContainer wtContainer)
- Specified by:
addContainer
in interface RequestResultCache.Populator
addContent
public com.ptc.windchill.uwgm.soap.uwgmdb.Content addContent(ContentItem item)
throws WTException
- Specified by:
addContent
in interface RequestResultCache.Populator
- Throws:
WTException
bindContent
public void bindContent(com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter,
com.ptc.windchill.uwgm.soap.uwgmdb.Content content)
- Specified by:
bindContent
in interface RequestResultCache.Populator
addEPMDocument
public com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration addEPMDocument(EPMDocument wtEpmDoc)
throws WTException
- Specified by:
addEPMDocument
in interface RequestResultCache.Populator
- Throws:
WTException
addEPMDocumentMaster
public com.ptc.windchill.uwgm.soap.uwgmdb.EpmMaster addEPMDocumentMaster(EPMDocumentMaster wtEpmMaster)
- Specified by:
addEPMDocumentMaster
in interface RequestResultCache.Populator
addLink
public com.ptc.windchill.uwgm.soap.uwgmdb.EpmMemberDependency addLink(EPMMemberLink wtLink)
- Specified by:
addLink
in interface RequestResultCache.Populator
addLink
public com.ptc.windchill.uwgm.soap.uwgmdb.EpmReferenceDependency addLink(EPMReferenceLink wtLink)
- Specified by:
addLink
in interface RequestResultCache.Populator
addFolder
public com.ptc.windchill.uwgm.soap.uwgmdb.Folder addFolder(Folder wtFolder,
WTCollection foldered)
throws WTException
- Specified by:
addFolder
in interface RequestResultCache.Populator
- Throws:
WTException
bindFoldered
private void bindFoldered(com.ptc.windchill.uwgm.soap.uwgmdb.Folder folder,
WTCollection wtFoldered)
throws WTException
- Throws:
WTException
addFakeFolder
public com.ptc.windchill.uwgm.soap.uwgmdb.Folder addFakeFolder(FakeFolder fakeFolder)
throws WTException
- Specified by:
addFakeFolder
in interface RequestResultCache.Populator
- Throws:
WTException
bindFoldered
public void bindFoldered(com.ptc.windchill.uwgm.soap.uwgmdb.Folder folder,
com.ptc.windchill.uwgm.soap.uwgmdb.Foldered foldered)
- Adds a Foldered object to the Folder contents
- Specified by:
bindFoldered
in interface RequestResultCache.Populator
- Parameters:
folder
- Folderfoldered
- Foldered
- Throws:
IllegalArgumentException
- if any of the parameters not in the cache
addWTPart
public com.ptc.windchill.uwgm.soap.uwgmdb.PartIteration addWTPart(WTPart wtPart)
throws WTException
- Specified by:
addWTPart
in interface RequestResultCache.Populator
- Throws:
WTException
addWTPartMaster
public com.ptc.windchill.uwgm.soap.uwgmdb.PartMaster addWTPartMaster(WTPartMaster wtPartMaster)
- Specified by:
addWTPartMaster
in interface RequestResultCache.Populator
addEPMWorkspace
public com.ptc.windchill.uwgm.soap.uwgmdb.Workspace addEPMWorkspace(EPMWorkspace epmWS)
- Specified by:
addEPMWorkspace
in interface RequestResultCache.Populator
addEPMWorkspace
public com.ptc.windchill.uwgm.soap.uwgmdb.Workspace addEPMWorkspace(EPMWorkspace epmWS,
long clientStateId)
- Specified by:
addEPMWorkspace
in interface RequestResultCache.Populator
processWorkspaces
void processWorkspaces()
throws UwgmErrorException
- Throws:
UwgmErrorException
processFolders
void processFolders()
throws UwgmErrorException
- Throws:
UwgmErrorException
processContainers
void processContainers()
throws UwgmErrorException
- Throws:
UwgmErrorException
processEpmIterations
void processEpmIterations()
throws UwgmErrorException
- Throws:
UwgmErrorException
processEpmMasters
void processEpmMasters()
throws UwgmErrorException
- Throws:
UwgmErrorException
processPartIterations
void processPartIterations()
throws UwgmErrorException
- Throws:
UwgmErrorException
processPartMasters
void processPartMasters()
throws UwgmErrorException
- Throws:
UwgmErrorException