Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


oracle.webcenter.peopleconnections.profile.model.crawler
Class ProfileServiceCrawlerQueryResult

java.lang.Object
  extended by oracle.webcenter.peopleconnections.profile.model.crawler.ProfileServiceCrawlerQueryResult

All Implemented Interfaces:
java.util.Iterator<Row>, QueryResult<Row>

public class ProfileServiceCrawlerQueryResult
extends java.lang.Object
implements QueryResult<Row>

This class represents crawler query results for Profile Service. It extends from @[link QueryResult} and provide methods that can get User's profile when provided startIndex, size, last crawltime [used for incremental crawl] etc.


Field Summary

 

Fields inherited from interface oracle.webcenter.search.QueryResult
ESTIMATED_RESULT_COUNT, RESPONSE_TIME

 

Constructor Summary
ProfileServiceCrawlerQueryResult()
           
ProfileServiceCrawlerQueryResult(int startIndex, int size, java.util.Date lastCrawlTime)
          Default Constructor for this class.

 

Method Summary
 java.util.Map getProperties()
          Returns a map of response properties about this result.
 int getRowsCount(java.util.Date lastCrawlTime)
           
 boolean hasNext()
           
 Row next()
           
 void remove()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ProfileServiceCrawlerQueryResult

public ProfileServiceCrawlerQueryResult()

ProfileServiceCrawlerQueryResult

public ProfileServiceCrawlerQueryResult(int startIndex,
                                        int size,
                                        java.util.Date lastCrawlTime)
                                 throws ProfileException,
                                        SettingsException
Default Constructor for this class. Responsible for all the processing
Parameters:
startIndex -
size -
lastCrawlTime -
Throws:
ProfileException
SettingsException

Method Detail

getRowsCount

public int getRowsCount(java.util.Date lastCrawlTime)

getProperties

public java.util.Map getProperties()
Description copied from interface: QueryResult
Returns a map of response properties about this result. including approximate number of hits.
Specified by:
getProperties in interface QueryResult<Row>
Returns:
a Map of properties with String keys and String values

next

public Row next()
Specified by:
next in interface java.util.Iterator<Row>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Row>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Row>

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.