org.exoplatform.commons.api.indexing
Class IndexingService

java.lang.Object
  extended by org.exoplatform.commons.api.indexing.IndexingService

public abstract class IndexingService
extends Object

Provides the indexing API that a connector implements to index its data.


Field Summary
protected static String DATE_INDEXED
           
protected static String LAST_UPDATE
           
 
Constructor Summary
IndexingService()
           
 
Method Summary
abstract  void add(SearchEntry searchEntry)
          Adds a search entry.
abstract  void delete(SearchEntryId id)
          Deletes a search entry by its Id.
abstract  void update(SearchEntryId id, Map<String,Object> changes)
          Updates a search entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_INDEXED

protected static final String DATE_INDEXED
See Also:
Constant Field Values

LAST_UPDATE

protected static final String LAST_UPDATE
See Also:
Constant Field Values
Constructor Detail

IndexingService

public IndexingService()
Method Detail

add

public abstract void add(SearchEntry searchEntry)
Adds a search entry.

Parameters:
searchEntry - The search entry.

update

public abstract void update(SearchEntryId id,
                            Map<String,Object> changes)
Updates a search entry.

Parameters:
id - Id of the search entry.
changes - The search entry to be updated.

delete

public abstract void delete(SearchEntryId id)
Deletes a search entry by its Id.

Parameters:
id - Id of the search entry.


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.