lumis.search
Interface IAttributeSetReader

Package class diagram package IAttributeSetReader
All Known Implementing Classes:
SearchAttributes, SearchContent

@StableMinor(version="5.5",
             sinceVersion="4.0")
public interface IAttributeSetReader

Provides a common way to read attribute values, which consist in information exchanged between the portal and the search engines.

Since:
4.0.4
See Also:
SearchContent, SearchResults.getAttributes(), SearchHit.getAttributes()

Method Summary
 List<String> getAttributeValues(String attributeName)
          Returns all the values related to the attribute named as specified.
 boolean hasAttribute(String attributeName)
          Checks if the attribute set contains at least one attribute with the specified name.
 

Method Detail

hasAttribute

boolean hasAttribute(String attributeName)
Checks if the attribute set contains at least one attribute with the specified name.

Parameters:
attributeName - name of the attribute.
Returns:
true if at least one attribute with the provided name was found.
Since:
4.0.4

getAttributeValues

List<String> getAttributeValues(String attributeName)
Returns all the values related to the attribute named as specified.

Parameters:
attributeName - name of the attribute.
Returns:
all values related to the specified attribute name, or an empty List if there is no value to return.
Since:
4.0.4


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.