public class AsnSuggestionServiceHelper extends CATServiceHelper
ALL_CONTENT, BOTH_CONTENT, LIST_MODE, SELECTED_CONTENT, SUGGESTIONS_CONTENT, TREE_MODE
Constructor and Description |
---|
AsnSuggestionServiceHelper(SchemEditForm sef,
CATHelperPlugin frameworkPlugin)
Constructor for the AsnSuggestionServiceHelper object
|
Modifier and Type | Method and Description |
---|---|
void |
displaySuggestions(java.util.List standardsList)
Debugging
|
java.util.List |
getAvailableDocs()
Gets the availableDocs attribute of the AsnSuggestionServiceHelper object
|
java.lang.String |
getCurrentDoc()
Gets the currentDoc attribute of the AsnSuggestionServiceHelper object
|
java.lang.String |
getDefaultDoc()
Gets the defaultDoc attribute of the AsnSuggestionServiceHelper object
|
protected java.lang.String |
getIdFromCATStandard(CATStandard std)
Gets the idFromCATStandard attribute of the AsnSuggestionServiceHelper
object
|
java.util.Map |
getOtherSelectedStandards()
Gets the otherSelectedStandards attribute of the AsnSuggestionServiceHelper
object
|
SelectedStandardsBean |
getSelectedStandardsBean()
Gets the selectedStandardsBean attribute of the AsnSuggestionServiceHelper
object
|
AsnStandardsDocument |
getStandardsDocument()
Gets the current standardsDocument if one has been assigned, or fetches the
"defaultDoc" from the StandardsRegistry.
|
java.lang.String |
getStandardsFormat()
Gets the standardsFormat attribute of the AsnSuggestionServiceHelper object
(hardcoded to "asn").
|
AsnStandardsManager |
getStandardsManager()
Gets the standardsManager attribute of the AsnSuggestionServiceHelper
object
|
void |
setStandardsDocument(java.lang.String key)
Sets the asnDocument attribute of the AsnSuggestionServiceHelper object
|
void |
updateSelectedStandardsBean()
Write the list of selected standards, as well as the currentStandards Doc
to the SelectedStandardsBean
|
getActionForm, getAuthor, getConstraints, getDerivedCATEndGrade, getDerivedCATStartGrade, getDisplayContent, getDisplayMode, getFramework, getFrameworkPlugin, getGradeRangeOptions, getInstance, getInstanceDocument, getKeywordWeighting, getNumSelectedStandards, getOptionalCatUIFields, getRecordDescription, getRecordGradeRanges, getRecordKeywords, getRecordSubjects, getRecordUrl, getRootStandardNode, getSelectedGradeRanges, getSelectedKeywords, getSelectedStandards, getSelectedStandards, getServiceIsActive, getStandardsNodes, getSuggestedStandards, getTopic, getUrl, getUseDescription, getUseGradeRanges, getUseKeywords, getUseSubjects, getXmlFormat, getXpath, moreLikeThis, setDisplayContent, setDisplayMode, setFrameworkPlugin, setKeywordWeighting, setSelectedGradeRanges, setSelectedKeywords, setServiceIsActive, setSuggestedStandards, setUrl, setUseDescription, setUseGradeRanges, setUseKeywords, setUseSubjects, updateDisplayControls, updateStandardsDisplay, updateSuggestions, updateSuggestions
public AsnSuggestionServiceHelper(SchemEditForm sef, CATHelperPlugin frameworkPlugin)
sef
- NOT YET DOCUMENTEDframeworkPlugin
- NOT YET DOCUMENTEDpublic AsnStandardsDocument getStandardsDocument()
getStandardsDocument
in class CATServiceHelper
public java.lang.String getStandardsFormat()
getStandardsFormat
in class CATServiceHelper
public AsnStandardsManager getStandardsManager()
getStandardsManager
in interface SuggestionServiceHelper
getStandardsManager
in class CATServiceHelper
public java.util.Map getOtherSelectedStandards()
getOtherSelectedStandards
in class CATServiceHelper
public void updateSelectedStandardsBean()
public SelectedStandardsBean getSelectedStandardsBean()
public java.util.List getAvailableDocs()
getAvailableDocs
in class CATServiceHelper
public java.lang.String getCurrentDoc()
getCurrentDoc
in interface SuggestionServiceHelper
getCurrentDoc
in class CATServiceHelper
public java.lang.String getDefaultDoc()
public void setStandardsDocument(java.lang.String key) throws java.lang.Exception
key
- The new asnDocument valuejava.lang.Exception
- Description of the Exceptionprotected java.lang.String getIdFromCATStandard(CATStandard std)
getIdFromCATStandard
in class CATServiceHelper
std
- NOT YET DOCUMENTEDpublic void displaySuggestions(java.util.List standardsList)
displaySuggestions
in class CATServiceHelper
standardsList
- A list of StandardsWrapper instances to display.