|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WTPartService
This service interface defines the API for managing WTParts,
WTPartMasters, WTPartConfigSpecs and hierarchies of these
parts. There is no API for managing Part, PartMaster
and PartVersion so if you implement your own parts that
implement these interfaces but are not subclassed from WTPart,
WTPartMaster and WTPartConfigSpec, then you
will also need to create your own service to manage them.
WTPartHelper has no helper methodsStandardWTPartService has listenersPartException
| Method Summary | |
|---|---|
void |
assignView(WTPart part,
String a_view)
Assign View Supported API: true |
WTSet |
filterPartsWithChildren(WTCollection parts)
Return a WTSet of the part objects passed in that play the used-by role in a WTPartUsageLink; that is, this method returns those parts that use other parts. |
WTPartConfigSpec |
findWTPartConfigSpec()
Returns the WTPartConfigSpec for the current principal. |
QueryResult |
getAlternateForWTPartMasters(WTPartMaster partMaster)
Navigates WTPartAlternateLinks along the Alternate For role. |
QueryResult |
getAlternatesWTPartMasters(WTPartMaster partMaster)
Navigates WTPartAlternateLinks along the Alternates role. |
QueryResult |
getDescribedByDocuments(WTPart part)
Return a QueryResult of Documents (WTDocuments AND EPMDocuments) that the given WTPart is being described by. |
QueryResult |
getDescribedByDocuments(WTPart part,
boolean onlyOtherSides)
Return a QueryResult of Documents (WTDocuments AND EPMDocuments) that the given WTPart is being described by. |
QueryResult |
getDescribedByWTDocuments(WTPart part)
Return a QueryResult of WTDocuments that the given WTPart is being described by. |
QueryResult |
getDescribedByWTDocuments(WTPart part,
boolean onlyOtherSides)
Return a QueryResult of WTDocuments that the given WTPart is being described by. |
QueryResult |
getDescribesWTParts(WTDocument document)
Return a QueryResult of WTParts that the given WTDocument describes. |
QueryResult |
getDescribesWTParts(WTDocument document,
boolean onlyOtherSides)
Return a QueryResult of WTParts that the given WTDocument describes. |
Timestamp |
getExportDate(WTPart part,
PartExportTarget target)
Get the date when this part iteration was exported to another system - for example, an ERP system. |
void |
getMultilevelBomCompare(WTPartMaster part1,
ConfigSpec spec1,
WTPartMaster part2,
ConfigSpec spec2,
int maxDepth,
MultilevelBomCompareVisitor aVisitor)
Recursively compares parts used by part1 and part2 using config specs 1 and 2 to select the part versions. |
void |
getMultilevelBomCompare(WTPartMaster part1,
WTPartConfigSpec spec1,
WTPartMaster part2,
WTPartConfigSpec spec2,
int maxDepth,
MultilevelBomCompareVisitor aVisitor)
Recursively compares parts used by part1 and part2 using config specs 1 and 2 to select the part versions. |
void |
getMultilevelWhereUsed(WTPart part,
wt.visitor.Navigator navigator,
MultilevelWhereUsedVisitor visitor)
Recursively compares parts used by part1 and part2 using config specs 1 and 2 to select the part versions. |
void |
getMultilevelWhereUsed(WTPart part,
WTPartConfigSpec spec,
wt.visitor.Navigator navigator,
MultilevelWhereUsedVisitor visitor)
Recursively compares parts used by part1 and part2 using config specs 1 and 2 to select the part versions. |
PartUsesOccurrence |
getPartUsesOccurrence(PartPathOccurrence usedByPathOccurrence,
WTProductConfiguration configuration)
Returns the PartUsesOccurrence associated with the given PartPathOccurence for the as used in the given WTProductConfiguration. |
QueryResult |
getReferencesWTDocumentMasters(WTPart part)
Returns the WTDocumentMasters that are referenced by this WTPart. |
QueryResult |
getSubstituteForWTPartUsageLinks(WTPartMaster partMaster)
Navigates WTPartSubstituteLinks along the SubstituteFor role. |
QueryResult |
getSubstitutesWTPartMasters(WTPartUsageLink usageLink)
Navigates WTPartSubstituteLinks along the Substitutes role. |
QueryResult |
getUsedByWTParts(WTPartMaster partMaster)
Navigates the WTPartUsageLink along the usedBy role, returning a QueryResult of WTParts. |
QueryResult |
getUsesWTPartMasters(WTPart part)
Navigates the WTPartUsageLink along the uses role, returning a QueryResult of WTPartUsageLinks. |
Persistable[][][] |
getUsesWTParts(WTList parts,
ConfigSpec configSpec)
Navigates from many used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. |
QueryResult |
getUsesWTParts(WTPart part,
ConfigSpec configSpec)
Applies the configSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at the 0th position and the corresponding iterations (or master if there is no corresponding iteration) in the 1th position. |
QueryResult |
getUsesWTPartsWithAllOccurrences(WTPart part,
ConfigSpec configSpec)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
QueryResult |
getUsesWTPartsWithAllOccurrences(WTPart part,
ConfigSpec configSpec,
PartPathOccurrence subPathOccurrence)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
QueryResult |
getUsesWTPartsWithAllOccurrences(WTPart part,
WTProductConfiguration productConfiguration,
PartPathOccurrence subPathOccurrence)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
QueryResult |
getUsesWTPartsWithAllOccurrences(WTPart part,
WTProductInstance2 productInstance,
PartPathOccurrence subPathOccurrence)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
Persistable[][][] |
getUsesWTPartsWithOccurrences(WTList parts,
List pathOccurrences,
ConfigSpec configSpec)
Navigates from many used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. |
Persistable[][][] |
getUsesWTPartsWithOccurrences(WTList parts,
List pathOccurrences,
WTProductConfiguration productConfiguration)
Navigates from many used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. |
Persistable[][][] |
getUsesWTPartsWithOccurrences(WTList parts,
List pathOccurrences,
WTProductInstance2 productInstance)
Navigates from many used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. |
QueryResult |
getUsesWTPartsWithOccurrences(WTPart part,
ConfigSpec configSpec)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
QueryResult |
getUsesWTPartsWithOccurrences(WTPart part,
ConfigSpec configSpec,
PartPathOccurrence subPathOccurrence)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
QueryResult |
getUsesWTPartsWithOccurrences(WTPart part,
WTProductConfiguration productConfiguration,
PartPathOccurrence subPathOccurrence)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
QueryResult |
getUsesWTPartsWithOccurrences(WTPart part,
WTProductInstance2 productInstance,
PartPathOccurrence subPathOccurrence)
This method applies the ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1. |
boolean |
isAnAlternateOf(WTPartMaster partMasterA,
WTPartMaster partMasterB)
Determines if argument A is an alternate of argument B Supported API: true |
boolean |
isViewUpdateable(WTPartMaster partMaster,
View oldView,
View newView)
Check if view is assignable for give WTPartMaster Supported API: true |
WTPart |
latestExport(WTPartMaster master,
PartExportTarget target)
Returns the most recently iteration of a part master that was exported to another system - for example, an ERP System. |
WTPartMaster |
publish(WTPart part)
Publish the IBA values on the given part to the part master. |
WTPartConfigSpec |
saveWTPartConfigSpec(WTPartConfigSpec a_PartConfigSpec)
Saves the WTPartConfigSpec for the current principal. |
Timestamp |
setExportDate(WTPart part,
PartExportTarget target,
Timestamp timestamp)
Set the date that this part iteration was exported to another system - for example, an ERP system. |
| Method Detail |
|---|
WTPartMaster publish(WTPart part)
throws WTException
part -
WTException
QueryResult getUsesWTParts(WTPart part,
ConfigSpec configSpec)
throws WTException
part - The WTPart to navigate.configSpec - The ConfigSpec to use to filter the iterations for the masters used.
WTExceptionWTPartUsageLink,
WTPart,
WTPartMaster,
Persistable
Persistable[][][] getUsesWTParts(WTList parts,
ConfigSpec configSpec)
throws WTException
used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. Returns a three dimensional array of Persistable
where the first dimension is corresponds the the used-by parts passed
in. The second dimension corresponds to the part usage links from
the used-by part. The third dimension is two elements long where [0]
is the WTPartUsageLink and [2] is the uses WTPart or WTPartMaster
if the config spec did not select an iteration of the uses part.
parts - Ordered list of used-by parts.configSpec - The config spec to use to select the uses part iterations.
WTException
Persistable[][][] getUsesWTPartsWithOccurrences(WTList parts,
List pathOccurrences,
ConfigSpec configSpec)
throws WTException
used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. Also includes uses and path occurrences along with
path occurrence data. The parameters parts and pathOccurrences
are parallel lists where the part and its corresponding path occurrence
are at the same index in the two lists. If a part does not have a
path occurrence, then its path occurrence should be null in the list
of path occurrences. This method returns a three dimensional array
of Persistable where the first dimension is corresponds the the used-by
parts passed in. The second dimension corresponds to the part usage
links from the used-by part. The third dimension is two elements long
where [0] is the WTPartUsageLink and [2] is the uses WTPart or WTPartMaster
if the config spec did not select an iteration of the uses part.
parts - Ordered list of used-by parts.pathOccurrences - Ordered list of path occurrences whose order corresponds to the order of the parts.configSpec - The config spec to use to select the uses part iterations.
WTException
Persistable[][][] getUsesWTPartsWithOccurrences(WTList parts,
List pathOccurrences,
WTProductConfiguration productConfiguration)
throws WTException
used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. Also includes uses and path occurrences along with
path occurrence data. The parameters parts and pathOccurrences
are parallel lists where the part and its corresponding path occurrence
are at the same index in the two lists. If a part does not have a
path occurrence, then its path occurrence should be null in the list
of path occurrences. This method returns a three dimensional array
of Persistable where the first dimension is corresponds the the used-by
parts passed in. The second dimension corresponds to the part usage
links from the used-by part. The third dimension is two elements long
where [0] is the WTPartUsageLink and [2] is the uses WTPart or WTPartMaster
if the config spec did not select an iteration of the uses part.
parts - Ordered list of used-by parts.pathOccurrences - Ordered list of path occurrences whose order corresponds to the order of the parts.productConfiguration - The product configuration being navigated. This is used as the config spec and to get the path occurrence data.
WTException
Persistable[][][] getUsesWTPartsWithOccurrences(WTList parts,
List pathOccurrences,
WTProductInstance2 productInstance)
throws WTException
used-by parts to their uses
part masters and applies a ConfigSpec to select the iterations
of the uses parts. Also includes uses and path occurrences along with
path occurrence data. The parameters parts and pathOccurrences
are parallel lists where the part and its corresponding path occurrence
are at the same index in the two lists. If a part does not have a
path occurrence, then its path occurrence should be null in the list
of path occurrences. This method returns a three dimensional array
of Persistable where the first dimension is corresponds the the used-by
parts passed in. The second dimension corresponds to the part usage
links from the used-by part. The third dimension is two elements long
where [0] is the WTPartUsageLink and [2] is the uses WTPart or WTPartMaster
if the config spec did not select an iteration of the uses part.
parts - Ordered list of used-by parts.pathOccurrences - Ordered list of path occurrences whose order corresponds to the order of the parts.productInstance - The product instance being navigated. This is used as the config spec and to get the path occurrence data.
WTException
QueryResult getUsesWTPartsWithOccurrences(WTPart part,
ConfigSpec configSpec)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.configSpec - The ConfigSpec to use to filter the iterations for the masters used.
WTException
QueryResult getUsesWTPartsWithOccurrences(WTPart part,
ConfigSpec configSpec,
PartPathOccurrence subPathOccurrence)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.configSpec - The ConfigSpec to use to filter the iterations for the masters used.subPathOccurrence - An array of UsesOccurrence objects that is used to find the relevant PathOccurrence objects that should be returned.
WTException
QueryResult getUsesWTPartsWithOccurrences(WTPart part,
WTProductConfiguration productConfiguration,
PartPathOccurrence subPathOccurrence)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.productConfiguration - The ConfigSpec to use to filter the iterations for the masters used.subPathOccurrence - An array of UsesOccurrence objects that is used to find the relevant PathOccurrence objects that should be returned.
WTException
QueryResult getUsesWTPartsWithOccurrences(WTPart part,
WTProductInstance2 productInstance,
PartPathOccurrence subPathOccurrence)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.productInstance - The ConfigSpec to use to filter the iterations for the masters used.subPathOccurrence - An array of UsesOccurrence objects that is used to find the relevant PathOccurrence objects that should be returned.
WTException
QueryResult getUsesWTPartsWithAllOccurrences(WTPart part,
ConfigSpec configSpec)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.configSpec - The ConfigSpec to use to filter the iterations for the masters used.
WTException
QueryResult getUsesWTPartsWithAllOccurrences(WTPart part,
ConfigSpec configSpec,
PartPathOccurrence subPathOccurrence)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.configSpec - The ConfigSpec to use to filter the iterations for the masters used.subPathOccurrence - An array of UsesOccurrence objects that is used to find the relevant PathOccurrence objects that should be returned.
WTException
QueryResult getUsesWTPartsWithAllOccurrences(WTPart part,
WTProductConfiguration productConfiguration,
PartPathOccurrence subPathOccurrence)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.productConfiguration - The ConfigSpec to use to filter the iterations for the masters used.subPathOccurrence - An array of UsesOccurrence objects that is used to find the relevant PathOccurrence objects that should be returned.
WTException
QueryResult getUsesWTPartsWithAllOccurrences(WTPart part,
WTProductInstance2 productInstance,
PartPathOccurrence subPathOccurrence)
throws WTException
ConfigSpec
to the result of navigating the WTPartUsageLink along the
uses role; returns a QueryResult of Persistable[],
in which the WTPartUsageLinks are at position 0 (and
their occurrenceVector is populated with occurrences), the corresponding
WTParts (or WTPartMasters if there is no corresponding
part) in position 1.
part - The WTPart to navigate.productInstance - The ConfigSpec to use to filter the iterations for the masters used.subPathOccurrence - An array of UsesOccurrence objects that is used to find the relevant PathOccurrence objects that should be returned.
WTException
QueryResult getUsesWTPartMasters(WTPart part)
throws WTException
part - The part to navigate.
WTExceptionWTPartUsageLink,
WTPartMaster
WTSet filterPartsWithChildren(WTCollection parts)
throws WTException
parts - The colllection of WTParts to check which ones use other parts.
WTException
PartUsesOccurrence getPartUsesOccurrence(PartPathOccurrence usedByPathOccurrence,
WTProductConfiguration configuration)
throws WTException
PartUsesOccurrence associated with the given PartPathOccurence for the as used in the given WTProductConfiguration.
usedByPathOccurrence - configuration -
WTException
QueryResult getUsedByWTParts(WTPartMaster partMaster)
throws WTException
partMaster - The part master to navigate to find those parts that use it.
WTExceptionWTPartUsageLink,
WTPart
QueryResult getReferencesWTDocumentMasters(WTPart part)
throws WTException
part - The part to get the referenced documents for.
WTExceptionWTPartReferenceLink,
WTDocumentMaster
QueryResult getDescribedByDocuments(WTPart part)
throws WTException
part -
WTExceptionWTPartDescribeLink,
WTPart,
WTDocument,
EPMDescribeLink,
wt.emp.EPMDocument
QueryResult getDescribedByDocuments(WTPart part,
boolean onlyOtherSides)
throws WTException
part - onlyOtherSides -
WTExceptionWTPartDescribeLink,
WTPart,
WTDocument,
EPMDescribeLink,
wt.emp.EPMDocument
QueryResult getDescribedByWTDocuments(WTPart part)
throws WTException
part -
WTExceptionWTPartDescribeLink,
WTPart,
WTDocument
QueryResult getDescribedByWTDocuments(WTPart part,
boolean onlyOtherSides)
throws WTException
part - onlyOtherSides -
WTExceptionWTPartDescribeLink,
WTPart,
WTDocument
QueryResult getDescribesWTParts(WTDocument document)
throws WTException
document -
WTExceptionWTPartDescribeLink,
WTPart,
WTDocument
QueryResult getDescribesWTParts(WTDocument document,
boolean onlyOtherSides)
throws WTException
document - onlyOtherSides -
WTExceptionWTPartDescribeLink,
WTPart,
WTDocument
QueryResult getAlternatesWTPartMasters(WTPartMaster partMaster)
throws WTException
partMaster - WTPartMaster whose alternates are desired
WTExceptionWTPartAlternateLink,
WTPartMaster
QueryResult getAlternateForWTPartMasters(WTPartMaster partMaster)
throws WTException
partMaster -
WTExceptionWTPartAlternateLink,
WTPartMaster
boolean isAnAlternateOf(WTPartMaster partMasterA,
WTPartMaster partMasterB)
throws WTException
partMasterA - partMasterB -
WTException
QueryResult getSubstitutesWTPartMasters(WTPartUsageLink usageLink)
throws WTException
usageLink - WTPartUsageLink for which substitutes are desired
WTExceptionWTPartSubstituteLink,
WTPartMaster
QueryResult getSubstituteForWTPartUsageLinks(WTPartMaster partMaster)
throws WTException
partMaster -
WTExceptionWTPartSubstituteLink,
WTPartMaster
WTPartConfigSpec findWTPartConfigSpec()
throws WTException
WTException
WTPartConfigSpec saveWTPartConfigSpec(WTPartConfigSpec a_PartConfigSpec)
throws WTException
a_PartConfigSpec - The WTPartConfigSpec to save.
WTException
Timestamp setExportDate(WTPart part,
PartExportTarget target,
Timestamp timestamp)
throws WTException
part - The part iteration being exported to another system.target - The name of the target where the part was exported.timestamp - A timestamp specifying when the part was exported to another system. If null, the export date is set to the current time and date.
WTException
Timestamp getExportDate(WTPart part,
PartExportTarget target)
throws WTException
part - The part iteration that was exported to another system.target - The name of the target where the part had been exported.
WTException
WTPart latestExport(WTPartMaster master,
PartExportTarget target)
throws WTException
master - The part master.target - The name of the target where the part had been exported.
WTException
void getMultilevelBomCompare(WTPartMaster part1,
WTPartConfigSpec spec1,
WTPartMaster part2,
WTPartConfigSpec spec2,
int maxDepth,
MultilevelBomCompareVisitor aVisitor)
throws WTException,
SAXException
getMultilevelBomDifferences. For customization this method uses
a MultilevelBomCompareVisitor.
part1 - The first part being compared. It will be compared to part2 using spec1 to navigate its part structure.spec1 - The config spec being used to navigate the part structure of part1.part2 - The second part being compared. It will be compared to part1 using spec2 to navigate its part structure.spec2 - The config spec being used to navigate the part structure of part2.maxDepth - The maximum number of levels down in the part structure to navigate as the comparison is done.aVisitor - The visitor used to navigate the two product structures that are being compared. Customization of the data available for the report can be done by passing different visitors. MultilevelBomCompareVisitor is the reference implementation supplied out-of-the-box.
WTException
SAXExceptionMultilevelBomCompareVisitor
void getMultilevelBomCompare(WTPartMaster part1,
ConfigSpec spec1,
WTPartMaster part2,
ConfigSpec spec2,
int maxDepth,
MultilevelBomCompareVisitor aVisitor)
throws WTException,
SAXException
getMultilevelBomDifferences. For customization this method uses
a MultilevelBomCompareVisitor.
part1 - The first part being compared. It will be compared to part2 using spec1 to navigate its part structure.spec1 - The config spec being used to navigate the part structure of part1.part2 - The second part being compared. It will be compared to part1 using spec2 to navigate its part structure.spec2 - The config spec being used to navigate the part structure of part2.maxDepth - The maximum number of levels down in the part structure to navigate as the comparison is done.aVisitor - The visitor used to navigate the two product structures that are being compared. Customization of the data available for the report can be done by passing different visitors. MultilevelBomCompareVisitor is the reference implementation supplied out-of-the-box.
WTException
SAXException
void getMultilevelWhereUsed(WTPart part,
WTPartConfigSpec spec,
wt.visitor.Navigator navigator,
MultilevelWhereUsedVisitor visitor)
throws WTException,
WTPropertyVetoException
part - The part whose usage is being reported.spec - The spec used to navigate the product structures where this part may be used.navigator - A navigator used to traverse up the product structure.visitor - A visitor used for each node of the product structure.
WTException
WTPropertyVetoExceptionMultilevelBomCompareVisitor
void getMultilevelWhereUsed(WTPart part,
wt.visitor.Navigator navigator,
MultilevelWhereUsedVisitor visitor)
throws WTException,
WTPropertyVetoException
part - The part whose usage is being reported.navigator - A navigator used to traverse up the product structure.visitor - A visitor used for each node of the product structure.
WTException
WTPropertyVetoExceptionMultilevelBomCompareVisitor
void assignView(WTPart part,
String a_view)
throws WTException,
SAXException
part - The first part being compared. It will be compared to part2 using spec1 to navigate its part structure.a_view -
WTException
SAXException
boolean isViewUpdateable(WTPartMaster partMaster,
View oldView,
View newView)
throws WTException
partMaster - oldView - newView -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||