|
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.oai.provider.action.form.OaiPmhSearchForm
public final class OaiPmhSearchForm
Form used to support OAI-PMH search page.
Nested Class Summary | |
---|---|
class |
OaiPmhSearchForm.DateLabelPair
|
Field Summary |
---|
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
OaiPmhSearchForm()
Constructor for the ProviderAdminForm Bean object |
Method Summary | |
---|---|
List |
getAvailableFormats()
|
List |
getAvailableSets()
|
String |
getContextURL()
|
protected static String |
getDs()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
String |
getExampleFormat()
|
String |
getExampleId()
|
String |
getMessage()
Gets the message attribute of the ProviderAdminForm object |
String |
getOaiIdPfx()
Gets the oaiIdPfx attribute of the ProviderBean object |
String |
getShowAdvanced()
|
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(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 |
setAvailableFormats(List availableFormats)
|
void |
setAvailableSets(List avalableSets)
|
void |
setContextURL(String contextURL)
|
protected void |
setDebug(boolean db)
Sets the debug attribute of the DocumentService object |
void |
setExampleFormat(String exampleFormat)
|
void |
setExampleId(String exampleId)
|
void |
setMessage(String message)
Sets the message attribute of the ProviderAdminForm object |
void |
setOaiIdPfx(String oaiIdPfx)
Sets the oaiIdPfx attribute of the ProviderBean object |
void |
setShowAdvanced(String showAdvanced)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Validate the input. |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OaiPmhSearchForm()
Method Detail |
---|
public String getShowAdvanced()
public void setShowAdvanced(String showAdvanced)
public String getExampleFormat()
public void setExampleFormat(String exampleFormat)
public String getContextURL()
public void setContextURL(String contextURL)
public String getOaiIdPfx()
public void setOaiIdPfx(String oaiIdPfx)
oaiIdPfx
- The new oaiIdPfx valuepublic List getAvailableFormats()
public void setAvailableFormats(List availableFormats)
public List getAvailableSets()
public void setAvailableSets(List avalableSets)
public void setExampleId(String exampleId)
public String getExampleId()
public List getUtcDates()
public void setMessage(String message)
message
- The new message valuepublic String getMessage()
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
validate
in class org.apache.struts.action.ActionForm
mapping
- The ActionMapping used.request
- The HttpServletRequest for this request.
protected static 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.protected final void setDebug(boolean db)
db
- 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 |