|
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.apache.struts.action.ActionForm org.dlese.dpc.dds.action.form.VocabForm org.dlese.dpc.services.dds.action.form.DDSServicesForm
public class DDSServicesForm
A ActionForm bean that holds data for DDS web services and has access to vocab info.
DDSServicesAction
,
Serialized FormNested Class Summary | |
---|---|
class |
DDSServicesForm.DateLabelPair
NOT YET DOCUMENTED |
Field Summary | |
---|---|
static String |
ERROR_CODE_BADARGUMENT
|
static String |
ERROR_CODE_BADQUERY
|
static String |
ERROR_CODE_BADVERB
|
static String |
ERROR_CODE_CANNOTDISSEMINATEFORMAT
|
static String |
ERROR_CODE_IDDOESNOTEXIST
|
static String |
ERROR_CODE_INTERNALSERVERERROR
|
static String |
ERROR_CODE_NORECORDSMATCH
|
static String |
ERROR_CODE_NOTAUTHORIZED
|
Fields inherited from class org.dlese.dpc.dds.action.form.VocabForm |
---|
audience, field, language, metaFormat, value, vocab |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
DDSServicesForm()
Constructor for the RepositoryForm object |
Method Summary | |
---|---|
String |
getAuthorizedFor()
Gets the role name for which this user is authorized for |
protected static String |
getDs()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
String |
getErrorCode()
Gets the errorCode attribute of the DDSServicesForm object |
String |
getErrorMsg()
Gets the errorMsg attribute of the DDSServicesForm object |
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. |
String |
getRecordFormat()
Gets the recordFormat attribute of the DDSServicesForm object |
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 |
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. |
List |
getXmlFormats()
Gets the xmlFormats attribute of the DDSServicesForm object |
protected void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
protected void |
prtlnErr(String s)
Output a line of text to error out, with datestamp. |
void |
setAuthorizedFor(String val)
Sets the role name for which this user is authorized for |
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute |
void |
setErrorCode(String errorCode)
Sets the errorCode attribute of the DDSServicesForm object |
void |
setErrorMsg(String errorMsg)
Sets the errorMsg attribute of the DDSServicesForm object |
void |
setN(int val)
Sets the n attribute of the DDSServicesForm object |
void |
setRecordFormat(String val)
Sets the recordFormat attribute of the DDSServicesForm object |
void |
setRecordXml(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(List var)
Sets the xmlFormats attribute of the DDSServicesForm object |
Methods inherited from class org.dlese.dpc.dds.action.form.VocabForm |
---|
getAudience, getField, getFieldId, getFieldLabel, getIsVocabTermAvailable, getLanguage, getVocab, getVocabList, getVocabList, getVocabTerm, setField, setField, setMetaFormat, setValue, setVocab, setVocabInterface |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ERROR_CODE_NORECORDSMATCH
public static final String ERROR_CODE_CANNOTDISSEMINATEFORMAT
public static final String ERROR_CODE_IDDOESNOTEXIST
public static final String ERROR_CODE_BADARGUMENT
public static final String ERROR_CODE_BADVERB
public static final String ERROR_CODE_BADQUERY
public static final String ERROR_CODE_NOTAUTHORIZED
public static final String ERROR_CODE_INTERNALSERVERERROR
Constructor Detail |
---|
public DDSServicesForm()
Method Detail |
---|
public List getXmlFormats()
public void setXmlFormats(List var)
var
- The new xmlFormats valuepublic String getLocalizedRecordXml()
public String getRecordXml()
public void setRecordXml(String val)
val
- The new recordXml valuepublic void setRecordFormat(String val)
val
- The new recordFormat valuepublic 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 String getAuthorizedFor()
public void setAuthorizedFor(String val)
val
- The new authorizedFor valuepublic void setErrorCode(String errorCode)
errorCode
- The new errorCode valuepublic String getErrorCode()
public void setErrorMsg(String errorMsg)
errorMsg
- The new errorMsg valuepublic String getErrorMsg()
public ResultDocList getResults()
public void setResults(ResultDocList results)
results
- The new results valuepublic int getNumResults()
public List getUtcDates()
protected static final String getDs()
protected final void prtlnErr(String s)
s
- The text that will be output to error out.protected final void prtln(String s)
s
- The String that will be output.public static void setDebug(boolean isDebugOuput)
isDebugOuput
- 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 |