wt.epm.clients.relateditems
Class DocCentricProcessor

java.lang.Object
  extended bywt.epm.clients.relateditems.RelatedItemsProcessor
      extended bywt.epm.clients.relateditems.DocCentricProcessor

public class DocCentricProcessor
extends RelatedItemsProcessor

In conjunction with DocCentricSelector, the DocCentricProcessor class performs document-centric "dependency" processing. The processor supports the following selector options: dependents -- REQUIRED, ALL related drawings -- NONE, SELECTED, ALL associated parts -- NONE, SELECTED, ALL included instances -- NONE, SELECTED, ALL


Nested Class Summary
static class DocCentricProcessor.Options
          Options is a class that holds the options for document-centric "dependency" processing.
 
Nested classes inherited from class wt.epm.clients.relateditems.RelatedItemsProcessor
RelatedItemsProcessor.ObjectGroup, RelatedItemsProcessor.ObjectInfoCache
 
Field Summary
private  AssociatedObjects associated
           
private  ConfigSpec configSpec
           
private  DependencyGraph dependencyGraph
           
private  FamilyTableFinder familyTableFinder
           
private  RelatedDrawings relatedDrawings
           
 
Fields inherited from class wt.epm.clients.relateditems.RelatedItemsProcessor
GET_ALL, GET_NONE, GET_REQUIRED
 
Constructor Summary
DocCentricProcessor(DocCentricProcessor.Options options)
           
 
Method Summary
 RelatedItemsProcessor.ObjectInfoCache getRelatedObjects(List selected, DocCentricSelector selector)
           
 List getRelatedObjects(Workable[] seedObjects, DocCentricSelector selector)
          Find the dependents, drawings, instances and associated parts for the selected CAD documents.
 
Methods inherited from class wt.epm.clients.relateditems.RelatedItemsProcessor
getAssociated, getDependents, getDependents, getDrawings, getFamilyMembers, getFolders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configSpec

private ConfigSpec configSpec

associated

private AssociatedObjects associated

dependencyGraph

private DependencyGraph dependencyGraph

relatedDrawings

private RelatedDrawings relatedDrawings

familyTableFinder

private FamilyTableFinder familyTableFinder
Constructor Detail

DocCentricProcessor

public DocCentricProcessor(DocCentricProcessor.Options options)
Method Detail

getRelatedObjects

public List getRelatedObjects(Workable[] seedObjects,
                              DocCentricSelector selector)
                       throws WTException
Find the dependents, drawings, instances and associated parts for the selected CAD documents. The options specified in the selector dictate what kinds of related objects to return.

Returns:
List of ObjectInfo objects, one for each related object found
Throws:
WTException

getRelatedObjects

public RelatedItemsProcessor.ObjectInfoCache getRelatedObjects(List selected,
                                                               DocCentricSelector selector)
                                                        throws WTException
Throws:
WTException