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, prtlnErr
protected DleseSuggestionServiceHelper getCatHelper()
getCatHelper
in class AbstractCATHelperPlugin
public java.util.List getOptionalCatUIFields()
getOptionalCatUIFields
in interface CATHelperPlugin
getOptionalCatUIFields
in class AbstractCATHelperPlugin
public java.lang.String getGradeRangePath()
getGradeRangePath
in class AbstractCATHelperPlugin
public java.lang.String getDescriptionPath()
getDescriptionPath
in class AbstractCATHelperPlugin
public java.lang.String getKeywordPath()
getKeywordPath
in class AbstractCATHelperPlugin
public java.lang.String[] getRecordGradeRanges()
getRecordGradeRanges
in interface CATHelperPlugin
getRecordGradeRanges
in class AbstractCATHelperPlugin
public java.lang.String getSubjectPath()
getSubjectPath
in class AbstractCATHelperPlugin
public 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 CATHelperPlugin
getSelectedCATStartGrade
in class AbstractCATHelperPlugin
gradeConstraints
- 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 CATHelperPlugin
getSelectedCATEndGrade
in class AbstractCATHelperPlugin
gradeConstraints
- NOT YET DOCUMENTEDpublic java.util.List getGradeRangeOptions()
The returned items contain two fields
getGradeRangeOptions
in interface CATHelperPlugin
getGradeRangeOptions
in class AbstractCATHelperPlugin
public 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 CATHelperPlugin
getDerivedCATStartGrade
in class AbstractCATHelperPlugin
public java.lang.String getDerivedCATEndGrade()
getDerivedCATEndGrade
in interface CATHelperPlugin
getDerivedCATEndGrade
in class AbstractCATHelperPlugin