DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.adn
Class DleseSuggestionServiceHelper

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

public class DleseSuggestionServiceHelper
extends CATServiceHelper

CATServiceHelper that converts ASN standards to ADN representation and back for use with the ADN metadataFramework.

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
DleseSuggestionServiceHelper(AsnToAdnMapper standardsMapper)
          Constructor for the DleseSuggestionServiceHelper object
DleseSuggestionServiceHelper(SchemEditForm sef, CATHelperPlugin frameworkPlugin)
          Constructor for the DleseSuggestionServiceHelper object
 
Method Summary
protected  String getIdFromCATStandard(CATStandard std)
          Returns the AdnText corresponding to the provided standard's identifier (via the standardsMapper instance).
 StandardsDocument getStandardsDocument()
          Gets the standardsDocument from which suggestions are requested and received.
 String getStandardsFormat()
          Gets the standardsFormat attribute of the CATServiceHelper object
 DleseStandardsManager getStandardsManager()
          Gets the standardsManager attribute of the CATServiceHelper object
 AsnToAdnMapper getStandardsMapper()
           
static void main(String[] args)
          The main program for the DleseSuggestionServiceHelper class
 
Methods inherited from class org.dlese.dpc.schemedit.standards.CATServiceHelper
displaySuggestions, getActionForm, getAuthor, getAvailableDocs, getConstraints, getCurrentDoc, getDerivedCATEndGrade, getDerivedCATStartGrade, getDisplayContent, getDisplayMode, getFramework, getFrameworkPlugin, getGradeRangeOptions, getInstance, getInstanceDocument, getKeywordWeighting, getNumSelectedStandards, getOptionalCatUIFields, getOtherSelectedStandards, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DleseSuggestionServiceHelper

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

Parameters:
sef - SchemEditForm instance
servletContext - ServletContext providing access to suggestion service and asfToAdnMapper

DleseSuggestionServiceHelper

public DleseSuggestionServiceHelper(AsnToAdnMapper standardsMapper)
Constructor for the DleseSuggestionServiceHelper object

Parameters:
standardsMapper - NOT YET DOCUMENTED
Method Detail

getStandardsManager

public DleseStandardsManager getStandardsManager()
Description copied from class: CATServiceHelper
Gets the standardsManager attribute of the CATServiceHelper object

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

getStandardsDocument

public StandardsDocument getStandardsDocument()
Description copied from class: CATServiceHelper
Gets the standardsDocument from which suggestions are requested and received.

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

getStandardsFormat

public String getStandardsFormat()
Description copied from class: CATServiceHelper
Gets the standardsFormat attribute of the CATServiceHelper object

Specified by:
getStandardsFormat in class CATServiceHelper
Returns:
The standardsFormat value (e.g., "dlese", "asn")

getStandardsMapper

public AsnToAdnMapper getStandardsMapper()

getIdFromCATStandard

protected String getIdFromCATStandard(CATStandard std)
Returns the AdnText corresponding to the provided standard's identifier (via the standardsMapper instance).

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

main

public static void main(String[] args)
The main program for the DleseSuggestionServiceHelper class

Parameters:
args - The command line arguments

DLESE Tools
v1.6.0