|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EPMStructureService
The service for the struct package containing "navigetters" to navigate
the EPMMemberLink or EPMReferenceLink to both masters and iterations.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
WTKeyedMap |
getImages(WTCollection sources,
boolean onlyDirect)
Returns WTKeyedMap with key as source document passed as argument and value as WTCollection of latest compatible images for the source in the key. |
QueryResult |
navigateBothRoles(EPMDocument document,
Class linkClass)
Navigates the both roles of the given link class. |
QueryResult |
navigateContainedIn(EPMDocument contained,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the CONTAINED_IN role of an EPMContainedInLink. |
QueryResult |
navigateContainedIn(EPMDocument contained,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigates the CONTAINED_IN role of the EPMContainedInLink and finds the appropriate iterations of the "container" EPM family table by applying the configSpec. |
WTKeyedMap |
navigateContainedIn(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMDocuments, navigates the CONTAINED_IN role of the EPMContainedIn link and returns a WTKeyedMap whose values are WTSets of EPMContainedIn links or EPMFamilyTables depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateContains(EPMFamilyTable container,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the CONTAINS role of an EPMContainedInLink. |
QueryResult |
navigateContains(EPMFamilyTable container,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Deprecated. |
WTKeyedMap |
navigateContains(WTCollection familyTables,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMFamilyTables, navigates the CONTAINS role of the EPMContainedIn link and returns a WTKeyedMap whose values are WTSets of EPMContainedIn links or EPMDocuments depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateGeneric(EPMDocument variant,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the GENERIC role of the EPM Variant Link. |
WTKeyedMap |
navigateGeneric(WTCollection variants,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMDocuments, navigates the GENERIC role of the EPMVariantLink and returns a WTKeyedMap whose values are WTSets of EPMVariantLinks or EPMDocumentMasters depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateGenericToIteration(EPMDocument variant,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigates the GENERIC role of the EPMVariantLink and finds the appropriate iteration of the generic for this variant by applying the configSpec. |
WTKeyedMap |
navigateGenericToIteration(WTCollection variants,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
For the given WTCollection of EPMDocuments, navigates the GENERIC role of the EPMVariantLink and finds the appropriate iteration for each other-side EPMDocumentMaster by applying the config spec. |
QueryResult |
navigateReferencedBy(DocumentMaster master,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the REFERENCED_BY role of the EPMReferenceLink and returns a QueryResult of EPMReferenceLinks if the value of onlyOtherSide is "false" or EPMDocuments if the value is "true". |
WTKeyedMap |
navigateReferencedBy(WTCollection masters,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of DocumentMasters, navigates the REFERENCED_BY role of the EPMReferenceLink and returns a WTKeyedMap whose values are WTSets of EPMReferenceLinks or EPMDocuments depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateReferences(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the REFERENCES role of the EPMReferenceLink, returning a QueryResult of EPMReferenceLinks if the value of onlyOtherSide is "false" or DocumentMasters if the value is "true". |
WTKeyedMap |
navigateReferences(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMDocuments, navigates the REFERENCES role of the EPMReferenceLink and returns a WTKeyedMap whose values are WTSets of EPMReferenceLinks or DocumentMasters depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateReferencesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigates the REFERENCES role of the EPMReferenceLink and finds the appropriate iterations for the DocumentMasters by applying the configSpec. |
EPMRecursiveResultSet |
navigateReferencesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec,
int depth)
Navigate the REFERENCES role of the EPMReferenceLink and finds the appropriate iterations for those DocumentMasters by applying the configSpec. |
WTKeyedMap |
navigateReferencesToIteration(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
For the given WTCollection of EPMDocuments, navigates the REFERENCES role of the EPMReferenceLink and finds the appropriate iteration for each other-side DocumentMaster by applying the config spec. |
QueryResult |
navigateUsedBy(EPMDocumentMaster master,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the USED_BY role of the EPMMemberLink and returns a QueryResult of EPMMemberLinks if the value of onlyOtherSide is "false" or EPMDocuments if the value is "true". |
WTKeyedMap |
navigateUsedBy(WTCollection masters,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMDocumentMasters, navigates the USED_BY role of the EPMMemberLink and returns a WTKeyedMap whose values are WTSets of EPMMemberLinks or EPMDocuments depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateUses(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the USES role of the EPMMemberLink, returning a QueryResult of EPMMemberLinks if onlyOtherSide is "false" or EPMDocumentMasters if onlyOtherSide is "true". |
WTKeyedMap |
navigateUses(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMDocuments, navigates the USES role of the EPMMemberLink and returns a WTKeyedMap whose values are WTSets of EPMMemberLinks or EPMDocumentMasters depending upon the value of the onlyOtherSide flag. |
QueryResult |
navigateUsesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigate the USES role of the EPMMemberLink and finds the appropriate iterations for those EPMDocumentMasters by applying the configSpec. |
EPMRecursiveResultSet |
navigateUsesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec,
int depth)
Navigate the USES role of the EPMMemberLink and finds the appropriate iterations for those EPMDocumentMasters by applying the configSpec. |
WTKeyedMap |
navigateUsesToIteration(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
For the given WTCollection of EPMDocuments, navigates the USES role of the EPMMemberLink and finds the appropriate iteration for each other-side EPMDocumentMaster by applying the config spec. |
QueryResult |
navigateVariant(EPMDocumentMaster genericMaster,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the VARIANT role of the EPMVariantLink. |
WTKeyedMap |
navigateVariant(WTCollection masters,
QuerySpec querySpec,
boolean onlyOtherSide)
For the given WTCollection of EPMDocumentMasters, navigates the VARIANT role of the EPMVariantLink and returns a WTKeyedMap whose values are WTSets of EPMVariantLinks or EPMDocuments depending upon the value of the onlyOtherSide flag. |
| Method Detail |
|---|
QueryResult navigateUses(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
document - The document USED_BY the link.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true return a QueryResult of EPMDocumentMasters otherwise return a QueryResult of EPMMemberLinks.
WTException
WTKeyedMap navigateUses(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
documents - EPMDocuments that USE other EPMDocumentMastersquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMDocumentMasters. If false, the values are WTSets of EPMMemberLinks.
WTException
QueryResult navigateUsedBy(EPMDocumentMaster master,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
master - The EPMDocumentMaster that the link USES.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true, return a QueryResult of EPMDocuments otherwise return a QueryResult of EPMMemberLinks.
WTException
WTKeyedMap navigateUsedBy(WTCollection masters,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
masters - EPMDocumentMasters that are USED_BY other EPMDocumentsquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMDocuments. If false, the values are WTSets of EPMMemberLinks.
WTException
QueryResult navigateUsesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is "true", this method returns a QueryResult of EPMDocuments and EPMDocumentMasters. An EPMDocumentMaster is returned when none of its iterations match the configSpec criteria.
If onlyOtherSide is "false", returns a QueryResult of Persistable[]
in which the 0th Persistable in the array is the EPMMemberLink and
the 1th position is the matching EPMDocument or EPMDocumentMaster
when none of its iterations match the configSpec criteria.
Supported API: true
document - The document USED_BY the link.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If onlyOtherSide is "true", returns a QueryResult of EPMDocuments and EPMDocumentMasters. An EPMDocumentMaster is returned when none of its iteration match the ConfigSpec. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the EPMMemberLink and the 1th position is the matching EPMDocument or EPMDocumentMaster.configSpec -
WTException
wt.vc.config.ConfigException
WTKeyedMap navigateUsesToIteration(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException
This method returns a WTKeyedMap. If onlyOtherSide is "true", the
values are WTSets of EPMDocuments and possibly EPMDocumentMasters.
If onlyOtherSide is "false", the values are Lists of two-element Persistable
arrays where the first element is an EPMMemberLink and the second
element is either an EPMDocument or possibly an EPMDocumentMaster.
An EPMDocumentMaster is returned when none of its iterations match
the config spec criteria.
Supported API: true
documents - EPMDocuments that USE other EPMDocumentMastersquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the config spec selected iterations of the other-side EPMDocumentMasters or the EPMMemberLinks paired with the selected iterations . If true, the values of the WTKeyedMap are WTSets of EPMDocuments. If false, the values are Lists of two-element Persistable arrays.configSpec - config spec that selects the appropriate iteration of each other-side master
WTException
QueryResult navigateReferences(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
document - The document USED_BY the link.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true return a QueryResult of DocumentMasters otherwise return a QueryResult of EPMReferenceLinks.
WTException
WTKeyedMap navigateReferences(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
documents - EPMDocuments that REFERENCE other EPMDocumentMastersquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of DocumentMasters. If false, the values are WTSets of EPMReferenceLinks.
WTException
QueryResult navigateReferencedBy(DocumentMaster master,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
master - The DocumentMaster that the link REFERENCES.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true, return a QueryResult of EPMDocuments otherwise return a QueryResult of EPMReferenceLinks.
WTException
WTKeyedMap navigateReferencedBy(WTCollection masters,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
masters - DocumentMasters that are REFERENCED_BY other EPMDocumentsquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMDocuments. If false, the values are WTSets of EPMReferenceLinks.
WTException
QueryResult navigateReferencesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is "true", this method returns a QueryResult of DocumentMaster
iterations and DocumentMasters. A DocumentMaster is returned when
none of its iteration match the configSpec. If "false", returns a
QueryResult of Persistable[] in which the 0th Persistable in the array
is the EPMReferenceLink and the 1th position is the matching DocumentMaster
iteration or DocumentMaster.
Supported API: true
document - The document USED_BY the link.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If onlyOtherSide is "true", this method returns a QueryResult of DocumentMaster iterations and DocumentMaster objects. A DocumentMastered is returned when none of its iteration match the configSpec. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the EPMReferenceLink and the 1th position is the matching DocumentMaster iteration or DocumentMaster object.configSpec -
WTException
wt.vc.config.ConfigException
WTKeyedMap navigateReferencesToIteration(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException
This method returns a WTKeyedMap. If onlyOtherSide is "true", the
values are WTSets of Documents and possibly DocumentMasters. If onlyOtherSide
is "false", the values are Lists of two-element Persistable arrays
where the first element is an EPMReferenceLink and the second element
is either a Document or possibly a DocumentMaster. A DocumentMaster
is returned when none of its iterations match the config spec criteria.
Supported API: true
documents - EPMDocuments that USE other EPMDocumentMastersquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the config spec selected iterations of the other-side DocumentMasters or the EPMReferenceLinks paired with the selected iterations . If true, the values of the WTKeyedMap are WTSets of Documents. If false, the values are Lists of two-element Persistable arrays.configSpec - config spec that selects the appropriate iteration of each other-side master
WTException
EPMRecursiveResultSet navigateUsesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec,
int depth)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is true, the EPMRecursiveResultSet returned will
not contain infomation about the EPMMemberLinks otherwise it will.
Supported API: true
document - The document USED_BY the link.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If "true", the EPMRecursiveResultSet returned will not contain any information about the EPMMemberLinks otherwise it will.configSpec - depth -
WTException
wt.vc.config.ConfigException
EPMRecursiveResultSet navigateReferencesToIteration(EPMDocument document,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec,
int depth)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is true, this method returns a EPMRecursiveResultSet
that does not contain infomation about the EPMReferenceLinks otherwise
it does.
Supported API: true
document - The document USED_BY the link.querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If true, the EPMRecursiveResultSet returned will not contain infomation about the EPMReferenceLinks otherwise it will.configSpec - depth -
WTException
wt.vc.config.ConfigException
QueryResult navigateGeneric(EPMDocument variant,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
If onlyOtherSide is true, it returns a QueryResult that holds the
Master of the EPM Document that is the generic for this variant. If
onlyOtherSide is false, it returns a QueryResult that holds the EPM
Variant link to the generic.
Supported API: true
variant - querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true return a QueryResult of EPMDocumentMasters otherwise return a QueryResult of EPMVariantLinks.
WTException
WTKeyedMap navigateGeneric(WTCollection variants,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
variants - EPMDocuments that are variants of other EPMDocumentMastersquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMDocumentMasters. If false, the values are WTSets of EPMVariantLinks.
WTException
QueryResult navigateGenericToIteration(EPMDocument variant,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is true, it returns a QueryResult that holds the EPMDocument that is the generic for this variant. An EPMDocumentMaster is returned when none of the iterations of the generic match the configSpec criteria.
If onlyOtherSide is false, it returns a QueryResult of Persistable[]
in which the first Persistable in the array is the EPMVariantLink
and the second is the matching EPMDocument or EPMDocumentMaster when
none of its iterations match the configSpec criteria.
Supported API: true
variant - querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If onlyOtherSide is "true", returns a QueryResult of EPMDocuments and EPMDocumentMasters. An EPMDocumentMaster is returned when none of its iteration match the ConfigSpec. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the EPMVariantLink and the 1th position is the matching EPMDocument or EPMDocumentMaster.configSpec -
WTException
wt.vc.config.ConfigException
WTKeyedMap navigateGenericToIteration(WTCollection variants,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException
This method returns a WTKeyedMap. If onlyOtherSide is "true", the
values are WTSets of EPMDocuments and possibly EPMDocumentMasters.
If onlyOtherSide is "false", the values are Lists of two-element Persistable
arrays where the first element is an EPMVariantLink and the second
element is either an EPMDocument or possibly an EPMDocumentMaster.
An EPMDocumentMaster is returned when none of its iterations match
the config spec criteria.
Supported API: true
variants - EPMDocuments that are variants of other EPMDocumentMastersquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the config spec selected iterations of the other-side EPMDocumentMasters or the EPMVariantLinks paired with the selected iterations . If true, the values of the WTKeyedMap are WTSets of EPMDocuments. If false, the values are Lists of two-element Persistable arrays.configSpec - config spec that selects the appropriate iteration of each other-side master
WTException
QueryResult navigateVariant(EPMDocumentMaster genericMaster,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
If onlyOtherSide is true, it returns a QueryResult of all EPMDocuments
that are variants of this generic. If onlyOtherSide is false, it returns
a QueryResult of all EPMVariantLinks to those EPMDocuments.
Supported API: true
genericMaster - querySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true, return a QueryResult of EPMDocuments otherwise return a QueryResult of EPMVariantLinks.
WTException
WTKeyedMap navigateVariant(WTCollection masters,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
masters - EPMDocumentMasters whose iterations are generics for other EPMDocumentsquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMDocuments. If false, the values are WTSets of EPMVariantLinks.
WTException
QueryResult navigateContains(EPMFamilyTable container,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
If onlyOtherSide is true, it returns a QueryResult that holds all EPMDocuments that represent an object that is contained in the CAD file that belongs to the "container" EPMFamilyTable.
If onlyOtherSide is false, it returns a QueryResult that holds the
EPMContainedInLinks to those EPMDocuments.
Supported API: true
container - an EPMFamilyTable that holds a CAD file that exposes objects "contained in it" as separate EPMDocumentsquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true return a QueryResult of EPMDocuments otherwise return a QueryResult of EPMContainedInLinks.
WTException
WTKeyedMap navigateContains(WTCollection familyTables,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
familyTables - EPMFamilyTables that holds CAD files that expose objects "contained in it" as separate EPMDocumentsquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMDocuments. If false, the values are WTSets of EPMContainedIn links.
WTException
QueryResult navigateContains(EPMFamilyTable container,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is true, it returns a QueryResult of all iterations of all "contained" EPM documents selected by the configSpec. If no iterations of a particular "contained" document were selected, its master is returned instead.
If onlyOtherSide is false, it returns a QueryResult of Persistable[]
in which the first element in the array is the EPMContainedInLink
and the second is the matching EPMDocument selected by the configSpec.
For a particular "contained" document, if none of its iterations were
selected by the configSpec, the first element in the array will be
null and the second will be its master.
Supported API: true
container - an EPMFamilyTable that holds a CAD file that exposes objects "contained in it" as separate EPMDocumentsquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If onlyOtherSide is "true", returns a QueryResult of EPMDocuments and EPMDocumentMasters. An EPMDocumentMaster is returned when none of its iteration match the ConfigSpec. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the EPMContainedInLink or null and the 1th position is the matching EPMDocument or EPMDocumentMaster.configSpec -
WTException
wt.vc.config.ConfigException
QueryResult navigateContainedIn(EPMDocument contained,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
If onlyOtherSide is true, it returns a QueryResult that holds all iterations of the "container" EPMFamilyTable that the object represented by the "contained" EPMDocument is found in.
If onlyOtherSide is false, it returns a QueryResult that holds the
EPMContainedInLinks to those EPMFamilyTables.
Supported API: true
contained - an EPMDocument that represents an object that is "contained in" a CAD file that belongs to another EPMFamilyTablequerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return only the objects on the other side of the association. If true, return a QueryResult of EPMDocuments otherwise return a QueryResult of EPMContainedInLinks.
WTException
WTKeyedMap navigateContainedIn(WTCollection documents,
QuerySpec querySpec,
boolean onlyOtherSide)
throws WTException
documents - EPMDocuments whose CAD definition is "contained in" an EPMFamilyTablequerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - Indicates whether to return the links or the other-side objects. If true return a WTKeyedMap whose values are WTSets of EPMFamilyTables. If false, the values are WTSets of EPMContainedIn links.
WTException
QueryResult navigateContainedIn(EPMDocument contained,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
throws WTException,
wt.vc.config.ConfigException
If onlyOtherSide is true, it returns a QueryResult of all iterations of the "container" EPM family table selected by the configSpec. If none were selected, its master is returned instead.
If onlyOtherSide is false, it returns a QueryResult of Persistable[]
in which the first element in the array is the EPMContainedInLink
and the second is the matching EPMFamilyTAble selected by the configSpec.
If none of the iterations of "container" document match the selection
criteria of the configSpec, the first element in the array will be
null and the second will be the master of the "container" EPM document.
Supported API: true
contained - an EPMDocument that represents an object that is "contained in" a CAD file that belongs to another EPMDocumentquerySpec - null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide - If onlyOtherSide is "true", returns a QueryResult of EPMDocuments and EPMDocumentMasters. An EPMDocumentMaster is returned when none of its iteration match the ConfigSpec. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the EPMContainedInLink or null and the 1th position is the matching EPMDocument or EPMDocumentMaster.configSpec -
WTException
wt.vc.config.ConfigException
QueryResult navigateBothRoles(EPMDocument document,
Class linkClass)
throws WTException
document - linkClass - link class that implements BinaryLink
WTException
WTKeyedMap getImages(WTCollection sources,
boolean onlyDirect)
throws WTException
sources - collection of sourcesonlyDirect - If onlyDirect is true the only direct images will be returned otherwise all images will be returned.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||