com.googlecode.fascinator.portal.services.impl
Class IndexerServiceImpl
java.lang.Object
com.googlecode.fascinator.portal.services.impl.IndexerServiceImpl
- All Implemented Interfaces:
- Indexer, Plugin, IndexerService
public class IndexerServiceImpl
- extends Object
- implements IndexerService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexerServiceImpl
public IndexerServiceImpl(Indexer indexer,
org.apache.tapestry5.services.ApplicationStateManager asm)
index
public void index(String oid)
throws IndexerException
- Specified by:
index in interface Indexer
- Throws:
IndexerException
index
public void index(String oid,
String pid)
throws IndexerException
- Specified by:
index in interface Indexer
- Throws:
IndexerException
commit
public void commit()
- Specified by:
commit in interface Indexer
annotate
public void annotate(String oid,
String pid)
throws IndexerException
- Specified by:
annotate in interface Indexer
- Throws:
IndexerException
annotateSearch
public void annotateSearch(SearchRequest request,
OutputStream result)
throws IndexerException
- Specified by:
annotateSearch in interface Indexer
- Throws:
IndexerException
annotateRemove
public void annotateRemove(String oid)
throws IndexerException
- Specified by:
annotateRemove in interface Indexer
- Throws:
IndexerException
annotateRemove
public void annotateRemove(String oid,
String pid)
throws IndexerException
- Specified by:
annotateRemove in interface Indexer
- Throws:
IndexerException
remove
public void remove(String oid)
throws IndexerException
- Specified by:
remove in interface Indexer
- Throws:
IndexerException
remove
public void remove(String oid,
String pid)
throws IndexerException
- Specified by:
remove in interface Indexer
- Throws:
IndexerException
search
public void search(SearchRequest request,
OutputStream result)
throws IndexerException
- Specified by:
search in interface Indexer
- Throws:
IndexerException
getId
public String getId()
- Specified by:
getId in interface Plugin
getName
public String getName()
- Specified by:
getName in interface Plugin
getPluginDetails
public PluginDescription getPluginDetails()
- Gets a PluginDescription object relating to this plugin.
- Specified by:
getPluginDetails in interface Plugin
- Returns:
- a PluginDescription
init
public void init(File jsonFile)
throws PluginException
- Specified by:
init in interface Plugin
- Throws:
PluginException
shutdown
public void shutdown()
throws PluginException
- Specified by:
shutdown in interface Plugin
- Throws:
PluginException
init
public void init(String jsonString)
throws PluginException
- Specified by:
init in interface Plugin
- Throws:
PluginException
Copyright © 2009-2012. All Rights Reserved.