|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.repository.CollectionIndexingObserver
public class CollectionIndexingObserver
RepositoryIndexingObsever initializes IDGenerators for each collection after reindexing the entire repository (all collections). This is necessary because if metadata records have been added by hand (outside the DCS), then the existing "nextID" may no longer be valid.
Field Summary |
---|
Fields inherited from interface org.dlese.dpc.index.FileIndexingObserver |
---|
INDEXING_COMPLETED_ABORTED, INDEXING_COMPLETED_DIR_DOES_NOT_EXIST, INDEXING_COMPLETED_DIR_READ_ERROR, INDEXING_COMPLETED_ERROR, INDEXING_COMPLETED_ITEM_ERROR, INDEXING_COMPLETED_SUCCESS |
Constructor Summary | |
---|---|
CollectionIndexingObserver(String collectionKey,
CollectionRegistry collectionRegistry,
RepositoryManager rm)
Constructor for the CollectionIndexingObserver object |
Method Summary | |
---|---|
protected static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
void |
indexingCompleted(int status,
String message)
Called when indexing is complete. |
static void |
setDebug(boolean db)
Sets the debug attribute of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionIndexingObserver(String collectionKey, CollectionRegistry collectionRegistry, RepositoryManager rm)
collectionRegistry
- the collectionRegistry (contains IDGenerators)rm
- the repositoryManagerMethod Detail |
---|
public void indexingCompleted(int status, String message)
indexingCompleted
in interface FileIndexingObserver
status
- status code returned by indexermessage
- indexing messageprotected static final String getDateStamp()
public static void setDebug(boolean db)
db
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |