com.ptc.windchill.uwgm.proesrv.rrc
Class RRCPartUsageHelper

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.rrc.RRCPartUsageHelper

public class RRCPartUsageHelper
extends Object

Process UsageDependencies attribute


Field Summary
private  RequestResultCache cache
           
private  Collection iterations
           
private  WTKeyedMap linkMap
           
private static Log log
           
 
Constructor Summary
RRCPartUsageHelper(Collection iterations, RequestResultCache cache)
          Construct helper for given collection of iterations
 
Method Summary
private  com.ptc.windchill.uwgm.soap.impl.uwgmdb.PartUsage_i createPartUsage(WTPartUsageLink wtLink, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
           
private  boolean dependenciesRequested(com.ptc.windchill.uwgm.soap.uwgmdb.PartIteration it)
           
private  com.ptc.windchill.uwgm.soap.uwgmdb.PartMaster getPartMaster(WTPartMaster wtMaster)
           
private  void retrievePartUsageData()
          Retrieve ND for the collection of WTPart objects.
 void setDependencyInfo()
           
private  void setDependencyInfo(com.ptc.windchill.uwgm.soap.impl.uwgmdb.PartIterationK01_i partIter_i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log

iterations

private final Collection iterations

cache

private final RequestResultCache cache

linkMap

private WTKeyedMap linkMap
Constructor Detail

RRCPartUsageHelper

public RRCPartUsageHelper(Collection iterations,
                          RequestResultCache cache)
Construct helper for given collection of iterations

Parameters:
iterations - Collection
cache - RequestResultCache
Method Detail

setDependencyInfo

public void setDependencyInfo()

setDependencyInfo

private void setDependencyInfo(com.ptc.windchill.uwgm.soap.impl.uwgmdb.PartIterationK01_i partIter_i)

createPartUsage

private com.ptc.windchill.uwgm.soap.impl.uwgmdb.PartUsage_i createPartUsage(WTPartUsageLink wtLink,
                                                                            com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)

getPartMaster

private com.ptc.windchill.uwgm.soap.uwgmdb.PartMaster getPartMaster(WTPartMaster wtMaster)

retrievePartUsageData

private void retrievePartUsageData()
Retrieve ND for the collection of WTPart objects. Store result to the ndDocs member.


dependenciesRequested

private boolean dependenciesRequested(com.ptc.windchill.uwgm.soap.uwgmdb.PartIteration it)