Package com.axemble.vdoc.sdk.interfaces
Interface IIndexController
- All Superinterfaces:
IController,Serializable
- All Known Implementing Classes:
IndexController
This class manages indexes.
- Since:
- 2.0, 03/10/2010
- Version:
- 1.0
- Author:
- vlygeros
-
Method Summary
Modifier and TypeMethodDescriptionaddDocument(Serializable objectToIndex) Index or reindex an objectgetName()Gets the name of the index.voidincrementalIndex(Date lastIndexDate) Run an incremental indexvoidreindex()Recreate an indexvoidremoveDocument(String idToUnindex) Remove an object from index
-
Method Details
-
getName
String getName()Gets the name of the index.- Returns:
- The name of the index as a java.lang.String value.
-
addDocument
Index or reindex an object- Parameters:
objectToIndex- object to index/reindex- Returns:
- the identifier of objectToIndex in the index
- Throws:
PortalModuleException- default module exception.
-
removeDocument
Remove an object from index- Parameters:
idToUnindex- object id- Throws:
PortalModuleException- default module exception.
-
incrementalIndex
Run an incremental index- Parameters:
lastIndexDate- date of the last indexation- Throws:
PortalModuleException- default module exception.
-
reindex
Recreate an index- Throws:
PortalModuleException- default module exception.
-