info.aduna.gee.publication.session
Class CLabelDefinitions

java.lang.Object
  extended by info.aduna.gee.publication.net.WStorable
      extended by info.aduna.gee.publication.session.CLabelDefinitions

public class CLabelDefinitions
extends WStorable


Field Summary
static String CLABEL_ID_INHERIT
           
static String CLABEL_ID_NO_CLABELS
          All non-positive clabel ID's are reserved!
static String CLABEL_ID_SUBSCRIPTION
           
 WProperties clabelColors
          Key is the clabel ID, value is the clabel's (6 hex digit) colorString.
 WProperties clabelImages
          Key is the clabel ID, value is a String representing an image URL.
 WProperties clabelOverImages
          Key is the clabel ID, value is a String representing an image URL.
 WProperties clabels
          Key is the clabel ID, value is the clabel's description.
 
Fields inherited from class info.aduna.gee.publication.net.WStorable
_isStorable, _lastModified, BASE64ENCODING, GZIPCOMPRESSION, NONE, WLZ77COMPRESSION
 
Constructor Summary
CLabelDefinitions()
           
 
Method Summary
 Object clone()
          Clone the storable object.
 void load(InputStream in, int version)
          Reads the configuration data from the specified input.
 void store(OutputStream out)
          Store the storable to an output stream.
 
Methods inherited from class info.aduna.gee.publication.net.WStorable
destroy, getCompression, getEncoding, getLastModified, getVersion, isStorable, setLastModified, setStorable, toSeconds
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLABEL_ID_NO_CLABELS

public static final String CLABEL_ID_NO_CLABELS
All non-positive clabel ID's are reserved!

See Also:
Constant Field Values

CLABEL_ID_SUBSCRIPTION

public static final String CLABEL_ID_SUBSCRIPTION
See Also:
Constant Field Values

CLABEL_ID_INHERIT

public static final String CLABEL_ID_INHERIT
See Also:
Constant Field Values

clabels

public WProperties clabels
Key is the clabel ID, value is the clabel's description.


clabelColors

public WProperties clabelColors
Key is the clabel ID, value is the clabel's (6 hex digit) colorString.


clabelImages

public WProperties clabelImages
Key is the clabel ID, value is a String representing an image URL.


clabelOverImages

public WProperties clabelOverImages
Key is the clabel ID, value is a String representing an image URL.

Constructor Detail

CLabelDefinitions

public CLabelDefinitions()
Method Detail

store

public void store(OutputStream out)
           throws IOException
Description copied from class: WStorable
Store the storable to an output stream.

Specified by:
store in class WStorable
Parameters:
out - the output stream to store to.
Throws:
IOException

load

public void load(InputStream in,
                 int version)
          throws IOException
Reads the configuration data from the specified input.

Specified by:
load in class WStorable
Parameters:
in - the InputStream to read from.
version - the CLabelDefinitions-version at time of storage.
Throws:
IOException

clone

public Object clone()
Description copied from class: WStorable
Clone the storable object.

Specified by:
clone in class WStorable
Returns:
an object of the same type that is a thread-safe clone.


Copyright © 1997-2008 Aduna. All Rights Reserved.