public class DDSReportingForm
extends org.apache.struts.action.ActionForm
implements java.io.Serializable
DDSReportingAction
,
Serialized FormConstructor and Description |
---|
DDSReportingForm()
Constructor for the RepositoryForm object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollection()
Gets the collection attribute of the DDSReportingForm object
|
protected static java.lang.String |
getDs()
Return a string for the current time and date, sutiable for display in log files and output to standout:
|
java.lang.String |
getErrorMsg()
Gets the errorMsg attribute of the DDSReportingForm object
|
java.lang.String |
getId()
Gets the id attribute of the DDSReportingForm object
|
java.util.List |
getIdsInMultipleRecords()
Gets a list of encoded IDs for index field 'id' that show being in more than one record in the index.
|
SimpleLuceneIndex |
getIndex()
Gets the index attribute of the DDSReportingForm object
|
java.lang.String |
getIndexToUse()
Gets the indexToUse attribute of the DDSReportingForm object
|
MmdRec[] |
getMmdRecsDupsOther()
Gets the mmdRecsDupsOther attribute of the DDSReportingForm object
|
MmdRec[] |
getMmdRecsDupsSame()
Gets the mmdRecsDupsSame attribute of the DDSReportingForm object
|
MmdRec |
getMyMmdRec()
Gets the myMmdRec attribute of the DDSReportingForm object
|
java.lang.String |
getNumResults()
Gets the numResults attribute of the DDSReportingForm object
|
int |
getNumTerms()
Gets the numTerms attribute of the DDSReportingForm object
|
java.lang.String[] |
getOriginalWords()
Gets the originalWords attribute of the DDSReportingForm object
|
ResultDocList |
getResults()
Gets the results attribute of the DDSReportingForm object
|
java.lang.String[] |
getStems()
Gets the stems attribute of the DDSReportingForm object
|
java.lang.String |
getTermCountFields()
Gets the termCountFields attribute of the DDSReportingForm object
|
java.util.Map |
getTermCountMap()
Gets the termCountMap attribute of the DDSReportingForm object
|
protected void |
prtln(java.lang.String s)
Output a line of text to standard out, with datestamp, if debug is set to true.
|
protected void |
prtlnErr(java.lang.String s)
Output a line of text to error out, with datestamp.
|
void |
setCalculateCountsForFields(java.lang.String s)
Sets the fields to generate term counts for, separated by spaces.
|
void |
setCalculateCountsForFieldsAsArray(java.lang.String[] fields)
Sets the fields to generate term counts for, or null for none.
|
void |
setCollection(java.lang.String collection)
Sets the collection attribute of the DDSReportingForm object
|
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute
|
void |
setErrorMsg(java.lang.String errorMsg)
Sets the errorMsg attribute of the DDSReportingForm object
|
void |
setId(java.lang.String id)
Sets the id attribute of the DDSReportingForm object
|
void |
setIndex(SimpleLuceneIndex newIndex)
Sets the index attribute of the DDSReportingForm object
|
void |
setIndexToUse(java.lang.String value)
Sets the indexToUse attribute of the DDSReportingForm object
|
void |
setResults(ResultDocList results)
Sets the results attribute of the DDSReportingForm object
|
void |
setStemWords(java.lang.String s)
Sets the stemWords attribute of the DDSReportingForm object
|
public DDSReportingForm()
public SimpleLuceneIndex getIndex()
public void setIndex(SimpleLuceneIndex newIndex)
newIndex
- The new index valuepublic void setId(java.lang.String id)
id
- The new id valuepublic java.lang.String getId()
public void setCollection(java.lang.String collection)
collection
- The new collection valuepublic java.lang.String getCollection()
public MmdRec[] getMmdRecsDupsSame()
public MmdRec getMyMmdRec()
public MmdRec[] getMmdRecsDupsOther()
public void setCalculateCountsForFields(java.lang.String s)
s
- The new calculateCountsForFields valuepublic void setCalculateCountsForFieldsAsArray(java.lang.String[] fields)
fields
- The new calculateCountsForFields valuepublic java.lang.String getTermCountFields()
public int getNumTerms()
public void setStemWords(java.lang.String s)
s
- The new stemWords valuepublic java.lang.String[] getOriginalWords()
public java.lang.String[] getStems()
public java.util.Map getTermCountMap()
public void setIndexToUse(java.lang.String value)
value
- The new indexToUse valuepublic java.lang.String getIndexToUse()
public void setErrorMsg(java.lang.String errorMsg)
errorMsg
- The new errorMsg valuepublic java.lang.String getErrorMsg()
public ResultDocList getResults()
public void setResults(ResultDocList results)
results
- The new results valuepublic java.lang.String getNumResults()
public java.util.List getIdsInMultipleRecords()
protected static final java.lang.String getDs()
protected final void prtlnErr(java.lang.String s)
s
- The text that will be output to error out.protected final void prtln(java.lang.String s)
s
- The String that will be output.public static void setDebug(boolean isDebugOuput)
isDebugOuput
- The new debug value