Package com.jalios.jcms
Class AbstractIndexManager.DataIndex<D extends Data,C>
java.lang.Object
com.jalios.jcms.AbstractIndexManager.DataIndex<D,C>
- Type Parameters:
D- the data type for which index is being createdC- the type of collection stored
- Direct Known Subclasses:
AbstractIndexManager.DataIndexMap,AbstractIndexManager.DataIndexSet
- Enclosing class:
AbstractIndexManager
Collection to store previoulsy computed information associated to Data and DBData
- Since:
- 9.0.3 - JCMS-5258
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()protected DgetOriginalData(D data) protected CputIndexCollection(D data, C collection) Put the collection to use for the specified dataprotected CremoveIndexCollection(D data) Removes the mapping for a key from this map if it is present (optional operation).
-
Field Details
-
dataMap
-
dbDataMap
-
-
Constructor Details
-
DataIndex
public DataIndex()
-
-
Method Details
-
putIndexCollection
Put the collection to use for the specified data- Parameters:
data- the data for which the Index is being modifiedcollection- the collection to associate to the data (must not be null)- Returns:
- the previous collection associated with
data, ornullif there was no mapping fordata.
-
removeIndexCollection
Removes the mapping for a key from this map if it is present (optional operation).- Parameters:
data- the data for which the Index is being removed- Returns:
- the previous value associated with
key, ornullif there was no mapping forkey
-
getOriginalData
-
clear
public void clear()
-