Package org.silverpeas.core.web.index
Class ApplicationDYMIndexer
- java.lang.Object
-
- org.silverpeas.core.web.index.AbstractIndexer
-
- org.silverpeas.core.web.index.ApplicationDYMIndexer
-
public class ApplicationDYMIndexer extends AbstractIndexer
Executes a partial or full reindexing of spelling indexes
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.web.index.AbstractIndexer
admin
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ApplicationDYMIndexer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationDYMIndexer
getInstance()
protected void
indexAllData()
Indexes all spelling indexesvoid
indexComponent(String spaceId, String componentId)
Indexes one componentvoid
indexPdc()
creates a spellchecker index for the PDCvoid
indexPersonalComponent(String personalComponent)
create spellchecker indexes of personal component by parsing the file system to retrieve existing indexes-
Methods inherited from class org.silverpeas.core.web.index.AbstractIndexer
index, indexAll, indexAllSpaces, indexPersonalComponents, isIndexAllProcess
-
-
-
-
Method Detail
-
getInstance
public static ApplicationDYMIndexer getInstance()
-
indexAllData
protected void indexAllData()
Indexes all spelling indexes- Specified by:
indexAllData
in classAbstractIndexer
- Throws:
Exception
- whether an exception occurred
-
indexComponent
public void indexComponent(String spaceId, String componentId)
Indexes one component- Specified by:
indexComponent
in classAbstractIndexer
- Parameters:
spaceId
- space identifiercomponentId
- component identifier- Throws:
Exception
- whether an exception occurred
-
indexPersonalComponent
public void indexPersonalComponent(String personalComponent)
create spellchecker indexes of personal component by parsing the file system to retrieve existing indexes- Specified by:
indexPersonalComponent
in classAbstractIndexer
- Parameters:
personalComponent
- personal component name
-
indexPdc
public void indexPdc()
creates a spellchecker index for the PDC
-
-