DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.td
Class TeachersDomainServiceHelper

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.CATServiceHelper
      extended by org.dlese.dpc.schemedit.standards.td.TeachersDomainServiceHelper
All Implemented Interfaces:
SuggestionServiceHelper

public class TeachersDomainServiceHelper
extends CATServiceHelper

Run-time support for CAT suggestion service, which acts as intermediary between CAT Service client and Form bean/JSP pages.

The CAT service UI involves extraction of several values from the item record being edited for each framework, such as selected keywords, selected graderanges, etc. The functionality to extract these values is delegated to the framework-specific plug-in, which implments CATHelperPlugin.

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
TeachersDomainServiceHelper(SchemEditForm sef, CATHelperPlugin frameworkPlugin)
          Constructor for the TeachersDomainServiceHelper object
 
Method Summary
 String getAuthor()
          Resolves author from the asnDocument (which it gets from the StandardsDocument)
 List getAvailableDocs()
          Gets the availableDocs attribute of the CATServiceHelper object
protected  String getIdFromCATStandard(CATStandard std)
          Gets the idFromCATStandard attribute of the CATServiceHelper object
 StandardsNode getRootStandardNode()
          Gets the rootStandardNode attribute of the TeachersDomainServiceHelper object
 TeachersDomainLexicon getStandardsDocument()
          Gets the standardsDocument attribute of the TeachersDomainServiceHelper object
 String getStandardsFormat()
          Gets the standardsFormat attribute of the TeachersDomainServiceHelper object
 TeachersDomainStandardsManager getStandardsManager()
          Gets the standardsManager attribute of the TeachersDomainServiceHelper object
 
Methods inherited from class org.dlese.dpc.schemedit.standards.CATServiceHelper
displaySuggestions, getActionForm, getConstraints, getCurrentDoc, getDerivedCATEndGrade, getDerivedCATStartGrade, getDisplayContent, getDisplayMode, getFramework, getFrameworkPlugin, getGradeRangeOptions, getInstance, getInstanceDocument, getKeywordWeighting, getNumSelectedStandards, getOptionalCatUIFields, getOtherSelectedStandards, getRecordDescription, getRecordGradeRanges, getRecordKeywords, getRecordSubjects, getRecordUrl, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeachersDomainServiceHelper

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

Parameters:
sef - Description of the Parameter
frameworkPlugin - NOT YET DOCUMENTED
Method Detail

getStandardsDocument

public TeachersDomainLexicon getStandardsDocument()
Gets the standardsDocument attribute of the TeachersDomainServiceHelper object

Specified by:
getStandardsDocument in class CATServiceHelper
Returns:
The standardsDocument value

getStandardsFormat

public String getStandardsFormat()
Gets the standardsFormat attribute of the TeachersDomainServiceHelper object

Specified by:
getStandardsFormat in class CATServiceHelper
Returns:
The standardsFormat value

getStandardsManager

public TeachersDomainStandardsManager getStandardsManager()
Gets the standardsManager attribute of the TeachersDomainServiceHelper object

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

getRootStandardNode

public StandardsNode getRootStandardNode()
Gets the rootStandardNode attribute of the TeachersDomainServiceHelper object

Overrides:
getRootStandardNode in class CATServiceHelper
Returns:
The rootStandardNode value

getAuthor

public String getAuthor()
Resolves author from the asnDocument (which it gets from the StandardsDocument)

Overrides:
getAuthor in class CATServiceHelper
Returns:
The author value

getIdFromCATStandard

protected String getIdFromCATStandard(CATStandard std)
Description copied from class: CATServiceHelper
Gets the idFromCATStandard attribute of the CATServiceHelper object

Specified by:
getIdFromCATStandard in class CATServiceHelper
Parameters:
std - NOT YET DOCUMENTED
Returns:
The idFromCATStandard value

getAvailableDocs

public List getAvailableDocs()
Description copied from class: CATServiceHelper
Gets the availableDocs attribute of the CATServiceHelper object

Overrides:
getAvailableDocs in class CATServiceHelper
Returns:
The availableDocs value

DLESE Tools
v1.6.0