DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.asn
Class ResQualSuggestionServiceHelper

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.CATServiceHelper
      extended by org.dlese.dpc.schemedit.standards.asn.AsnSuggestionServiceHelper
          extended by org.dlese.dpc.schemedit.standards.asn.ResQualSuggestionServiceHelper
All Implemented Interfaces:
SuggestionServiceHelper

public class ResQualSuggestionServiceHelper
extends AsnSuggestionServiceHelper

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
ResQualSuggestionServiceHelper(SchemEditForm sef, CATHelperPlugin frameworkPlugin)
          Constructor for the ResQualSuggestionServiceHelper object
 
Method Summary
 ResQualStandardsManager getStandardsManager()
          Gets the standardsManager attribute of the ResQualSuggestionServiceHelper object
 void rectifyInstanceDoc(HttpServletRequest request)
          Update instanceDocument to make the benchmark elements in the instance doc correspond to the selected standards in the CAT UI.
 void setXpath(String path)
          Sets the xpath attribute of the ResQualSuggestionServiceHelper object
 void updateStandardsDisplay(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, updateSelectedStandardsBean
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResQualSuggestionServiceHelper

public ResQualSuggestionServiceHelper(SchemEditForm sef,
                                      CATHelperPlugin frameworkPlugin)
Constructor for the ResQualSuggestionServiceHelper object

Parameters:
sef - the SchemEditForm instance
frameworkPlugin - the framework plugin for the res_qual framework
Method Detail

getStandardsManager

public ResQualStandardsManager getStandardsManager()
Gets the standardsManager attribute of the ResQualSuggestionServiceHelper object

Specified by:
getStandardsManager in interface SuggestionServiceHelper
Overrides:
getStandardsManager in class AsnSuggestionServiceHelper
Returns:
The standardsManager value

setXpath

public void setXpath(String path)
Sets the xpath attribute of the ResQualSuggestionServiceHelper object

Parameters:
path - The new xpath value

rectifyInstanceDoc

public void rectifyInstanceDoc(HttpServletRequest request)
                        throws Exception
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

public void updateStandardsDisplay(String displayContent)
                            throws Exception
Initialize the collapse bean to show selected and suggested standards nodes in the display specified by "displayContent".

Specified by:
updateStandardsDisplay in interface SuggestionServiceHelper
Overrides:
updateStandardsDisplay in class CATServiceHelper
Parameters:
displayContent - specifies what type of standards display is to be updated.
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0