lumis.search
Interface IAttributeSetReader

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

@StableMinor(version="6.2",
             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  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.