public abstract class IndexingServiceConnector extends org.exoplatform.container.component.BaseComponentPlugin implements Serializable
| Constructor and Description |
|---|
IndexingServiceConnector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReindex() |
abstract Document |
create(String id)
Transform an entity to Document in order to be indexed
|
abstract String |
delete(String id)
Transform a list of entities to Document in order to be deleted from create
|
abstract List<String> |
getAllIds(int offset,
int limit) |
String |
getType() |
boolean |
isEnable() |
void |
setEnable(boolean enable) |
void |
setType(String type) |
abstract Document |
update(String id)
Transform an entity to Document in order to be reindexed
|
public abstract Document create(String id)
id - Id of entity to createpublic abstract Document update(String id)
id - Id of entity to reindexpublic abstract String delete(String id)
id - Ids of entities to delete frompublic String getType()
public void setType(String type)
public boolean isEnable()
public void setEnable(boolean enable)
public boolean canReindex()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.