|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.index.writer.ServletContextFileIndexingPlugin
org.dlese.dpc.schemedit.dcs.DcsDataFileIndexingPlugin
public class DcsDataFileIndexingPlugin
Helper for indexing DCS-specific workflow status information along with the normally-indexed fields for a metadata record.
Status information is obtained from a DcsDataRecord
via the DcsDataManager.
Invoked by the RepositoryManager
putRecord method during all indexing operations.
| Field Summary | |
|---|---|
protected static boolean |
debug
Description of the Field |
static String |
FIELD_NS
Name space prefix for dcs indexing fields |
| Constructor Summary | |
|---|---|
DcsDataFileIndexingPlugin()
|
|
| Method Summary | |
|---|---|
void |
addFields(File file,
org.apache.lucene.document.Document newDoc,
org.apache.lucene.document.Document existingDoc,
String docType,
String docGroup)
Adds workflow status fields to the index for a particular record. |
protected void |
prtln(String s)
Print a line to standard out. |
| Methods inherited from class org.dlese.dpc.index.writer.ServletContextFileIndexingPlugin |
|---|
getServletContext, setServletContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean debug
public static final String FIELD_NS
| Constructor Detail |
|---|
public DcsDataFileIndexingPlugin()
| Method Detail |
|---|
public final void addFields(File file,
org.apache.lucene.document.Document newDoc,
org.apache.lucene.document.Document existingDoc,
String docType,
String docGroup)
throws Exception
newDoc - The new Document that is being created for this
resourceexistingDoc - An existing Document that currently resides in the
index for the given resource, or null if none was previously presentfile - The sourceFile that is being indexed.docType - The feature to be added to the Fields attributedocGroup - The feature to be added to the Fields attribute
Exception - If an error occursDocumentprotected void prtln(String s)
s - The String to print.
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||