wt.epm.clients.relateditems
Class PartCentricProcessor
java.lang.Object
wt.epm.clients.relateditems.RelatedItemsProcessor
wt.epm.clients.relateditems.PartCentricProcessor
- public class PartCentricProcessor
- extends RelatedItemsProcessor
In conjunction with PartCentricSelector, the PartCentricProcessor
class performs part-centric "dependency" processing.
The processor supports the following selector options:
part dependents -- NONE, ALL
associated CAD documents -- NONE, SELECTED, ALL
dependents of associated CAD documents -- REQUIRED, ALL
related drawings of associated CAD documents -- NONE, SELECTED, ALL
instances of associated CAD documents -- NONE, SELECTED, ALL
associated WT documents -- NONE, SELECTED, ALL
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
partConfigSpec
private ConfigSpec partConfigSpec
docConfigSpec
private ConfigSpec docConfigSpec
associated
private AssociatedObjects associated
partDependencyGraph
private DependencyGraph partDependencyGraph
cadDependencyGraph
private DependencyGraph cadDependencyGraph
relatedDrawings
private RelatedDrawings relatedDrawings
familyTableFinder
private FamilyTableFinder familyTableFinder
PartCentricProcessor
public PartCentricProcessor(PartCentricProcessor.Options options)
getRelatedObjects
public List getRelatedObjects(Workable[] seedObjects,
PartCentricSelector selector)
throws WTException
- Find the objects related to the selected parts such as their dependents,
their associated CAD documents, drawings related to their associated CAD
documents, etc. 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
private RelatedItemsProcessor.ObjectInfoCache getRelatedObjects(List selected,
PartCentricSelector selector)
throws WTException
- Throws:
WTException
getAssociated
protected List getAssociated(List groups,
AssociatedObjects associated)
throws WTException
- Throws:
WTException
getWTAssociated
private List getWTAssociated(List groups,
AssociatedObjects associated)
throws WTException
- Throws:
WTException
getDrawings
protected List getDrawings(List groups,
AssociatedObjects associated)
throws WTException
- Throws:
WTException