com.jalios.jcms
Class DataIndexManager

java.lang.Object
  extended by com.jalios.jcms.AbstractIndexManager
      extended by com.jalios.jcms.DataIndexManager

public class DataIndexManager
extends AbstractIndexManager


Field Summary
static String REVISION
           
 
Fields inherited from class com.jalios.jcms.AbstractIndexManager
channel
 
Method Summary
 Object getExtraInfo(Data data, String key)
          Returns the ExtraInfo which is associated to the given key for the given data.
 Map<String,Object> getExtraInfoMap(Data data)
          Returns the ExtraInfo Map which is associated to the given data.
static DataIndexManager getInstance()
           
 Object putExtraInfo(Data data, String key, Object value)
          Associates the given ExtraInfo for the given data.
 Object removeExtraInfo(Data data, String key)
          Removes the mapping for this key from this map if it is present.
 
Methods inherited from class com.jalios.jcms.AbstractIndexManager
addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, setIndexWithSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Method Detail

getInstance

public static DataIndexManager getInstance()

getExtraInfoMap

public Map<String,Object> getExtraInfoMap(Data data)
Returns the ExtraInfo Map which is associated to the given data.

Parameters:
data - the data to get the ExtraInfo Map
Returns:
the ExtraInfo Map which is associated to the given data.
Since:
jcms-6.0.0

getExtraInfo

public Object getExtraInfo(Data data,
                           String key)
Returns the ExtraInfo which is associated to the given key for the given data.

Parameters:
data - the data to get the ExtraInfo
key - whose associated value is to be returned.
Returns:
the ExtraInfo which is associated to the given key for the given data.
Since:
jcms-6.0.0

putExtraInfo

public Object putExtraInfo(Data data,
                           String key,
                           Object value)
Associates the given ExtraInfo for the given data.

Parameters:
data - data with which this ExtraInfo is to be associated.
key - key with which the specified value is to be associated.
value - valuee to be associated with the specified key.
Returns:
previous value associated with specified key, or null if there was no mapping for key. A null return can also indicate that the map previously associated null with the specified key, if the implementation supports null values.
Since:
jcms-6.0.0

removeExtraInfo

public Object removeExtraInfo(Data data,
                              String key)
Removes the mapping for this key from this map if it is present.

Parameters:
data - data with which this ExtraInfo is to be associated.
key - key whose mapping is to be removed from the map.
Returns:
previous value associated with specified key, or null if there was no mapping for key.
Since:
jcms-6.0.0


Copyright © 2001-2010 Jalios SA. All Rights Reserved.