org.silverpeas.search.indexEngine.model
Class RepositoryIndexer

java.lang.Object
  extended by org.silverpeas.search.indexEngine.model.RepositoryIndexer

public class RepositoryIndexer
extends Object

An RepositoryIndexer allow to index files in a whole repository except the directories


Field Summary
static String ADD_ACTION
           
static String REMOVE_ACTION
           
 
Constructor Summary
RepositoryIndexer(String spaceId, String componentId)
           
 
Method Summary
 String getComponentId()
           
 String getSpaceId()
           
 void indexFile(String action, String creationDate, String creatorId, File file)
           
 void pathIndexer(File path, String creationDate, String creatorId, String action)
           
 void pathIndexer(String path, String creationDate, String creatorId, String action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD_ACTION

public static final String ADD_ACTION
See Also:
Constant Field Values

REMOVE_ACTION

public static final String REMOVE_ACTION
See Also:
Constant Field Values
Constructor Detail

RepositoryIndexer

public RepositoryIndexer(String spaceId,
                         String componentId)
Method Detail

getSpaceId

public String getSpaceId()

getComponentId

public String getComponentId()

pathIndexer

public void pathIndexer(String path,
                        String creationDate,
                        String creatorId,
                        String action)

pathIndexer

public void pathIndexer(File path,
                        String creationDate,
                        String creatorId,
                        String action)

indexFile

public void indexFile(String action,
                      String creationDate,
                      String creatorId,
                      File file)


Copyright © 2016 Silverpeas. All Rights Reserved.