Class AsnSuggestionServiceHelper
java.lang.Object
org.dlese.dpc.schemedit.standards.CATServiceHelper
org.dlese.dpc.schemedit.standards.asn.AsnSuggestionServiceHelper
- All Implemented Interfaces:
SuggestionServiceHelper
- Direct Known Subclasses:
ResQualSuggestionServiceHelper
SuggestionsServiceHelper for the CAT REST standards suggestion service,
operating over ASN Standards.
- 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
ConstructorsConstructorDescriptionAsnSuggestionServiceHelper(SchemEditForm sef, CATHelperPlugin frameworkPlugin) Constructor for the AsnSuggestionServiceHelper object -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplaySuggestions(List standardsList) DebuggingGets the availableDocs attribute of the AsnSuggestionServiceHelper objectGets the currentDoc attribute of the AsnSuggestionServiceHelper objectGets the defaultDoc attribute of the AsnSuggestionServiceHelper objectprotected StringGets the idFromCATStandard attribute of the AsnSuggestionServiceHelper objectGets the otherSelectedStandards attribute of the AsnSuggestionServiceHelper objectGets the selectedStandardsBean attribute of the AsnSuggestionServiceHelper objectGets the current standardsDocument if one has been assigned, or fetches the "defaultDoc" from the StandardsRegistry.Gets the standardsFormat attribute of the AsnSuggestionServiceHelper object (hardcoded to "asn").Gets the standardsManager attribute of the AsnSuggestionServiceHelper objectvoidSets the asnDocument attribute of the AsnSuggestionServiceHelper objectvoidWrite the list of selected standards, as well as the currentStandards Doc to the SelectedStandardsBeanMethods 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, updateStandardsDisplay, updateSuggestions, updateSuggestions
-
Constructor Details
-
AsnSuggestionServiceHelper
Constructor for the AsnSuggestionServiceHelper object- Parameters:
sef- NOT YET DOCUMENTEDframeworkPlugin- NOT YET DOCUMENTED
-
-
Method Details
-
getStandardsDocument
Gets the current standardsDocument if one has been assigned, or fetches the "defaultDoc" from the StandardsRegistry.- Specified by:
getStandardsDocumentin classCATServiceHelper- Returns:
- The standardsDocument value
-
getStandardsFormat
Gets the standardsFormat attribute of the AsnSuggestionServiceHelper object (hardcoded to "asn").- Specified by:
getStandardsFormatin classCATServiceHelper- Returns:
- The standardsFormat value
-
getStandardsManager
Gets the standardsManager attribute of the AsnSuggestionServiceHelper object- Specified by:
getStandardsManagerin interfaceSuggestionServiceHelper- Overrides:
getStandardsManagerin classCATServiceHelper- Returns:
- The standardsManager value
-
getOtherSelectedStandards
Gets the otherSelectedStandards attribute of the AsnSuggestionServiceHelper object- Overrides:
getOtherSelectedStandardsin classCATServiceHelper- Returns:
- The otherSelectedStandards value
-
updateSelectedStandardsBean
public void updateSelectedStandardsBean()Write the list of selected standards, as well as the currentStandards Doc to the SelectedStandardsBean -
getSelectedStandardsBean
Gets the selectedStandardsBean attribute of the AsnSuggestionServiceHelper object- Returns:
- The selectedStandardsBean value
-
getAvailableDocs
Gets the availableDocs attribute of the AsnSuggestionServiceHelper object- Overrides:
getAvailableDocsin classCATServiceHelper- Returns:
- The availableDocs value
-
getCurrentDoc
Gets the currentDoc attribute of the AsnSuggestionServiceHelper object- Specified by:
getCurrentDocin interfaceSuggestionServiceHelper- Overrides:
getCurrentDocin classCATServiceHelper- Returns:
- The currentDoc value
-
getDefaultDoc
Gets the defaultDoc attribute of the AsnSuggestionServiceHelper object- Returns:
- The defaultDoc value
-
setStandardsDocument
Sets the asnDocument attribute of the AsnSuggestionServiceHelper object- Parameters:
key- The new asnDocument value- Throws:
Exception- Description of the Exception
-
getIdFromCATStandard
Gets the idFromCATStandard attribute of the AsnSuggestionServiceHelper object- Specified by:
getIdFromCATStandardin classCATServiceHelper- Parameters:
std- NOT YET DOCUMENTED- Returns:
- The idFromCATStandard value
-
displaySuggestions
Debugging- Overrides:
displaySuggestionsin classCATServiceHelper- Parameters:
standardsList- A list of StandardsWrapper instances to display.
-