wt.epm.clients.relateditems
Class DocCentricProcessor
java.lang.Object
wt.epm.clients.relateditems.RelatedItemsProcessor
wt.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configSpec
private ConfigSpec configSpec
associated
private AssociatedObjects associated
dependencyGraph
private DependencyGraph dependencyGraph
relatedDrawings
private RelatedDrawings relatedDrawings
familyTableFinder
private FamilyTableFinder familyTableFinder
DocCentricProcessor
public DocCentricProcessor(DocCentricProcessor.Options options)
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