public final class OaiPmhSearchForm
extends org.apache.struts.action.ActionForm
Modifier and Type | Class and Description |
---|---|
class |
OaiPmhSearchForm.DateLabelPair |
Constructor and Description |
---|
OaiPmhSearchForm()
Constructor for the ProviderAdminForm Bean object
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getAvailableFormats() |
java.util.List |
getAvailableSets() |
java.lang.String |
getContextURL() |
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 |
getExampleFormat() |
java.lang.String |
getExampleId() |
java.lang.String |
getMessage()
Gets the message attribute of the ProviderAdminForm object
|
java.lang.String |
getOaiIdPfx()
Gets the oaiIdPfx attribute of the ProviderBean object
|
java.lang.String |
getShowAdvanced() |
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.
|
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 |
setAvailableFormats(java.util.List availableFormats) |
void |
setAvailableSets(java.util.List avalableSets) |
void |
setContextURL(java.lang.String contextURL) |
protected void |
setDebug(boolean db)
Sets the debug attribute of the DocumentService object
|
void |
setExampleFormat(java.lang.String exampleFormat) |
void |
setExampleId(java.lang.String exampleId) |
void |
setMessage(java.lang.String message)
Sets the message attribute of the ProviderAdminForm object
|
void |
setOaiIdPfx(java.lang.String oaiIdPfx)
Sets the oaiIdPfx attribute of the ProviderBean object
|
void |
setShowAdvanced(java.lang.String showAdvanced) |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the input.
|
public OaiPmhSearchForm()
public java.lang.String getShowAdvanced()
public void setShowAdvanced(java.lang.String showAdvanced)
public java.lang.String getExampleFormat()
public void setExampleFormat(java.lang.String exampleFormat)
public java.lang.String getContextURL()
public void setContextURL(java.lang.String contextURL)
public java.lang.String getOaiIdPfx()
public void setOaiIdPfx(java.lang.String oaiIdPfx)
oaiIdPfx
- The new oaiIdPfx valuepublic java.util.List getAvailableFormats()
public void setAvailableFormats(java.util.List availableFormats)
public java.util.List getAvailableSets()
public void setAvailableSets(java.util.List avalableSets)
public void setExampleId(java.lang.String exampleId)
public java.lang.String getExampleId()
public java.util.List getUtcDates()
public void setMessage(java.lang.String message)
message
- The new message valuepublic java.lang.String getMessage()
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class org.apache.struts.action.ActionForm
mapping
- The ActionMapping used.request
- The HttpServletRequest for this request.protected static 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.protected final void setDebug(boolean db)
db
- The new debug value