wt.vc.config
Class ConfigServiceFwd

java.lang.Object
  extended bywt.vc.config.ConfigServiceFwd
All Implemented Interfaces:
ConfigService, RemoteAccess, Serializable

public class ConfigServiceFwd
extends Object
implements RemoteAccess, ConfigService, Serializable

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



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
ConfigServiceFwd()
           
 
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.
 ConfigSpec getConfigSpecFor(Iterated iteration)
          

Supported API: false
 ConfigSpec getDefaultConfigSpecFor(Class masterOrIterationClass)
          

Supported API: false
private static Manager getManager()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ConfigServiceFwd

public ConfigServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

filteredIterationsOf

public 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: false

Specified by:
filteredIterationsOf in interface ConfigService
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

public 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: false

Specified by:
filteredIterationsOf in interface ConfigService
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

public 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: false

Specified by:
queryIterations in interface ConfigService
Parameters:
querySpec - The QuerySpec based on iterations.
configSpec - The ConfigSpec to process the resulting iterations against.
Returns:
QueryResult
Throws:
WTException
PersistenceException

getConfigSpecFor

public ConfigSpec getConfigSpecFor(Iterated iteration)
                            throws WTException


Supported API: false

Specified by:
getConfigSpecFor in interface ConfigService
Parameters:
iteration -
Returns:
ConfigSpec
Throws:
WTException

getDefaultConfigSpecFor

public ConfigSpec getDefaultConfigSpecFor(Class masterOrIterationClass)
                                   throws WTException


Supported API: false

Specified by:
getDefaultConfigSpecFor in interface ConfigService
Parameters:
masterOrIterationClass -
Returns:
ConfigSpec
Throws:
WTException