wt.vc.struct
Class StandardStructService

java.lang.Object
  extended by wt.services.StandardManager
      extended by wt.vc.struct.StandardStructService
All Implemented Interfaces:
Serializable, NetFactor, wt.services.Manager, StructService

public class StandardStructService
extends StandardManager
implements StructService, Serializable

This implementation of StructService has adds several listeners in performStartupProcess() that deal primarily with copying links and validating deletes.

Use the newStandardStructService static factory method(s), not the StandardStructService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: true

See Also:
Serialized Form

Method Summary
 WTKeyedMap navigateDescribedBys(WTCollection iterations)
          Navigates the describedBy roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of other side objects per iteration, i.e.
 WTKeyedMap navigateDescribedBys(WTCollection iterations, boolean onlyOtherSide)
          Navigates the describedBy roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e.
 WTKeyedMap navigateDescribedBys(WTCollection iterations, Class iteratedDescribeLinkClass, boolean onlyOtherSide)
          Navigates the describedBy roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e.
 WTKeyedMap navigateDescribes(WTCollection iterations)
          Navigates the describes roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of other side objects per iteration, i.e.
 WTKeyedMap navigateDescribes(WTCollection iterations, boolean onlyOtherSide)
          Navigates the describes roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e.
 WTKeyedMap navigateDescribes(WTCollection iterations, Class iteratedDescribeLinkClass, boolean onlyOtherSide)
          Navigates the describes roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e.
 QueryResult navigateReferencedBy(Mastered master)
          Navigates the referencedBy role of the IteratedReferenceLink, returning a QueryResult of latest iterations.
 QueryResult navigateReferencedBy(Mastered master, boolean onlyOtherSide)
          Navigates the referencedBy role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false or iterations if the value is "true".
 QueryResult navigateReferencedBy(Mastered master, Class iteratedReferenceLinkClass, boolean onlyOtherSide)
          Navigates the referencedBy role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false or iterations if the value is "true".
 WTKeyedMap navigateReferencedBy(WTCollection masters)
          Navigates the referencedBy role of the IteratedReferenceLinks, returning a WTKeyedMap of masters mapped to WTLists of latest iterations.
 WTKeyedMap navigateReferencedBy(WTCollection masters, boolean onlyOtherSide)
          Navigates the referencedBy role of the IteratedReferenceLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".
 WTKeyedMap navigateReferencedBy(WTCollection masters, Class iteratedReferenceLinkClass, boolean onlyOtherSide)
          Navigates the referencedBy role of the IteratedReferenceLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".
 QueryResult navigateReferences(Iterated iteration)
          Navigates the references role of the IteratedReferenceLink, returning a QueryResult of masters.
 QueryResult navigateReferences(Iterated iteration, boolean onlyOtherSide)
          Navigates the references role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".
 QueryResult navigateReferences(Iterated iteration, Class iteratedReferenceLinkClass, boolean onlyOtherSide)
          Navigates the references role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".
 WTKeyedMap navigateReferences(WTCollection iterations)
          Navigates the references role of the IteratedReferenceLinks, returning a WTKeyedMap of iterations mapped to WTLists of masters.
 WTKeyedMap navigateReferences(WTCollection iterations, boolean onlyOtherSide)
          Navigates the references role of the IteratedReferenceLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".
 WTKeyedMap navigateReferences(WTCollection iterations, Class iteratedReferenceLinkClass, boolean onlyOtherSide)
          Navigates the references role of the IteratedReferenceLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".
 QueryResult navigateReferencesToIteration(Iterated iteration, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigate the references role of the IteratedReferenceLink and finds the appropriate iterations for those masters by applying the ConfigSpec.
 QueryResult navigateReferencesToIteration(Iterated iteration, Class iteratedReferenceLinkClass, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigate the references role of the IteratedReferenceLink and finds the appropriate iterations for those masters by applying the ConfigSpec.
 QueryResult navigateReferencesToIteration(Iterated iteration, ConfigSpec configSpec)
          Navigates the references role of the IteratedReferenceLink and finds the appropriate iterations for the masters given the configSpec and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.
 QueryResult navigateUsedBy(Mastered master)
          Navigates the usedBy role of the IteratedUsageLink, returning a QueryResult of latest iterations.
 QueryResult navigateUsedBy(Mastered master, boolean onlyOtherSide)
          Navigates the usedBy role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false or iterations if the value is "true".
 QueryResult navigateUsedBy(Mastered master, Class iteratedUsageLinkClass, boolean onlyOtherSide)
          Navigates the usedBy role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false or iterations if the value is "true".
 WTKeyedMap navigateUsedBy(WTCollection masters)
          Navigates the usedBy role of the IteratedUsageLinks, returning a WTKeyedMap of masters mapped to WTLists of latest iterations.
 WTKeyedMap navigateUsedBy(WTCollection masters, boolean onlyOtherSide)
          Navigates the usedBy role of the IteratedUsageLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".
 WTKeyedMap navigateUsedBy(WTCollection masters, Class iteratedUsageLinkClass, boolean onlyOtherSide)
          Navigates the usedBy role of the IteratedUsageLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".
 QueryResult navigateUsedByToIteration(Iterated iteration, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigates the used by role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec, then for the masters of those iterations is uses filteredIterationsOf to double check that those iterations where the ones that should have been chosen by the config spec, and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.
 QueryResult navigateUsedByToIteration(Iterated iteration, Class iteratedUsageLinkClass, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigates the used by role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec, then for the masters of those iterations is uses filteredIterationsOf to double check that those iterations where the ones that should have been chosen by the config spec, and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.
 QueryResult navigateUsedByToIteration(Iterated iteration, ConfigSpec configSpec)
          Navigates the used by role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec, then for the masters of those iterations is uses filteredIterationsOf to double check that those iterations where the ones that should have been chosen by the config spec, and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.
 QueryResult navigateUses(Iterated iteration)
          Navigates the uses role of the IteratedUsageLink, returning a QueryResult of masters.
 QueryResult navigateUses(Iterated iteration, boolean onlyOtherSide)
          Navigates the uses role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".
 QueryResult navigateUses(Iterated iteration, Class iteratedUsageLinkClass, boolean onlyOtherSide)
          Navigates the uses role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".
 WTKeyedMap navigateUses(WTCollection iterations)
          Navigates the uses role of the IteratedUsageLinks, returning a WTKeyedMap of iterations mapped to WTLists of masters.
 WTKeyedMap navigateUses(WTCollection iterations, boolean onlyOtherSide)
          Navigates the uses role of the IteratedUsageLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".
 WTKeyedMap navigateUses(WTCollection iterations, Class iteratedUsageLinkClass, boolean onlyOtherSide)
          Navigates the uses role of the IteratedUsageLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".
 QueryResult navigateUsesToIteration(Iterated iteration, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigate the uses role of the IteratedUsageLink and finds the appropriate iterations for those masters by applying the ConfigSpec.
 QueryResult navigateUsesToIteration(Iterated iteration, Class iteratedUsageLinkClass, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigate the uses role of the IteratedUsageLink and finds the appropriate iterations for those masters by applying the ConfigSpec.
 QueryResult navigateUsesToIteration(Iterated iteration, ConfigSpec configSpec)
          Navigates the uses role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.
 WTKeyedMap navigateUsesToIteration(WTCollection iterations, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigate the uses role of the IteratedUsageLinks and finds the appropriate iterations for those masters by applying the ConfigSpec.
 WTKeyedMap navigateUsesToIteration(WTCollection iterations, Class iteratedUsageLinkClass, boolean onlyOtherSide, ConfigSpec configSpec)
          Navigate the uses role of the IteratedUsageLinks and finds the appropriate iterations for those masters by applying the ConfigSpec.
 WTKeyedMap navigateUsesToIteration(WTCollection iterations, ConfigSpec configSpec)
          Navigates the uses role of the IteratedUsageLinks and finds the appropriate iterations for the masters given the configSpec and returns a WTKeyedMap the iterations mapped to QueryResults of those iterations that match as well as the masters for which there were no matching iterations.
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

navigateUses

public QueryResult navigateUses(Iterated iteration)
                         throws WTException
Navigates the uses role of the IteratedUsageLink, returning a QueryResult of masters.

Supported API: true

Specified by:
navigateUses in interface StructService
Parameters:
iteration -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedUsageLink, Mastered

navigateUses

public QueryResult navigateUses(Iterated iteration,
                                boolean onlyOtherSide)
                         throws WTException
Navigates the uses role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".

Supported API: true

Specified by:
navigateUses in interface StructService
Parameters:
iteration -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedUsageLink, Mastered

navigateUses

public QueryResult navigateUses(Iterated iteration,
                                Class iteratedUsageLinkClass,
                                boolean onlyOtherSide)
                         throws WTException
Navigates the uses role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".

Supported API: true

Specified by:
navigateUses in interface StructService
Parameters:
iteration -
iteratedUsageLinkClass -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedUsageLink, Mastered

navigateUses

public WTKeyedMap navigateUses(WTCollection iterations)
                        throws WTException
Navigates the uses role of the IteratedUsageLinks, returning a WTKeyedMap of iterations mapped to WTLists of masters.

Supported API: true

Specified by:
navigateUses in interface StructService
Parameters:
iterations -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedUsageLink, Mastered

navigateUses

public WTKeyedMap navigateUses(WTCollection iterations,
                               boolean onlyOtherSide)
                        throws WTException
Navigates the uses role of the IteratedUsageLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".

Supported API: true

Specified by:
navigateUses in interface StructService
Parameters:
iterations -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedUsageLink, Mastered

navigateUses

public WTKeyedMap navigateUses(WTCollection iterations,
                               Class iteratedUsageLinkClass,
                               boolean onlyOtherSide)
                        throws WTException
Navigates the uses role of the IteratedUsageLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".

Supported API: true

Specified by:
navigateUses in interface StructService
Parameters:
iterations -
iteratedUsageLinkClass -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedUsageLink, Mastered

navigateUsedByToIteration

public QueryResult navigateUsedByToIteration(Iterated iteration,
                                             ConfigSpec configSpec)
                                      throws WTException,
                                             wt.vc.config.ConfigException
Navigates the used by role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec, then for the masters of those iterations is uses filteredIterationsOf to double check that those iterations where the ones that should have been chosen by the config spec, and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.

Supported API: true

Specified by:
navigateUsedByToIteration in interface StructService
Parameters:
iteration -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsedByToIteration

public QueryResult navigateUsedByToIteration(Iterated iteration,
                                             boolean onlyOtherSide,
                                             ConfigSpec configSpec)
                                      throws WTException,
                                             wt.vc.config.ConfigException
Navigates the used by role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec, then for the masters of those iterations is uses filteredIterationsOf to double check that those iterations where the ones that should have been chosen by the config spec, and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations. If onlyOtherSide" is true", it returns a QueryResult of matching iterations and masters if no iterations matched. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the IteratedUsageLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateUsedByToIteration in interface StructService
Parameters:
iteration -
onlyOtherSide -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsedByToIteration

public QueryResult navigateUsedByToIteration(Iterated iteration,
                                             Class iteratedUsageLinkClass,
                                             boolean onlyOtherSide,
                                             ConfigSpec configSpec)
                                      throws WTException,
                                             wt.vc.config.ConfigException
Navigates the used by role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec, then for the masters of those iterations is uses filteredIterationsOf to double check that those iterations where the ones that should have been chosen by the config spec, and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations. If onlyOtherSide" is true", it returns a QueryResult of matching iterations and masters if no iterations matched. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the IteratedUsageLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateUsedByToIteration in interface StructService
Parameters:
iteration -
iteratedUsageLinkClass -
onlyOtherSide -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsedBy

public QueryResult navigateUsedBy(Mastered master)
                           throws WTException
Navigates the usedBy role of the IteratedUsageLink, returning a QueryResult of latest iterations.

Supported API: true

Specified by:
navigateUsedBy in interface StructService
Parameters:
master -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedUsageLink, Iterated

navigateUsedBy

public QueryResult navigateUsedBy(Mastered master,
                                  boolean onlyOtherSide)
                           throws WTException
Navigates the usedBy role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateUsedBy in interface StructService
Parameters:
master -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedUsageLink, wt.vc.version.Version

navigateUsedBy

public QueryResult navigateUsedBy(Mastered master,
                                  Class iteratedUsageLinkClass,
                                  boolean onlyOtherSide)
                           throws WTException
Navigates the usedBy role of the IteratedUsageLink, returning a QueryResult of IteratedUsageLinks if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateUsedBy in interface StructService
Parameters:
master -
iteratedUsageLinkClass -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedUsageLink, wt.vc.version.Version

navigateUsedBy

public WTKeyedMap navigateUsedBy(WTCollection masters)
                          throws WTException
Navigates the usedBy role of the IteratedUsageLinks, returning a WTKeyedMap of masters mapped to WTLists of latest iterations.

Supported API: true

Specified by:
navigateUsedBy in interface StructService
Parameters:
masters -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedUsageLink, Iterated

navigateUsedBy

public WTKeyedMap navigateUsedBy(WTCollection masters,
                                 boolean onlyOtherSide)
                          throws WTException
Navigates the usedBy role of the IteratedUsageLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".

Supported API: true

Specified by:
navigateUsedBy in interface StructService
Parameters:
masters -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedUsageLink, Iterated

navigateUsedBy

public WTKeyedMap navigateUsedBy(WTCollection masters,
                                 Class iteratedUsageLinkClass,
                                 boolean onlyOtherSide)
                          throws WTException
Navigates the usedBy role of the IteratedUsageLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedUsageLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".

Supported API: true

Specified by:
navigateUsedBy in interface StructService
Parameters:
masters -
iteratedUsageLinkClass -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedUsageLink, Iterated

navigateUsesToIteration

public QueryResult navigateUsesToIteration(Iterated iteration,
                                           ConfigSpec configSpec)
                                    throws WTException,
                                           wt.vc.config.ConfigException
Navigates the uses role of the IteratedUsageLink and finds the appropriate iterations for the masters given the configSpec and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.

Supported API: true

Specified by:
navigateUsesToIteration in interface StructService
Parameters:
iteration -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsesToIteration

public QueryResult navigateUsesToIteration(Iterated iteration,
                                           boolean onlyOtherSide,
                                           ConfigSpec configSpec)
                                    throws WTException,
                                           wt.vc.config.ConfigException
Navigate the uses role of the IteratedUsageLink and finds the appropriate iterations for those masters by applying the ConfigSpec. If onlyOtherSide" is true", it returns a QueryResult of matching iterations and masters if no iterations matched. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the IteratedUsageLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateUsesToIteration in interface StructService
Parameters:
iteration -
onlyOtherSide -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsesToIteration

public QueryResult navigateUsesToIteration(Iterated iteration,
                                           Class iteratedUsageLinkClass,
                                           boolean onlyOtherSide,
                                           ConfigSpec configSpec)
                                    throws WTException,
                                           wt.vc.config.ConfigException
Navigate the uses role of the IteratedUsageLink and finds the appropriate iterations for those masters by applying the ConfigSpec. If onlyOtherSide" is true", it returns a QueryResult of matching iterations and masters if no iterations matched. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the IteratedUsageLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateUsesToIteration in interface StructService
Parameters:
iteration -
iteratedUsageLinkClass -
onlyOtherSide -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsesToIteration

public WTKeyedMap navigateUsesToIteration(WTCollection iterations,
                                          ConfigSpec configSpec)
                                   throws WTException,
                                          wt.vc.config.ConfigException
Navigates the uses role of the IteratedUsageLinks and finds the appropriate iterations for the masters given the configSpec and returns a WTKeyedMap the iterations mapped to QueryResults of those iterations that match as well as the masters for which there were no matching iterations.

Supported API: true

Specified by:
navigateUsesToIteration in interface StructService
Parameters:
iterations -
configSpec -
Returns:
WTKeyedMap
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsesToIteration

public WTKeyedMap navigateUsesToIteration(WTCollection iterations,
                                          boolean onlyOtherSide,
                                          ConfigSpec configSpec)
                                   throws WTException,
                                          wt.vc.config.ConfigException
Navigate the uses role of the IteratedUsageLinks and finds the appropriate iterations for those masters by applying the ConfigSpec. If onlyOtherSide is "true", it returns a WTKeyedMap of the iterations mapped to WTLists of those matching iterations and masters if no iterations matched. If "false", returns a WTKeyedMap of the iterations mapped to QueryResults of Persistable[] in which the 0th Persistable in the array is the IteratedUsageLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateUsesToIteration in interface StructService
Parameters:
iterations -
onlyOtherSide -
configSpec -
Returns:
WTKeyedMap
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateUsesToIteration

public WTKeyedMap navigateUsesToIteration(WTCollection iterations,
                                          Class iteratedUsageLinkClass,
                                          boolean onlyOtherSide,
                                          ConfigSpec configSpec)
                                   throws WTException,
                                          wt.vc.config.ConfigException
Navigate the uses role of the IteratedUsageLinks and finds the appropriate iterations for those masters by applying the ConfigSpec. If onlyOtherSide is "true", it returns a WTKeyedMap of the iterations mapped to WTLists of those matching iterations and masters if no iterations matched. If "false", returns a WTKeyedMap of the iterations mapped to QueryResults of Persistable[] in which the 0th Persistable in the array is the IteratedUsageLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateUsesToIteration in interface StructService
Parameters:
iterations -
iteratedUsageLinkClass -
onlyOtherSide -
configSpec -
Returns:
WTKeyedMap
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedUsageLink, Mastered, Iterated, ConfigSpec

navigateReferences

public QueryResult navigateReferences(Iterated iteration)
                               throws WTException
Navigates the references role of the IteratedReferenceLink, returning a QueryResult of masters.

Supported API: true

Specified by:
navigateReferences in interface StructService
Parameters:
iteration -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedReferenceLink, Mastered

navigateReferences

public QueryResult navigateReferences(Iterated iteration,
                                      boolean onlyOtherSide)
                               throws WTException
Navigates the references role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".

Supported API: true

Specified by:
navigateReferences in interface StructService
Parameters:
iteration -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedReferenceLink, Mastered

navigateReferences

public QueryResult navigateReferences(Iterated iteration,
                                      Class iteratedReferenceLinkClass,
                                      boolean onlyOtherSide)
                               throws WTException
Navigates the references role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false" or iterations if the value is "true".

Supported API: true

Specified by:
navigateReferences in interface StructService
Parameters:
iteration -
iteratedReferenceLinkClass -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedReferenceLink, Mastered

navigateReferences

public WTKeyedMap navigateReferences(WTCollection iterations)
                              throws WTException
Navigates the references role of the IteratedReferenceLinks, returning a WTKeyedMap of iterations mapped to WTLists of masters.

Supported API: true

Specified by:
navigateReferences in interface StructService
Parameters:
iterations -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedReferenceLink, Mastered

navigateReferences

public WTKeyedMap navigateReferences(WTCollection iterations,
                                     boolean onlyOtherSide)
                              throws WTException
Navigates the references role of the IteratedReferenceLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".

Supported API: true

Specified by:
navigateReferences in interface StructService
Parameters:
iterations -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedReferenceLink, Mastered

navigateReferences

public WTKeyedMap navigateReferences(WTCollection iterations,
                                     Class iteratedReferenceLinkClass,
                                     boolean onlyOtherSide)
                              throws WTException
Navigates the references role of the IteratedReferenceLinks, returning a WTKeyedMap of iterations mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of masters if the value is "true".

Supported API: true

Specified by:
navigateReferences in interface StructService
Parameters:
iterations -
iteratedReferenceLinkClass -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedReferenceLink, Mastered

navigateReferencedBy

public QueryResult navigateReferencedBy(Mastered master)
                                 throws WTException
Navigates the referencedBy role of the IteratedReferenceLink, returning a QueryResult of latest iterations.

Supported API: true

Specified by:
navigateReferencedBy in interface StructService
Parameters:
master -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedReferenceLink, Iterated

navigateReferencedBy

public QueryResult navigateReferencedBy(Mastered master,
                                        boolean onlyOtherSide)
                                 throws WTException
Navigates the referencedBy role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateReferencedBy in interface StructService
Parameters:
master -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedReferenceLink, wt.vc.version.Version

navigateReferencedBy

public QueryResult navigateReferencedBy(Mastered master,
                                        Class iteratedReferenceLinkClass,
                                        boolean onlyOtherSide)
                                 throws WTException
Navigates the referencedBy role of the IteratedReferenceLink, returning a QueryResult of IteratedReferenceLinks if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateReferencedBy in interface StructService
Parameters:
master -
iteratedReferenceLinkClass -
onlyOtherSide -
Returns:
QueryResult
Throws:
WTException
See Also:
IteratedReferenceLink, wt.vc.version.Version

navigateReferencedBy

public WTKeyedMap navigateReferencedBy(WTCollection masters)
                                throws WTException
Navigates the referencedBy role of the IteratedReferenceLinks, returning a WTKeyedMap of masters mapped to WTLists of latest iterations.

Supported API: true

Specified by:
navigateReferencedBy in interface StructService
Parameters:
masters -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedReferenceLink, Iterated

navigateReferencedBy

public WTKeyedMap navigateReferencedBy(WTCollection masters,
                                       boolean onlyOtherSide)
                                throws WTException
Navigates the referencedBy role of the IteratedReferenceLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".

Supported API: true

Specified by:
navigateReferencedBy in interface StructService
Parameters:
masters -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedReferenceLink, Iterated

navigateReferencedBy

public WTKeyedMap navigateReferencedBy(WTCollection masters,
                                       Class iteratedReferenceLinkClass,
                                       boolean onlyOtherSide)
                                throws WTException
Navigates the referencedBy role of the IteratedReferenceLinks, returning a WTKeyedMap of masters mapped to WTLists of IteratedReferenceLinks if the value of onlyOtherSide is "false" or of latest iterations if the value is "true".

Supported API: true

Specified by:
navigateReferencedBy in interface StructService
Parameters:
masters -
iteratedReferenceLinkClass -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedReferenceLink, Iterated

navigateReferencesToIteration

public QueryResult navigateReferencesToIteration(Iterated iteration,
                                                 ConfigSpec configSpec)
                                          throws WTException,
                                                 wt.vc.config.ConfigException
Navigates the references role of the IteratedReferenceLink and finds the appropriate iterations for the masters given the configSpec and returns a QueryResult of those iterations that match as well as the masters for which there were no matching iterations.

Supported API: true

Specified by:
navigateReferencesToIteration in interface StructService
Parameters:
iteration -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedReferenceLink, Mastered, Iterated, ConfigSpec

navigateReferencesToIteration

public QueryResult navigateReferencesToIteration(Iterated iteration,
                                                 boolean onlyOtherSide,
                                                 ConfigSpec configSpec)
                                          throws WTException,
                                                 wt.vc.config.ConfigException
Navigate the references role of the IteratedReferenceLink and finds the appropriate iterations for those masters by applying the ConfigSpec. If onlyOtherSide" is true", it returns a QueryResult of matching iterations and masters if no iterations matched. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the IteratedReferenceLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateReferencesToIteration in interface StructService
Parameters:
iteration -
onlyOtherSide -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedReferenceLink, Mastered, Iterated, ConfigSpec

navigateReferencesToIteration

public QueryResult navigateReferencesToIteration(Iterated iteration,
                                                 Class iteratedReferenceLinkClass,
                                                 boolean onlyOtherSide,
                                                 ConfigSpec configSpec)
                                          throws WTException,
                                                 wt.vc.config.ConfigException
Navigate the references role of the IteratedReferenceLink and finds the appropriate iterations for those masters by applying the ConfigSpec. If onlyOtherSide" is true", it returns a QueryResult of matching iterations and masters if no iterations matched. If "false", returns a QueryResult of Persistable[] in which the 0th Persistable in the array is the IteratedReferenceLink and the 1th position is the matching iteration or master if no matching iteration was found.

Supported API: true

Specified by:
navigateReferencesToIteration in interface StructService
Parameters:
iteration -
iteratedReferenceLinkClass -
onlyOtherSide -
configSpec -
Returns:
QueryResult
Throws:
WTException
wt.vc.config.ConfigException
See Also:
IteratedReferenceLink, Mastered, Iterated, ConfigSpec

navigateDescribes

public WTKeyedMap navigateDescribes(WTCollection iterations)
                             throws WTException
Navigates the describes roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of other side objects per iteration, i.e. each iteration key corresponds to a WTList.

Supported API: true

Specified by:
navigateDescribes in interface StructService
Parameters:
iterations -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedDescribeLink, wt.vc.version.Iterated

navigateDescribes

public WTKeyedMap navigateDescribes(WTCollection iterations,
                                    boolean onlyOtherSide)
                             throws WTException
Navigates the describes roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e. each iteration key corresponds to a WTList. IteratedDescribeLinks are returned if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateDescribes in interface StructService
Parameters:
iterations -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedDescribeLink, wt.vc.version.Iterated

navigateDescribes

public WTKeyedMap navigateDescribes(WTCollection iterations,
                                    Class iteratedDescribeLinkClass,
                                    boolean onlyOtherSide)
                             throws WTException
Navigates the describes roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e. each iteration key corresponds to a WTList. IteratedDescribeLinks are returned if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateDescribes in interface StructService
Parameters:
iterations -
iteratedDescribeLinkClass -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedDescribeLink, wt.vc.version.Iterated

navigateDescribedBys

public WTKeyedMap navigateDescribedBys(WTCollection iterations)
                                throws WTException
Navigates the describedBy roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of other side objects per iteration, i.e. each iteration key corresponds to a WTList.

Supported API: true

Specified by:
navigateDescribedBys in interface StructService
Parameters:
iterations -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedDescribeLink, wt.vc.version.Iterated

navigateDescribedBys

public WTKeyedMap navigateDescribedBys(WTCollection iterations,
                                       boolean onlyOtherSide)
                                throws WTException
Navigates the describedBy roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e. each iteration key corresponds to a WTList. IteratedDescribeLinks are returned if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateDescribedBys in interface StructService
Parameters:
iterations -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedDescribeLink, wt.vc.version.Iterated

navigateDescribedBys

public WTKeyedMap navigateDescribedBys(WTCollection iterations,
                                       Class iteratedDescribeLinkClass,
                                       boolean onlyOtherSide)
                                throws WTException
Navigates the describedBy roles of the IteratedDescribeLinks returning a WTKeyedMap of keys = iterations and values = a WTList of links or other side objects per iteration, i.e. each iteration key corresponds to a WTList. IteratedDescribeLinks are returned if the value of onlyOtherSide is "false or iterations if the value is "true".

Supported API: true

Specified by:
navigateDescribedBys in interface StructService
Parameters:
iterations -
iteratedDescribeLinkClass -
onlyOtherSide -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
IteratedDescribeLink, wt.vc.version.Iterated