|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.DefaultComponent org.nuxeo.ecm.core.search.api.backend.impl.AbstractSearchEngineBackend
public abstract class AbstractSearchEngineBackend
Abstract search engine backend.
Third party code that whish to register a backend must extend this abc.
SearchEngineBackend
,
Serialized FormMethod Summary | |
---|---|
java.lang.String |
getConfigurationFileName()
Get configuration file name if any. |
java.lang.String |
getName()
Returns the plugin name. |
java.util.List<java.lang.String> |
getSupportedAnalyzersFor()
Returns the supported analyers. |
java.util.List<java.lang.String> |
getSupportedFieldTypes()
Returns the supported field types. |
void |
registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
|
void |
setConfigurationFileName(java.lang.String configurationFileName)
Set the configuration filr name for this backend. |
void |
setName(java.lang.String name)
Set the name of the plugin. |
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
---|
activate, deactivate, getAdapter, registerExtension, unregisterContribution, unregisterExtension |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.search.api.backend.SearchEngineBackend |
---|
clear, closeSession, createSession, deleteAggregatedResources, deleteAtomicResource, index, saveAllSessions, searchQuery, searchQuery, searchQuery |
Method Detail |
---|
public java.lang.String getName()
SearchEngineBackend
getName
in interface SearchEngineBackend
public void setName(java.lang.String name)
SearchEngineBackend
setName
in interface SearchEngineBackend
name
- : the name of the plugin.public java.util.List<java.lang.String> getSupportedAnalyzersFor()
SearchEngineBackend
getSupportedAnalyzersFor
in interface SearchEngineBackend
public java.util.List<java.lang.String> getSupportedFieldTypes()
SearchEngineBackend
getSupportedFieldTypes
in interface SearchEngineBackend
public java.lang.String getConfigurationFileName()
SearchEngineBackend
Expected to be loadable in the classpath.
This aimed at being optional. See backend descriptor in core.
getConfigurationFileName
in interface SearchEngineBackend
public void setConfigurationFileName(java.lang.String configurationFileName)
SearchEngineBackend
This aimed at being optional. See backend descriptor in core.
setConfigurationFileName
in interface SearchEngineBackend
configurationFileName
- : the name of the configuration file with
extension.public void registerContribution(java.lang.Object contribution, java.lang.String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |