|
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.suggest.action.form.SuggestForm org.dlese.dpc.suggest.action.form.SuggestResourceForm
public class SuggestResourceForm
ActionForm bean for handling requests that access a SuggestionRecord
the QA DataBase and Records.
Field Summary | |
---|---|
protected ValidatorResults |
validatorResults
NOT YET DOCUMENTED |
Fields inherited from class org.dlese.dpc.suggest.action.form.SuggestForm |
---|
coppa, popup, schemaHelper, vocab |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
SuggestResourceForm()
Constructor |
Method Summary | |
---|---|
void |
clear()
resets the bean's key attributes |
String |
getDescription()
Gets the description attribute of the SuggestResourceForm object |
DupSim |
getDupRecord()
Gets the dupRecord attribute of the SuggestResourceForm object |
String |
getDupRecordId()
Gets the dupRecordId attribute of the SuggestResourceForm object |
String |
getEmailPrimary()
Gets the emailPrimary attribute of the SuggestResourceForm object |
String[] |
getGradeRangeChoices()
Grabs the collection keys from the DPC keys schema. |
String[] |
getGradeRangeChoicesSystemKeys()
Gets the gradeRangeChoicesSystemKeys attribute of the SuggestResourceForm object |
org.apache.struts.util.LabelValueBean[] |
getGradeRangeOptions()
Create a LabelValueBean array holding the gradeRangeChoices and Labels |
String[] |
getGradeRanges()
Gets the gradeRanges attribute of the SuggestResourceForm object |
String |
getGradeRangesDisplay()
Gets a displayable version of the selected gradeRanges |
String[] |
getGradeRangesKeys()
Gets the gradeRangesKeys attribute of the SuggestResourceForm object |
String |
getInstName()
Gets the instName attribute of the SuggestResourceForm object |
String |
getNameFirst()
Gets the nameFirst attribute of the SuggestResourceForm object |
String |
getNameLast()
Gets the nameLast attribute of the SuggestResourceForm object |
boolean |
getPreserveGradeRanges()
Gets the preserveGradeRanges attribute of the SuggestResourceForm object |
String |
getTitle()
Gets the title attribute of the SuggestResourceForm object |
String |
getUrl()
Gets the url attribute of the SuggestResourceForm object |
ValidatorResults |
getValidatorResults()
Gets the validatorResults attribute of the SuggestForm object |
protected void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
We need this method to allow gradeRange to be zero'd out as a multibox. |
static void |
setDebug(boolean db)
Sets the debug attribute of the SuggestResourceForm object |
void |
setDescription(String val)
Sets the description attribute of the SuggestResourceForm object |
void |
setEmailPrimary(String val)
Sets the emailPrimary attribute of the SuggestResourceForm object |
void |
setGradeRanges(String[] vals)
Sets the gradeRanges attribute of the SuggestResourceForm object |
void |
setInstName(String val)
Sets the instName attribute of the SuggestResourceForm object |
void |
setNameFirst(String val)
Sets the nameFirst attribute of the SuggestResourceForm object |
void |
setNameLast(String val)
Sets the nameLast attribute of the SuggestResourceForm object |
void |
setPreserveGradeRanges(boolean val)
Sets the preserveGradeRanges attribute of the SuggestResourceForm object |
void |
setTitle(String val)
Sets the title attribute of the SuggestResourceForm object |
void |
setUrl(String val)
Sets the url attribute of the SuggestResourceForm object |
void |
setValidatorResults(ValidatorResults results)
Sets the validatorResults attribute of the SuggestForm object |
String |
toString()
Print selected fields of this object for debugging purposes |
Methods inherited from class org.dlese.dpc.suggest.action.form.SuggestForm |
---|
getCoppa, getPopup, setCoppa, setPopup, setSchemaHelper, setVocab |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ValidatorResults validatorResults
Constructor Detail |
---|
public SuggestResourceForm()
Method Detail |
---|
public void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
reset
in class SuggestForm
mapping
- Description of the Parameterrequest
- Description of the Parameterpublic void clear()
clear
in class SuggestForm
public ValidatorResults getValidatorResults()
public void setValidatorResults(ValidatorResults results)
results
- The new validatorResults valuepublic DupSim getDupRecord()
public String getDupRecordId()
public String getTitle()
public void setTitle(String val)
val
- The new title valuepublic String getUrl()
public void setUrl(String val)
val
- The new url valuepublic String getDescription()
public void setDescription(String val)
val
- The new description valuepublic void setPreserveGradeRanges(boolean val)
val
- The new preserveGradeRanges valuepublic boolean getPreserveGradeRanges()
public String getGradeRangesDisplay() throws Exception
Exception
- Description of the Exceptionpublic String[] getGradeRanges()
public String[] getGradeRangesKeys()
public void setGradeRanges(String[] vals)
vals
- The new gradeRanges valuepublic String getNameFirst()
public void setNameFirst(String val)
val
- The new nameFirst valuepublic String getNameLast()
public void setNameLast(String val)
val
- The new nameLast valuepublic String getEmailPrimary()
public void setEmailPrimary(String val)
val
- The new emailPrimary valuepublic String getInstName()
public void setInstName(String val)
val
- The new instName valuepublic org.apache.struts.util.LabelValueBean[] getGradeRangeOptions()
public String[] getGradeRangeChoices()
public String[] getGradeRangeChoicesSystemKeys()
public String toString()
toString
in class Object
public static void setDebug(boolean db)
db
- The new debug valueprotected final void prtln(String s)
s
- The String that will be output.
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |