com.partnersoft.preferences.model
Class MapSpacePreferences

java.lang.Object
  extended by com.partnersoft.preferences.model.AbstractSubsystemPreferences
      extended by com.partnersoft.preferences.model.MapSpacePreferences
All Implemented Interfaces:
Coggable, SubsystemPreferences

public class MapSpacePreferences
extends AbstractSubsystemPreferences

Preference settings for map spaces - primarily serves as the container for per-mapset preferences.

Copyright 2010 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
MapSpacePreferences()
           
MapSpacePreferences(Cog state)
           
 
Method Summary
 void ensurePreferencesFor(java.util.Collection<java.lang.String> mapsets)
           
 Naming<MapsetPreferences> getMapsetPreferences()
          Individual mapset preferences, keyed by mapset name.
 boolean isMapsetLoaded(java.lang.String mapsetName)
           
 void setMapsetPreferences(Naming<MapsetPreferences> mapsetPreferences)
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapSpacePreferences

public MapSpacePreferences()

MapSpacePreferences

public MapSpacePreferences(Cog state)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Overrides:
toCog in class AbstractSubsystemPreferences
Returns:
Cog representing the internal state of this object

getMapsetPreferences

public Naming<MapsetPreferences> getMapsetPreferences()
Individual mapset preferences, keyed by mapset name.


setMapsetPreferences

public void setMapsetPreferences(Naming<MapsetPreferences> mapsetPreferences)

ensurePreferencesFor

public void ensurePreferencesFor(java.util.Collection<java.lang.String> mapsets)

isMapsetLoaded

public boolean isMapsetLoaded(java.lang.String mapsetName)