public interface SuggestionServiceHelper
Has access to the the current instanceDocument (in the metadata editor), and retrieves suggestions from the suggestion service.
StandardsManager
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrentDoc()
Gets the currentDoc attribute of the SuggestionServiceHelper 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 in the current instance document.
|
java.lang.String |
getDisplayContent()
Determines what standards to display (e.g., SUGGESTED_CONTENT,
STANDARDS_CONTENT, BOTH, ALL)
|
java.lang.String |
getDisplayMode()
Determines whether standards are displayed as a heirarchical tree or flat
list.
|
int |
getNumSelectedStandards()
Gets the numSelectedStandards attribute of the SuggestionServiceHelper
object
|
java.lang.String |
getRecordUrl()
Gets the url of the instance document
|
java.util.List |
getSelectedStandards()
Gets the standards that are selected in the instanceDoc
|
boolean |
getServiceIsActive()
Gets the serviceIsActive attribute of the SuggestionServiceHelper object
|
StandardsManager |
getStandardsManager()
Gets the standardsManager attribute of the SuggestionServiceHelper object
|
java.util.List |
getSuggestedStandards()
Gets the suggested Standards represented in ADN format.
|
java.lang.String |
getUrl()
Gets the url attribute of the SuggestionServiceHelper object
|
java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the SuggestionServiceHelper object
|
java.lang.String |
getXpath()
Gets the xpath of the metadata element containing the managedStandards
|
void |
setSuggestedStandards(java.util.List stds)
Sets the suggestedStandards attribute of the SuggestionServiceHelper object
|
void |
updateStandardsDisplay(java.lang.String displayContent)
Hides and exposes nodes in the hierarchical standards display.
|
void |
updateSuggestions()
Update suggestedStandards by performing a query on the SuggestionService
using current constraints.
|
boolean getServiceIsActive()
StandardsManager getStandardsManager()
java.lang.String getXpath()
java.lang.String getXmlFormat()
java.util.List getSuggestedStandards()
int getNumSelectedStandards()
java.util.List getSelectedStandards()
void setSuggestedStandards(java.util.List stds)
stds
- The new suggestedStandards valuejava.lang.String getDisplayMode()
java.lang.String getDisplayContent()
java.lang.String getCurrentDoc()
void updateSuggestions() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDjava.lang.String getUrl()
java.lang.String getRecordUrl()
java.lang.String getDerivedCATStartGrade()
NOTE: this requires converting from possible gradeRange metadata values to the values supplied for gradeRangeOptions.
java.lang.String getDerivedCATEndGrade()
NOTE: this requires converting from possible gradeRange metadata values to the values supplied for gradeRangeOptions.
void updateStandardsDisplay(java.lang.String displayContent) throws java.lang.Exception
displayContent
- Description of the Parameterjava.lang.Exception
- NOT YET DOCUMENTED