Package com.axemble.vdoc.sdk.impl
Class IndexController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.IndexController
- All Implemented Interfaces:
- IController,- IIndexController,- Serializable
Give Access to index methods
- Author:
- vlygeros
- See Also:
- 
Field SummaryFieldsFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddDocument(Serializable objectToIndex) Index or reindex an objectgetName()Gets the name of the index.voidincrementalIndex(Date lastIndexDate) Run an incremental indexprotected <T> StringindexDocumentGenerics(String indexName, T objectToIndex) voidreindex()Recreate an indexvoidremoveDocument(String idToUnindex) Remove an object from indexMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModule
- 
Field Details- 
name
 
- 
- 
Constructor Details- 
IndexController
 
- 
- 
Method Details- 
getNameDescription copied from interface:IIndexControllerGets the name of the index.- Specified by:
- getNamein interface- IIndexController
- Returns:
- The name of the index as a java.lang.String value.
 
- 
addDocumentDescription copied from interface:IIndexControllerIndex or reindex an object- Specified by:
- addDocumentin interface- IIndexController
- Parameters:
- objectToIndex- object to index/reindex
- Returns:
- the identifier of objectToIndex in the index
- Throws:
- PortalModuleException- default module exception.
 
- 
removeDocumentDescription copied from interface:IIndexControllerRemove an object from index- Specified by:
- removeDocumentin interface- IIndexController
- Parameters:
- idToUnindex- object id
- Throws:
- PortalModuleException- default module exception.
 
- 
incrementalIndexDescription copied from interface:IIndexControllerRun an incremental index- Specified by:
- incrementalIndexin interface- IIndexController
- Parameters:
- lastIndexDate- date of the last indexation
- Throws:
- PortalModuleException- default module exception.
 
- 
reindexDescription copied from interface:IIndexControllerRecreate an index- Specified by:
- reindexin interface- IIndexController
- Throws:
- PortalModuleException- default module exception.
 
- 
indexDocumentGenericsprotected <T> String indexDocumentGenerics(String indexName, T objectToIndex) throws PortalModuleException - Throws:
- PortalModuleException
 
 
-