|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
QueryResult |
navigate(QueryResult objects,
Class linkClass,
String otherSideRole,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the links of the specified class to the given role from the supplied Persistable objects. |
WTKeyedMap |
navigate(WTCollection objects,
Class linkClass,
String otherSideRole,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the links of the specified class to the given role from each Persistable in the given WTCollection using a single query. |
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 |
navigateMasterToIteration(QueryResult objects,
Class linkClass,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigates the links of the specified class to Mastered objects from the supplied Persistable objects and finds the appropriate iterations for those Mastered objects by applying the configSpec. |
QueryResult |
navigateReferencedBy(DocumentMaster master,
QuerySpec querySpec)
Deprecated. at R6.2, please use navigateReferencedBy(EPMDocumentMaster, QuerySpec, boolean) |
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)
Deprecated. at R6.2, please use navigateReferences(EPMDocument, QuerySpec, boolean) |
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. |
QueryResult |
navigateReferencesToIteration(EPMDocument document,
QuerySpec querySpec,
ConfigSpec configSpec)
Deprecated. at R6.2, please use navigateReferencesToIteration(EPMDocument, QuerySpec, boolean, ConfigSpec) |
EPMRecursiveResultSet |
navigateReferencesToIteration(EPMDocument document,
QuerySpec querySpec,
ConfigSpec configSpec,
int depth)
Deprecated. at R6.2, please use navigateReferencesToIteration(EPMDocument, QuerySpec, boolean, ConfigSpec, int) |
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 |
navigateToIteration(QueryResult objects,
Class linkClass,
String otherSideRole,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigates the links of the specified class to Iterated objects from the supplied Persistable objects and finds the appropriate Iterated objects by applying the configSpec. |
QueryResult |
navigateUsedBy(EPMDocumentMaster master,
QuerySpec querySpec)
Deprecated. at R6.2, please use navigateUsedBy(EPMDocumentMaster, QuerySpec, boolean) |
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)
Deprecated. at R6.2, please use navigateUses(EPMDocument, QuerySpec, boolean) |
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. |
QueryResult |
navigateUsesToIteration(EPMDocument document,
QuerySpec querySpec,
ConfigSpec configSpec)
Deprecated. at R6.2, please use navigateUsesToIteration(EPMDocument, QuerySpec, boolean, ConfigSpec) |
EPMRecursiveResultSet |
navigateUsesToIteration(EPMDocument document,
QuerySpec querySpec,
ConfigSpec configSpec,
int depth)
Deprecated. at R6.2, please use navigateUsesToIteration(EPMDocument, QuerySpec, boolean, ConfigSpec, int) |
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 |
public QueryResult navigateUses(EPMDocument document, QuerySpec querySpec) throws WTException
document
- The document USED_BY the link.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the links
WTException
public 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
public 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
public QueryResult navigateUsedBy(EPMDocumentMaster master, QuerySpec querySpec) throws WTException
master
- The EPMDocumentMaster that the link USES.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the links
WTException
public 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
public 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
public QueryResult navigateUsesToIteration(EPMDocument document, QuerySpec querySpec, ConfigSpec configSpec) throws WTException, ConfigException
document
- The document USED_BY the link.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksconfigSpec
-
WTException
ConfigException
public QueryResult navigateUsesToIteration(EPMDocument document, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException, 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
ConfigException
public 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
public QueryResult navigateReferences(EPMDocument document, QuerySpec querySpec) throws WTException
document
- The document REFERENCED_BY the link.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the links
WTException
public 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
public 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
public QueryResult navigateReferencedBy(DocumentMaster master, QuerySpec querySpec) throws WTException
master
- The DocumentMaster that the link REFERENCES.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the links
WTException
public 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
public 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
public QueryResult navigateReferencesToIteration(EPMDocument document, QuerySpec querySpec, ConfigSpec configSpec) throws WTException, ConfigException
document
- The document REFERENCED_BY the link.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksconfigSpec
-
WTException
ConfigException
public QueryResult navigateReferencesToIteration(EPMDocument document, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException, 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
ConfigException
public 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
public EPMRecursiveResultSet navigateUsesToIteration(EPMDocument document, QuerySpec querySpec, ConfigSpec configSpec, int depth) throws WTException, ConfigException
document
- The EPMDocument USED_BY the link.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksconfigSpec
- depth
- Number of levels to recursive traverse
WTException
ConfigException
public EPMRecursiveResultSet navigateUsesToIteration(EPMDocument document, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec, int depth) throws WTException, 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
ConfigException
public EPMRecursiveResultSet navigateReferencesToIteration(EPMDocument document, QuerySpec querySpec, ConfigSpec configSpec, int depth) throws WTException, ConfigException
document
- The document USED_BY the link.querySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksconfigSpec
- depth
-
WTException
ConfigException
public EPMRecursiveResultSet navigateReferencesToIteration(EPMDocument document, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec, int depth) throws WTException, 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
ConfigException
public 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
public 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
public QueryResult navigateGenericToIteration(EPMDocument variant, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException, 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
ConfigException
public 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
public 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
public 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
public 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
public 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
public QueryResult navigateContains(EPMFamilyTable container, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException, 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
ConfigException
public 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
public 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
public QueryResult navigateContainedIn(EPMDocument contained, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException, 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
ConfigException
public QueryResult navigateBothRoles(EPMDocument document, Class linkClass) throws WTException
document
- linkClass
- link class that implements BinaryLink
WTException
public QueryResult navigate(QueryResult objects, Class linkClass, String otherSideRole, QuerySpec querySpec, boolean onlyOtherSide) throws WTException
If onlyOtherSide is true, it returns a QueryResult that holds the other side objects associated via a link of the specified class with any of the supplied objects. If onlyOtherSide is false, it returns a QueryResult that holds the links of the specified class from all of the supplied objects.
This method navigates the links associated with all of the supplied
objects with a single query.
Supported API: false
objects
- Persistable objects to navigate fromlinkClass
- Class of link to navigateotherSideRole
- Role to navigate toquerySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide
- Indicates whether to return the objects on the other side of the association. If true return the other side objects otherwise return links.
WTException
public QueryResult navigateMasterToIteration(QueryResult objects, Class linkClass, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException
If onlyOtherSide is true, it returns a QueryResult of the iterations of those Mastered objects and possibly the Mastered objects themselves. A Mastered object is returned when none of its iteration match the configSpec criteria.
If onlyOtherSide is "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the link and the 1th position is the matching iteration of the Mastered object or the Mastered object itself when none of its iterations match the configSpec criteria.
This method navigates the links to Mastered objects from the all of
the supplied objects and finds the appropriate iterations for those
Mastered objects using two queries.
Supported API: false
objects
- Persistable objects to navigate fromlinkClass
- Class of link to navigatequerySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide
- Indicates whether to return the objects on the other side of the association. If true return the other side objects otherwise return links.configSpec
-
WTException
public QueryResult navigateToIteration(QueryResult objects, Class linkClass, String otherSideRole, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException
If onlyOtherSide is false, it returns a QueryResult of Persistable[] in which the first element in the array is the link and the second is the matching Iterated object selected by the configSpec. If none of the Iterated objects match the selection criteria of the configSpec, the first element in the array will be null and the second will be the Master.
This method navigates the links to Iterated objects from all of the
supplied objects and finds the appropriate ones by applying the configSpec
using two queries.
Supported API: false
objects
- Persistable objects to navigate fromlinkClass
- Class of link to navigateotherSideRole
- Role to navigate toquerySpec
- null or a QuerySpec that specifies additional criteria for selecting the linksonlyOtherSide
- Indicates whether to return the objects on the other side of the association. If true return the other side objects otherwise return links.configSpec
-
WTException
public WTKeyedMap navigate(WTCollection objects, Class linkClass, String otherSideRole, QuerySpec querySpec, boolean onlyOtherSide) throws WTException
objects
- Persistable objects to navigate fromlinkClass
- Class of link to navigateotherSideRole
- Role to navigate toquerySpec
- 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 the other-side objects. If false, the values are WTSets of links.
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |