public class DDSServicesForm extends VocabForm implements java.io.Serializable
DDSServicesAction
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
DDSServicesForm.DateLabelPair
NOT YET DOCUMENTED
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_CODE_BADARGUMENT |
static java.lang.String |
ERROR_CODE_BADQUERY |
static java.lang.String |
ERROR_CODE_BADVERB |
static java.lang.String |
ERROR_CODE_CANNOTDISSEMINATEFORMAT |
static java.lang.String |
ERROR_CODE_IDDOESNOTEXIST |
static java.lang.String |
ERROR_CODE_INTERNALSERVERERROR |
static java.lang.String |
ERROR_CODE_NORECORDSMATCH |
static java.lang.String |
ERROR_CODE_NOTAUTHORIZED |
Constructor and Description |
---|
DDSServicesForm()
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 for
|
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 |
getErrorCode()
Gets the errorCode attribute of the DDSServicesForm object
|
java.lang.String |
getErrorMsg()
Gets the errorMsg attribute of the DDSServicesForm object
|
java.lang.String |
getLocalizedRecordXml()
Gets the localizedRecordXml attribute of the DDSServicesForm object
|
int |
getN()
Gets the n attribute of the DDSServicesForm object
|
int |
getNumResults()
Gets the number of matching results.
|
java.lang.String |
getRecordFormat()
Gets the recordFormat attribute of the DDSServicesForm object
|
java.lang.String |
getRecordXml()
Gets the recordXml attribute of the DDSServicesForm object
|
ResultDocList |
getResults()
Gets the results attribute of the DDSServicesForm object
|
int |
getS()
Gets the s attribute of the DDSServicesForm object
|
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.util.List |
getXmlFormats()
Gets the xmlFormats attribute of the DDSServicesForm 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 |
setAuthorizedFor(java.lang.String val)
Sets the role name for which this user is authorized for
|
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute
|
void |
setErrorCode(java.lang.String errorCode)
Sets the errorCode attribute of the DDSServicesForm object
|
void |
setErrorMsg(java.lang.String errorMsg)
Sets the errorMsg attribute of the DDSServicesForm object
|
void |
setN(int val)
Sets the n attribute of the DDSServicesForm object
|
void |
setRecordFormat(java.lang.String val)
Sets the recordFormat attribute of the DDSServicesForm object
|
void |
setRecordXml(java.lang.String val)
Sets the recordXml attribute of the DDSServicesForm object
|
void |
setResults(ResultDocList results)
Sets the results attribute of the DDSServicesForm object
|
void |
setS(int val)
Sets the s attribute of the DDSServicesForm object
|
void |
setXmlFormats(java.util.List var)
Sets the xmlFormats attribute of the DDSServicesForm object
|
getAudience, getField, getFieldId, getFieldLabel, getIsVocabTermAvailable, getLanguage, getVocab, getVocabList, getVocabList, getVocabTerm, setField, setField, setMetaFormat, setValue, setVocab, setVocabInterface
public static final java.lang.String ERROR_CODE_NORECORDSMATCH
public static final java.lang.String ERROR_CODE_CANNOTDISSEMINATEFORMAT
public static final java.lang.String ERROR_CODE_IDDOESNOTEXIST
public static final java.lang.String ERROR_CODE_BADARGUMENT
public static final java.lang.String ERROR_CODE_BADVERB
public static final java.lang.String ERROR_CODE_BADQUERY
public static final java.lang.String ERROR_CODE_NOTAUTHORIZED
public static final java.lang.String ERROR_CODE_INTERNALSERVERERROR
public DDSServicesForm()
public java.util.List getXmlFormats()
public void setXmlFormats(java.util.List var)
var
- The new xmlFormats valuepublic 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 setErrorCode(java.lang.String errorCode)
errorCode
- The new errorCode valuepublic java.lang.String getErrorCode()
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 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