wt.fc.collections
Class StandardCollectionsManager

java.lang.Object
  extended bywt.services.StandardManager
      extended bywt.fc.collections.StandardCollectionsManager
All Implemented Interfaces:
CollectionsManager, CollectionsManagerSvr, Manager, NetFactor, Serializable

public final class StandardCollectionsManager
extends StandardManager
implements CollectionsManager, CollectionsManagerSvr

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

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
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
StandardCollectionsManager()
           
 
Method Summary
 String getConceptualClassname()
          Deprecated.  
static StandardCollectionsManager newStandardCollectionsManager()
          Default factory for the class.
 WTCollection refresh(WTCollection collection)
          Refreshes the given collection using the RefreshSpec.DEFAULT spec.
 WTCollection refresh(WTCollection collection, RefreshSpec spec)
          Refreshes the given collection using the given spec.
 WTKeyedMap refresh(WTKeyedMap map)
          Refreshes the key set in the given map using the RefreshSpec.DEFAULT spec.
 WTKeyedMap refresh(WTKeyedMap map, RefreshSpec spec)
          Refreshes the key set in the given map using the RefreshSpec.DEFAULT spec.
 void restore(WTCollection collection)
          Refreshes the given collection with a RefreshSpec that has access control disabled, and the defaults for all other options.
 void restore(WTKeyedMap map)
          Refreshes the given map with a RefreshSpec that has access control disabled, and the defaults for all other options.
 
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
Constructor Detail

StandardCollectionsManager

public StandardCollectionsManager()
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

newStandardCollectionsManager

public static StandardCollectionsManager newStandardCollectionsManager()
                                                                throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardCollectionsManager
Throws:
WTException

refresh

public WTCollection refresh(WTCollection collection)
                     throws WTException
Refreshes the given collection using the RefreshSpec.DEFAULT spec.

Supported API: false

Specified by:
refresh in interface CollectionsManager
Parameters:
collection -
Returns:
WTCollection
Throws:
WTException
See Also:
RefreshSpec

refresh

public WTCollection refresh(WTCollection collection,
                            RefreshSpec spec)
                     throws WTException
Refreshes the given collection using the given spec.

Supported API: false

Specified by:
refresh in interface CollectionsManager
Parameters:
collection -
spec -
Returns:
WTCollection
Throws:
WTException
See Also:
RefreshSpec

refresh

public WTKeyedMap refresh(WTKeyedMap map)
                   throws WTException
Refreshes the key set in the given map using the RefreshSpec.DEFAULT spec. If the map is a WTValuedHashMap, also refreshes the values.

Supported API: false

Specified by:
refresh in interface CollectionsManager
Parameters:
map -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
RefreshSpec

refresh

public WTKeyedMap refresh(WTKeyedMap map,
                          RefreshSpec spec)
                   throws WTException
Refreshes the key set in the given map using the RefreshSpec.DEFAULT spec. If the map is a WTValuedHashMap, also refreshes the values.

Supported API: false

Specified by:
refresh in interface CollectionsManager
Parameters:
map -
spec -
Returns:
WTKeyedMap
Throws:
WTException
See Also:
RefreshSpec

restore

public void restore(WTCollection collection)
             throws WTException
Refreshes the given collection with a RefreshSpec that has access control disabled, and the defaults for all other options.

Supported API: false

Specified by:
restore in interface CollectionsManagerSvr
Parameters:
collection -
Throws:
WTException

restore

public void restore(WTKeyedMap map)
             throws WTException
Refreshes the given map with a RefreshSpec that has access control disabled, and the defaults for all other options.

Supported API: false

Specified by:
restore in interface CollectionsManagerSvr
Parameters:
map -
Throws:
WTException