public class AdnFrameworkPlugin extends AbstractCATHelperPlugin
| Constructor and Description |
|---|
AdnFrameworkPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected DleseSuggestionServiceHelper |
getCatHelper()
Gets the catHelper attribute of the AdnFrameworkPlugin object
|
java.lang.String |
getDerivedCATEndGrade()
Gets the gradeRangeOptionValue corresponding to the highest selected
gradeRange in the current instance document.
|
java.lang.String |
getDerivedCATStartGrade()
Gets the gradeRangeOptionValue corresponding to the lowest selected
gradeRange vocab in the current instance document.
|
java.lang.String |
getDescriptionPath()
Gets the descriptionPath attribute of the AdnFrameworkPlugin object
|
java.util.List |
getGradeRangeOptions()
Gets the gradeRanges options corresponding to the grades searchable in the
ADN framework service.
|
java.lang.String |
getGradeRangePath()
Gets the gradeRangePath attribute of the DleseSuggestionServiceHelper
object
|
java.lang.String |
getKeywordPath()
Gets the keywordPath attribute of the DleseSuggestionServiceHelper object
|
java.util.List |
getOptionalCatUIFields()
Gets the optionalCatUIFields attribute of the AdnFrameworkPlugin object
|
java.lang.String[] |
getRecordGradeRanges()
Gets the recordGradeRange vocab values from the instance document (i.e.,
the selected gradeRange vocab values)
|
int |
getSelectedCATEndGrade(java.lang.String[] gradeConstraints)
Compute a CAT API value for the endGrade (highest grade level) of the
selected grade ranges.
|
int |
getSelectedCATStartGrade(java.lang.String[] gradeConstraints)
Compute a CAT API value for the startGrade (lowest grade level) of the
selected grade ranges.
|
java.lang.String |
getSubjectPath()
Gets the subjectPath attribute of the AdnFrameworkPlugin object
|
getRecordDescription, getRecordKeywords, getRecordSubjects, getRecordSubjects, init, normalizeSubjectValue, prtlnErrprotected DleseSuggestionServiceHelper getCatHelper()
getCatHelper in class AbstractCATHelperPluginpublic java.util.List getOptionalCatUIFields()
getOptionalCatUIFields in interface CATHelperPlugingetOptionalCatUIFields in class AbstractCATHelperPluginpublic java.lang.String getGradeRangePath()
getGradeRangePath in class AbstractCATHelperPluginpublic java.lang.String getDescriptionPath()
getDescriptionPath in class AbstractCATHelperPluginpublic java.lang.String getKeywordPath()
getKeywordPath in class AbstractCATHelperPluginpublic java.lang.String[] getRecordGradeRanges()
getRecordGradeRanges in interface CATHelperPlugingetRecordGradeRanges in class AbstractCATHelperPluginpublic java.lang.String getSubjectPath()
getSubjectPath in class AbstractCATHelperPluginpublic int getSelectedCATStartGrade(java.lang.String[] gradeConstraints)
The gradeConstraints for the adn framework are strings, such as "DLESE:Primary elementary", which represent a gradeRange (e.g., 0-2). This method determines the lowest bound of the supplied gradeConstraints.
getSelectedCATStartGrade in interface CATHelperPlugingetSelectedCATStartGrade in class AbstractCATHelperPlugingradeConstraints - NOT YET DOCUMENTEDpublic int getSelectedCATEndGrade(java.lang.String[] gradeConstraints)
The gradeConstraints for the adn framework are strings, such as "DLESE:Primary elementary", which represent a gradeRange (e.g., 0-2). This method determines the highest bound of the supplied gradeConstraints.
getSelectedCATEndGrade in interface CATHelperPlugingetSelectedCATEndGrade in class AbstractCATHelperPlugingradeConstraints - NOT YET DOCUMENTEDpublic java.util.List getGradeRangeOptions()
The returned items contain two fields
getGradeRangeOptions in interface CATHelperPlugingetGradeRangeOptions in class AbstractCATHelperPluginpublic java.lang.String getDerivedCATStartGrade()
NOTE: in the case of ADN, gradeRange vocab values are same as gradeRangeOption values, so there is no need to convert, as there is for frameworks in which this isn't the case!
getDerivedCATStartGrade in interface CATHelperPlugingetDerivedCATStartGrade in class AbstractCATHelperPluginpublic java.lang.String getDerivedCATEndGrade()
getDerivedCATEndGrade in interface CATHelperPlugingetDerivedCATEndGrade in class AbstractCATHelperPlugin