org.alfresco.repo.web.scripts.dictionary
Class DictionaryGet

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by org.springframework.extensions.webscripts.DeclarativeWebScript
          extended by org.alfresco.repo.web.scripts.dictionary.DictionaryWebServiceBase
              extended by org.alfresco.repo.web.scripts.dictionary.DictionaryGet
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class DictionaryGet
extends DictionaryWebServiceBase

WebScript implementation to retrieve a complete dictionary required to implement a lightweight remote web-tier dictionary.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
 
Field Summary
 
Fields inherited from class org.alfresco.repo.web.scripts.dictionary.DictionaryWebServiceBase
dictionaryservice, namespaceService
 
Constructor Summary
DictionaryGet()
           
 
Method Summary
protected  java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
          Execute the webscript
 void setIgnoreNamespaces(java.util.Set namespaces)
          Set of model namespaces to ignore when outputing dictionary classes and aspects
 
Methods inherited from class org.alfresco.repo.web.scripts.dictionary.DictionaryWebServiceBase
createClassQName, getFullNamespaceURI, getNamespaceURIfromQname, getPrefix, getPrefixesAndUrlsMap, getPrefixFromModelName, getShortName, getUrlsAndPrefixesMap, getValidInput, init, isValidAssociationFilter, isValidClassFilter, isValidClassname, isValidModelName, isValidTypeorAspect, setDictionaryService, setNamespaceService
 
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
 
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DictionaryGet

public DictionaryGet()
Method Detail

setIgnoreNamespaces

public void setIgnoreNamespaces(java.util.Set namespaces)
Set of model namespaces to ignore when outputing dictionary classes and aspects

Parameters:
namespaces - Set of model namespaces to ignore

executeImpl

protected java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
                                    org.springframework.extensions.webscripts.Status status)
Execute the webscript

Overrides:
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript
Parameters:
req - WebScriptRequest
status - Status


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.