com.softwareag.centrasite.api.csom.search
Interface CSOSearchResult


public interface CSOSearchResult

The CSOSearchResult provides a collection of result items where each result item is assumed to be a CentraSiteObject.
The CSOSearchResult comes with methods for iterating the result and querying properties of the search result.


Method Summary
 java.util.Collection<CentraSiteObjectAttribute> getResultAttributes()
          Returns the result attributes which is configured with the search object already
 java.util.Iterator<CentraSiteObject> iterator()
          Returns the iterator which will be used to fetch the search result Will give the cursor which will be enabled with on-demand load functionality
 int size()
          Returns the size of the search result
 

Method Detail

iterator

java.util.Iterator<CentraSiteObject> iterator()
                                              throws CLLException
Returns the iterator which will be used to fetch the search result Will give the cursor which will be enabled with on-demand load functionality

Returns:
Iterator to the search results
Throws:
CLLException

size

int size()
Returns the size of the search result

Returns:
total count of search results

getResultAttributes

java.util.Collection<CentraSiteObjectAttribute> getResultAttributes()
Returns the result attributes which is configured with the search object already

Returns:
Collection of CentraSiteObjectAttributes configured for the search results