public class SuggestResourceForm extends SuggestForm
SuggestionRecord
the QA DataBase and Records.Modifier and Type | Field and Description |
---|---|
protected ValidatorResults |
validatorResults
NOT YET DOCUMENTED
|
coppa, popup, schemaHelper, vocab
Constructor and Description |
---|
SuggestResourceForm()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
resets the bean's key attributes
|
java.lang.String |
getDescription()
Gets the description attribute of the SuggestResourceForm object
|
DupSim |
getDupRecord()
Gets the dupRecord attribute of the SuggestResourceForm object
|
java.lang.String |
getDupRecordId()
Gets the dupRecordId attribute of the SuggestResourceForm object
|
java.lang.String |
getEmailPrimary()
Gets the emailPrimary attribute of the SuggestResourceForm object
|
java.lang.String[] |
getGradeRangeChoices()
Grabs the collection keys from the DPC keys schema.
|
java.lang.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
|
java.lang.String[] |
getGradeRanges()
Gets the gradeRanges attribute of the SuggestResourceForm object
|
java.lang.String |
getGradeRangesDisplay()
Gets a displayable version of the selected gradeRanges
|
java.lang.String[] |
getGradeRangesKeys()
Gets the gradeRangesKeys attribute of the SuggestResourceForm object
|
java.lang.String |
getInstName()
Gets the instName attribute of the SuggestResourceForm object
|
java.lang.String |
getNameFirst()
Gets the nameFirst attribute of the SuggestResourceForm object
|
java.lang.String |
getNameLast()
Gets the nameLast attribute of the SuggestResourceForm object
|
boolean |
getPreserveGradeRanges()
Gets the preserveGradeRanges attribute of the SuggestResourceForm object
|
java.lang.String |
getTitle()
Gets the title attribute of the SuggestResourceForm object
|
java.lang.String |
getUrl()
Gets the url attribute of the SuggestResourceForm object
|
ValidatorResults |
getValidatorResults()
Gets the validatorResults attribute of the SuggestForm object
|
protected void |
prtln(java.lang.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,
javax.servlet.http.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(java.lang.String val)
Sets the description attribute of the SuggestResourceForm object
|
void |
setEmailPrimary(java.lang.String val)
Sets the emailPrimary attribute of the SuggestResourceForm object
|
void |
setGradeRanges(java.lang.String[] vals)
Sets the gradeRanges attribute of the SuggestResourceForm object
|
void |
setInstName(java.lang.String val)
Sets the instName attribute of the SuggestResourceForm object
|
void |
setNameFirst(java.lang.String val)
Sets the nameFirst attribute of the SuggestResourceForm object
|
void |
setNameLast(java.lang.String val)
Sets the nameLast attribute of the SuggestResourceForm object
|
void |
setPreserveGradeRanges(boolean val)
Sets the preserveGradeRanges attribute of the SuggestResourceForm object
|
void |
setTitle(java.lang.String val)
Sets the title attribute of the SuggestResourceForm object
|
void |
setUrl(java.lang.String val)
Sets the url attribute of the SuggestResourceForm object
|
void |
setValidatorResults(ValidatorResults results)
Sets the validatorResults attribute of the SuggestForm object
|
java.lang.String |
toString()
Print selected fields of this object for debugging purposes
|
getCoppa, getPopup, setCoppa, setPopup, setSchemaHelper, setVocab
protected ValidatorResults validatorResults
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.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 java.lang.String getDupRecordId()
public java.lang.String getTitle()
public void setTitle(java.lang.String val)
val
- The new title valuepublic java.lang.String getUrl()
public void setUrl(java.lang.String val)
val
- The new url valuepublic java.lang.String getDescription()
public void setDescription(java.lang.String val)
val
- The new description valuepublic void setPreserveGradeRanges(boolean val)
val
- The new preserveGradeRanges valuepublic boolean getPreserveGradeRanges()
public java.lang.String getGradeRangesDisplay() throws java.lang.Exception
java.lang.Exception
- Description of the Exceptionpublic java.lang.String[] getGradeRanges()
public java.lang.String[] getGradeRangesKeys()
public void setGradeRanges(java.lang.String[] vals)
vals
- The new gradeRanges valuepublic java.lang.String getNameFirst()
public void setNameFirst(java.lang.String val)
val
- The new nameFirst valuepublic java.lang.String getNameLast()
public void setNameLast(java.lang.String val)
val
- The new nameLast valuepublic java.lang.String getEmailPrimary()
public void setEmailPrimary(java.lang.String val)
val
- The new emailPrimary valuepublic java.lang.String getInstName()
public void setInstName(java.lang.String val)
val
- The new instName valuepublic org.apache.struts.util.LabelValueBean[] getGradeRangeOptions()
public java.lang.String[] getGradeRangeChoices()
public java.lang.String[] getGradeRangeChoicesSystemKeys()
public java.lang.String toString()
toString
in class java.lang.Object
public static void setDebug(boolean db)
db
- The new debug valueprotected final void prtln(java.lang.String s)
s
- The String that will be output.