eu.clarin.cmdi.mdservice.action
Class DCRProxyAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by eu.clarin.cmdi.mdservice.action.GenericProxyAction
          extended by eu.clarin.cmdi.mdservice.action.DCRProxyAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable

public class DCRProxyAction
extends GenericProxyAction

Acts as a Struts 2 controller serves the requests regarding DataCategories it passes them further (Proxy) to the Data Category Registry.

Author:
vronk
See Also:
Serialized Form

Field Summary
private  java.lang.String proxy_key
           
private static long serialVersionUID
           
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DCRProxyAction()
           
 
Method Summary
 java.net.URL getTargetRequest()
          uses base_url and (optionally) id to form a url no id => ?
 
Methods inherited from class eu.clarin.cmdi.mdservice.action.GenericProxyAction
execute, getActionkey, getBaseURL, getCollection, getFormat, getFullFormat, getMaxdepth, getProxyKey, getQ, getRequestKey, getResultStream, getUserMsg, prepare, setActionkey, setCollection, setFormat, setMaxdepth, setQ, setUserMsg
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

proxy_key

private java.lang.String proxy_key
Constructor Detail

DCRProxyAction

public DCRProxyAction()
Method Detail

getTargetRequest

public java.net.URL getTargetRequest()
                              throws java.lang.Exception
uses base_url and (optionally) id to form a url no id => ?list all datacategories?

Overrides:
getTargetRequest in class GenericProxyAction
Returns:
the URL to data category xml format
Throws:
java.lang.Exception