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

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

public final class RRCAssociationHelper
extends Object

Process EpmIteration.PartAssociations and PartIteration.EpmAssociations attributes.


Field Summary
private  Collection addedEpmIters
           
private  Collection addedPartIters
           
private  RequestResultCache cache
           
private  EPMWorkspace epmWS
           
private  Collection iterations
           
private static Log log
           
private  ResultGraph resGraph
           
 
Constructor Summary
RRCAssociationHelper(Collection iterations, RequestResultCache cache)
          Construct helper for given collection of iterations
 
Method Summary
private  void addAssociationLink(BinaryLink wtLink, EPMDocument wtEpmDoc, WTPart wtPart)
           
private  boolean associationsRequested(com.ptc.windchill.uwgm.soap.uwgmdb.FolderedIteration it)
           
(package private)  Collection getAddedEpmIterations()
           
(package private)  Collection getAddedPartIterations()
           
private  void processLinks()
           
private  void processNodes()
           
private  void retrieveAssociations()
          Retrieve associated WTParts for the collection of EPMDocument objects.
 void setAssociations()
           
 void setAssociations(EPMWorkspace epmWS)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final Log log

iterations

private final Collection iterations

cache

private final RequestResultCache cache

epmWS

private EPMWorkspace epmWS

resGraph

private ResultGraph resGraph

addedEpmIters

private final Collection addedEpmIters

addedPartIters

private final Collection addedPartIters
Constructor Detail

RRCAssociationHelper

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

Parameters:
iterations - Collection
cache - RequestResultCache
Method Detail

setAssociations

public void setAssociations(EPMWorkspace epmWS)

setAssociations

public void setAssociations()

getAddedEpmIterations

Collection getAddedEpmIterations()

getAddedPartIterations

Collection getAddedPartIterations()

processNodes

private void processNodes()

processLinks

private void processLinks()

addAssociationLink

private void addAssociationLink(BinaryLink wtLink,
                                EPMDocument wtEpmDoc,
                                WTPart wtPart)

retrieveAssociations

private void retrieveAssociations()
Retrieve associated WTParts for the collection of EPMDocument objects. Store result to the ndDocs member.


associationsRequested

private boolean associationsRequested(com.ptc.windchill.uwgm.soap.uwgmdb.FolderedIteration it)