Class ResQualSuggestionServiceHelper
java.lang.Object
org.dlese.dpc.schemedit.standards.CATServiceHelper
org.dlese.dpc.schemedit.standards.asn.AsnSuggestionServiceHelper
org.dlese.dpc.schemedit.standards.asn.ResQualSuggestionServiceHelper
- All Implemented Interfaces:
SuggestionServiceHelper
SuggestionsServiceHelper for the CAT REST standards suggestion service,
operating over res_qual framework, which presents special considerations ...
- Author:
- ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.schemedit.standards.CATServiceHelper
ALL_CONTENT, BOTH_CONTENT, LIST_MODE, SELECTED_CONTENT, SUGGESTIONS_CONTENT, TREE_MODE -
Constructor Summary
ConstructorsConstructorDescriptionResQualSuggestionServiceHelper(SchemEditForm sef, CATHelperPlugin frameworkPlugin) Constructor for the ResQualSuggestionServiceHelper object -
Method Summary
Modifier and TypeMethodDescriptionGets the standardsManager attribute of the ResQualSuggestionServiceHelper objectvoidrectifyInstanceDoc(HttpServletRequest request) Update instanceDocument to make the benchmark elements in the instance doc correspond to the selected standards in the CAT UI.voidSets the xpath attribute of the ResQualSuggestionServiceHelper objectvoidupdateStandardsDisplay(String displayContent) Initialize the collapse bean to show selected and suggested standards nodes in the display specified by "displayContent".Methods inherited from class org.dlese.dpc.schemedit.standards.asn.AsnSuggestionServiceHelper
displaySuggestions, getAvailableDocs, getCurrentDoc, getDefaultDoc, getIdFromCATStandard, getOtherSelectedStandards, getSelectedStandardsBean, getStandardsDocument, getStandardsFormat, setStandardsDocument, updateSelectedStandardsBeanMethods inherited from class org.dlese.dpc.schemedit.standards.CATServiceHelper
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, updateSuggestions, updateSuggestions
-
Constructor Details
-
ResQualSuggestionServiceHelper
Constructor for the ResQualSuggestionServiceHelper object- Parameters:
sef- the SchemEditForm instanceframeworkPlugin- the framework plugin for the res_qual framework
-
-
Method Details
-
getStandardsManager
Gets the standardsManager attribute of the ResQualSuggestionServiceHelper object- Specified by:
getStandardsManagerin interfaceSuggestionServiceHelper- Overrides:
getStandardsManagerin classAsnSuggestionServiceHelper- Returns:
- The standardsManager value
-
setXpath
Sets the xpath attribute of the ResQualSuggestionServiceHelper object- Parameters:
path- The new xpath value
-
rectifyInstanceDoc
Update instanceDocument to make the benchmark elements in the instance doc correspond to the selected standards in the CAT UI.Called by SchemEditForm.validate() to pre-process the instanceDoc.
- Parameters:
request- the Request- Throws:
Exception- NOT YET DOCUMENTED
-
updateStandardsDisplay
Initialize the collapse bean to show selected and suggested standards nodes in the display specified by "displayContent".- Specified by:
updateStandardsDisplayin interfaceSuggestionServiceHelper- Overrides:
updateStandardsDisplayin classCATServiceHelper- Parameters:
displayContent- specifies what type of standards display is to be updated.- Throws:
Exception- NOT YET DOCUMENTED
-