org.exoplatform.commons.api.indexing
Class IndexingService

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

public abstract class IndexingService
extends Object

The class provides indexing API that connector implements to index it's data


Field Summary
protected static String DATE_INDEXED
           
protected static String LAST_UPDATE
           
 
Constructor Summary
IndexingService()
           
 
Method Summary
abstract  void add(SearchEntry searchEntry)
          Add entry
abstract  void delete(SearchEntryId id)
          Delete entry by id
abstract  void update(SearchEntryId id, Map<String,Object> changes)
          Update 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)
Add entry

Parameters:
searchEntry -

update

public abstract void update(SearchEntryId id,
                            Map<String,Object> changes)
Update entry

Parameters:
id - Id specifies a entry
changes - Entry needs to update

delete

public abstract void delete(SearchEntryId id)
Delete entry by id

Parameters:
id - SearchEntryId


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