wt.series
Class StandardSeriesService

java.lang.Object
  extended bywt.services.StandardManager
      extended bywt.series.StandardSeriesService
All Implemented Interfaces:
Manager, NetFactor, Serializable, SeriesService

public class StandardSeriesService
extends StandardManager
implements SeriesService, Serializable

Use the newStandardSeriesService static factory method(s), not the StandardSeriesService 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: false

See Also:
Serialized Form

Nested Class Summary
(package private) static class StandardSeriesService.SeriesCacheUpdater
           
 
Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private static SeriesCache seriesCache
           
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardSeriesService()
           
 
Method Summary
 void addSeries(SeriesTemplate series)
          

Supported API: true
private static SeriesTemplate findSeries()
           
 List getAllMaturityLevels(String series)
          

Supported API: true
 String getConceptualClassname()
          Deprecated.  
 int getMaturityIndex(String maturity)
          

Supported API: true
private static SeriesCache getSeriesCache()
           
 int getSeriesIndex(String series)
          

Supported API: true
 String getSeriesKey(String value)
          

Supported API: true
 List getValues(String series, String maturity)
          

Supported API: true
static StandardSeriesService newStandardSeriesService()
          Default factory for the class.
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, performStartupProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

seriesCache

private static SeriesCache seriesCache
Constructor Detail

StandardSeriesService

public StandardSeriesService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

newStandardSeriesService

public static StandardSeriesService newStandardSeriesService()
                                                      throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardSeriesService
Throws:
WTException

addSeries

public void addSeries(SeriesTemplate series)
               throws WTException,
                      SeriesException


Supported API: true

Specified by:
addSeries in interface SeriesService
Parameters:
series -
Throws:
WTException
SeriesException

getValues

public List getValues(String series,
                      String maturity)
               throws WTException,
                      SeriesException


Supported API: true

Specified by:
getValues in interface SeriesService
Parameters:
series -
maturity -
Returns:
List
Throws:
WTException
SeriesException

getMaturityIndex

public int getMaturityIndex(String maturity)
                     throws WTException,
                            SeriesException


Supported API: true

Specified by:
getMaturityIndex in interface SeriesService
Parameters:
maturity -
Returns:
int
Throws:
WTException
SeriesException

getSeriesIndex

public int getSeriesIndex(String series)
                   throws WTException,
                          SeriesException


Supported API: true

Specified by:
getSeriesIndex in interface SeriesService
Parameters:
series -
Returns:
int
Throws:
WTException
SeriesException

getSeriesKey

public String getSeriesKey(String value)
                    throws WTException,
                           SeriesException


Supported API: true

Specified by:
getSeriesKey in interface SeriesService
Parameters:
value -
Returns:
String
Throws:
WTException
SeriesException

getAllMaturityLevels

public List getAllMaturityLevels(String series)
                          throws WTException,
                                 SeriesException


Supported API: true

Specified by:
getAllMaturityLevels in interface SeriesService
Parameters:
series -
Returns:
List
Throws:
WTException
SeriesException

getSeriesCache

private static SeriesCache getSeriesCache()

findSeries

private static SeriesTemplate findSeries()
                                  throws WTException
Throws:
WTException