public class DataIndexManager extends AbstractIndexManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
channel
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getExtraInfo(Data data,
java.lang.String key)
Returns the ExtraInfo which is associated to the given key for the given data.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraInfoMap(Data data)
Returns the ExtraInfo Map which is associated to the given data.
|
static DataIndexManager |
getInstance() |
java.lang.Object |
putExtraInfo(Data data,
java.lang.String key,
java.lang.Object value)
Associates the given ExtraInfo for the given data.
|
java.lang.Object |
removeExtraInfo(Data data,
java.lang.String key)
Removes the mapping for this key from this map if it is present.
|
java.util.Map<java.lang.String,java.lang.Object> |
removeExtraInfoMap(Data data)
Removes and returns the ExtraInfo Map which is associated to the given data.
|
java.util.Map<java.lang.String,java.lang.Object> |
setExtraInfoMap(Data data,
java.util.Map<java.lang.String,java.lang.Object> extraInfoMap)
Set the ExtraInfo Map associated to the given data.
|
addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, setIndexWithSet
public static final java.lang.String REVISION
public static DataIndexManager getInstance()
public java.util.Map<java.lang.String,java.lang.Object> getExtraInfoMap(Data data)
data
- the data to get the ExtraInfo Mappublic java.lang.Object getExtraInfo(Data data, java.lang.String key)
data
- the data to get the ExtraInfokey
- whose associated value is to be returned.public java.lang.Object putExtraInfo(Data data, java.lang.String key, java.lang.Object value)
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.public java.lang.Object removeExtraInfo(Data data, java.lang.String key)
data
- data with which this ExtraInfo is to be associated.key
- key whose mapping is to be removed from the map.public java.util.Map<java.lang.String,java.lang.Object> removeExtraInfoMap(Data data)
data
- the data from which to get and remove the ExtraInfo Mappublic java.util.Map<java.lang.String,java.lang.Object> setExtraInfoMap(Data data, java.util.Map<java.lang.String,java.lang.Object> extraInfoMap)
Replace any exiting map already associated to the data.
data
- the data for which to set the ExtraInfo MapextraInfoMap
- the map to associate to the specified dataCopyright © 2001-2010 Jalios SA. All Rights Reserved.