public class RecommenderForm
extends org.apache.struts.action.ActionForm
implements java.io.Serializable
DDSServicesAction
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
RecommenderForm.DateLabelPair |
Constructor and Description |
---|
RecommenderForm()
Constructor for the RepositoryForm object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthorizedFor()
Gets the role name for which this user is authorized
|
java.lang.String |
getCollection() |
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.util.List |
getErrorList() |
java.lang.String |
getErrorMsg()
Gets the errorMsg attribute of the RecommenderForm object
|
java.lang.String |
getId() |
java.lang.String |
getLocalizedRecordXml()
Gets the localizedRecordXml attribute of the RecommenderForm object
|
int |
getN()
Gets the n attribute of the RecommenderForm object
|
int |
getNumResults()
Gets the number of matching results.
|
java.lang.String |
getRecordFormat()
Gets the recordFormat attribute of the RecommenderForm object
|
java.lang.String |
getRecordXml()
Gets the recordXml attribute of the RecommenderForm object
|
ResultDocList |
getResults()
Gets the results attribute of the RecommenderForm object
|
int |
getS()
Gets the s attribute of the RecommenderForm object
|
java.lang.String[] |
getStatuses() |
java.util.List |
getStatusLabels() |
java.util.List |
getUtcDates()
A list of UTC dates in the past in the following order: one minute, one hour,
one day, one week, one month, one year.
|
java.lang.String |
getXmlFormat() |
java.util.List |
getXmlFormats() |
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 |
setAuthorizedFor(java.lang.String val)
Sets the role name for which this user is authorized
|
void |
setCollection(java.lang.String collection) |
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute
|
void |
setErrorList(java.util.List errorList) |
void |
setErrorMsg(java.lang.String errorMsg)
Sets the errorMsg attribute of the RecommenderForm object
|
void |
setId(java.lang.String id) |
void |
setN(int val)
Sets the n attribute of the RecommenderForm object
|
void |
setRecordFormat(java.lang.String val)
Sets the recordFormat attribute of the RecommenderForm object
|
void |
setRecordXml(java.lang.String val)
Sets the recordXml attribute of the RecommenderForm object
|
void |
setResults(ResultDocList results)
Sets the results attribute of the RecommenderForm object
|
void |
setS(int val)
Sets the s attribute of the RecommenderForm object
|
void |
setStatuses(java.lang.String[] statusValues) |
void |
setStatusLabels(java.util.List labels) |
void |
setXmlFormat(java.lang.String xmlFormat) |
void |
setXmlFormats(java.util.List var) |
public RecommenderForm()
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getCollection()
public void setCollection(java.lang.String collection)
public java.lang.String getXmlFormat()
public void setXmlFormat(java.lang.String xmlFormat)
public java.lang.String[] getStatuses()
public void setStatuses(java.lang.String[] statusValues)
public java.util.List getStatusLabels()
public void setStatusLabels(java.util.List labels)
public void setErrorList(java.util.List errorList)
public java.util.List getErrorList()
public java.util.List getXmlFormats()
public void setXmlFormats(java.util.List var)
public java.lang.String getLocalizedRecordXml()
public java.lang.String getRecordXml()
public void setRecordXml(java.lang.String val)
val
- The new recordXml valuepublic void setRecordFormat(java.lang.String val)
val
- The new recordFormat valuepublic java.lang.String getRecordFormat()
public int getS()
public void setS(int val)
val
- The new s valuepublic int getN()
public void setN(int val)
val
- The new n valuepublic java.lang.String getAuthorizedFor()
public void setAuthorizedFor(java.lang.String val)
val
- The new authorizedFor valuepublic 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 int getNumResults()
public java.util.List getUtcDates()
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