DLESE Tools
v1.6.0

org.dlese.dpc.services.dds.action
Class DDSServicesAction_1_1

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.dlese.dpc.services.dds.action.DDSServicesAction
          extended by org.dlese.dpc.services.dds.action.DDSServicesAction_1_1

public final class DDSServicesAction_1_1
extends DDSServicesAction

An Action that handles DDS Web service requests. This class handles DDSWS service version 1.1, overriding methods in the base class as needed.

Version:
$Id: DDSServicesAction_1_1.java,v 1.5 2009/03/20 23:33:59 jweather Exp $
Author:
John Weatherley
See Also:
DDSServicesForm_1_1

Field Summary
 
Fields inherited from class org.dlese.dpc.services.dds.action.DDSServicesAction
GET_RECORD_VERB, LIST_COLLECTIONS, LIST_CONTENT_STANDARDS, LIST_FIELDS, LIST_GRADE_RANGES, LIST_RESOURCE_TYPES, LIST_SUBJECTS, LIST_TERMS, LIST_XML_FORMATS, SEARCH_VERB, SERVICE_INFO, URL_CHECK_VERB, USER_SEARCH_VERB
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
DDSServicesAction_1_1()
           
 
Method Summary
protected  String getListCollectionsCacheKey()
          Gets the key used for caching the ListCollections response in the application scope.
protected  void setRecordXml(DDSServicesForm df, ResultDoc resultDoc)
          Sets the record XML in the form bean using the stripped but not localized version of XML.
 
Methods inherited from class org.dlese.dpc.services.dds.action.DDSServicesAction
doGetRecord, doListCollections, doListFields, doListTerms, doListVocabEntries, doListXmlFormats, doSearch, doServiceInfo, doUrlCheck, doUserSearch, execute, getDateStamp, getNumRecords, prtln, prtlnErr, setDebug, setMaxSearchResults
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDSServicesAction_1_1

public DDSServicesAction_1_1()
Method Detail

getListCollectionsCacheKey

protected String getListCollectionsCacheKey()
Gets the key used for caching the ListCollections response in the application scope. Should be overwritten by the subclasses and updated in the ListCollections.jsp page when a new version is created.

Overrides:
getListCollectionsCacheKey in class DDSServicesAction
Returns:
The listCollectionsCacheKey value

setRecordXml

protected void setRecordXml(DDSServicesForm df,
                            ResultDoc resultDoc)
Sets the record XML in the form bean using the stripped but not localized version of XML.

Overrides:
setRecordXml in class DDSServicesAction
Parameters:
df - The form
resultDoc - The resultDoc

DLESE Tools
v1.6.0