Class DataIndexManager

    • Method Detail

      • getExtraInfoMap

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.Object getExtraInfo​(Data data,
                                             java.lang.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 java.lang.Object putExtraInfo​(Data data,
                                             java.lang.String key,
                                             java.lang.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 java.lang.Object removeExtraInfo​(Data data,
                                                java.lang.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
      • removeExtraInfoMap

        public 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.
        Parameters:
        data - the data from which to get and remove the ExtraInfo Map
        Returns:
        the ExtraInfo Map which is associated to the given data.
        Since:
        JCMS-3804
      • setExtraInfoMap

        public 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.

        Replace any exiting map already associated to the data.

        Parameters:
        data - the data for which to set the ExtraInfo Map
        extraInfoMap - the map to associate to the specified data
        Returns:
        the previous ExtraInfo Map associated to the given data.
        Since:
        JCMS-3804