wt.vc.config
Interface ConfigService

All Known Implementing Classes:
StandardConfigService

public interface ConfigService

This service helps obtain Iterated objects from Mastered objects (or a QuerySpec) and a ConfigSpec.



Supported API: true

Extendable: true


Method Summary
 QueryResult filteredIterationsOf(Mastered master, ConfigSpec configSpec)
          Returns a QueryResult of Iterated objects that are related to the given Mastered object and are valid for the given ConfigSpec.
 QueryResult filteredIterationsOf(QueryResult masters, ConfigSpec configSpec)
          Returns a QueryResult of Iterated objects that are related to the given QueryResult of Mastered objects and are valid for the given ConfigSpec.
 QueryResult queryIterations(QuerySpec querySpec, ConfigSpec configSpec)
          Returns a QueryResult of Iterated objects that will be selcted by the given QuerySpec and are valid for the given ConfigSpec.
 

Method Detail

filteredIterationsOf

QueryResult filteredIterationsOf(Mastered master,
                                 ConfigSpec configSpec)
                                 throws WTException,
                                        PersistenceException
Returns a QueryResult of Iterated objects that are related to the given Mastered object and are valid for the given ConfigSpec.

Supported API: true

Parameters:
master - The master to get the iterations for.
configSpec - The ConfigSpec to process this master's iterations against.
Returns:
QueryResult
Throws:
WTException
PersistenceException

filteredIterationsOf

QueryResult filteredIterationsOf(QueryResult masters,
                                 ConfigSpec configSpec)
                                 throws WTException,
                                        PersistenceException
Returns a QueryResult of Iterated objects that are related to the given QueryResult of Mastered objects and are valid for the given ConfigSpec.

Supported API: true

Parameters:
masters - The QueryResult of masters to get the iterations for.
configSpec - The ConfigSpec to process the resulting iterations against.
Returns:
QueryResult
Throws:
WTException
PersistenceException

queryIterations

QueryResult queryIterations(QuerySpec querySpec,
                            ConfigSpec configSpec)
                            throws WTException,
                                   PersistenceException
Returns a QueryResult of Iterated objects that will be selcted by the given QuerySpec and are valid for the given ConfigSpec. Note that a QuerySpec is appended by the ConfigSpec's appendSearchCriteria. After the query, the query result is passed to the ConfigSpec's process API.

Supported API: true

Parameters:
querySpec - The QuerySpec based on iterations.
configSpec - The ConfigSpec to process the resulting iterations against.
Returns:
QueryResult
Throws:
WTException
PersistenceException