public class BusinessObjectDocumentActionMapping
extends org.apache.struts.action.ActionMapping
Constructor and Description |
---|
BusinessObjectDocumentActionMapping()
Creates an instance of the business object document action mapping.
|
Modifier and Type | Method and Description |
---|---|
protected commonj.sdo.DataObject | createDocumentRoot()
This method returns the DocumentRoot that is returned by the createDocumentRoot() method of the document root factory defined.
|
protected java.lang.Object | executeBusinessObjectDocumentClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler authenticationCallbackHandler, java.lang.Object businessObjectDocument)
This method executes the business object document by instantiating the client library using the specified business context and authentication callback handler.
|
java.util.Map | getURLToContextParameters()
This method returns the URL parameters that represent context parameters.
|
java.lang.String | getVar()
This method returns the variable name to assign the list of nouns returned as a response of the business object document request.
|
java.lang.String | getVarException()
This method returns the variable name to associate with the exception that is the result of the business object document request.
|
java.lang.String | getVarVerb()
This method returns the variable name to associate with the response verb that is the responding business object document.
|
java.lang.String | getVerb()
This method returns the verb to associate with the request.
|
void | mergeAliasParameters(java.util.Map request)
This method merges the alias parameters if the input request contains any parameter defined as an alias.
|
void | mergeDefaultParameters(java.util.Map request)
This method merges the default parameters to include with the transformation of the URL request to a business object document.
|
void | mergeDefaultResponseAttributeParameters(java.util.Map request)
This method merges the default parameters to include with the transformation of the URL request to a business object document.
|
void | mergeDefaultResponseObjectParameters(java.util.Map request)
This method merges the default parameters to include with the transformation of the URL request to a business object document.
|
void | setActionCode(java.lang.String actionCode)
This method sets the action code of the verb in the business object document that is used with the URL request.
|
void | setAliasParameters(java.lang.String aliasParameters)
This method sets the alias parameters that will create alias parameters if the parameter is found in the request.
|
void | setClientLibrary(java.lang.String clientLibrary)
This method sets the client library class name that is used to execute the business object document.
|
void | setClientLibraryMethod(java.lang.String clientLibaryMethod)
This method set the client library method used to execute the business object document.
|
void | setContextParameters(java.lang.String contextParameterList)
This method sets the context data parameters to include in the business context of the request.
|
void | setDefaultParameters(java.lang.String defaultParameters)
This method will set the default parameters to associate with the request.
|
void | setDefaultResponseAttributeParameters(java.lang.String defaultParameters)
This method will set the default parameters to associate with the request.
|
void | setDefaultResponseObjectParameters(java.lang.String defaultParameters)
This method will set the default parameters to associate with the request.
|
void | setDocumentRootFactory(java.lang.String documentRootFactory)
This method sets the factory to use to create the document root.
|
void | setVar(java.lang.String var)
This method sets the variable name to associate the nouns found in the responding business object document.
|
void | setVarException(java.lang.String varException)
This method sets the variable name to associate with the exception that is the result of the business object document request.
|
void | setVarVerb(java.lang.String varVerb)
This method sets the variable name to associate with the response verb that is the responding business object document.
|
void | setVerb(java.lang.String verb)
This method sets the verb of the business object document that is used with the URL request.
|
java.lang.String | toString()
This method returns the string representation of the object for debugging purposes.
|
public BusinessObjectDocumentActionMapping()
public java.util.Map getURLToContextParameters()
public void mergeDefaultParameters(java.util.Map request)
public void mergeDefaultResponseObjectParameters(java.util.Map request)
public void mergeDefaultResponseAttributeParameters(java.util.Map request)
public void mergeAliasParameters(java.util.Map request)
public java.lang.String getVerb()
public void setVerb(java.lang.String verb)
public void setActionCode(java.lang.String actionCode)
public void setClientLibrary(java.lang.String clientLibrary)
public void setClientLibraryMethod(java.lang.String clientLibaryMethod)
protected commonj.sdo.DataObject createDocumentRoot()
protected java.lang.Object executeBusinessObjectDocumentClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler authenticationCallbackHandler, java.lang.Object businessObjectDocument) throws java.lang.Exception
public void setDocumentRootFactory(java.lang.String documentRootFactory)
public void setContextParameters(java.lang.String contextParameterList)
public void setDefaultParameters(java.lang.String defaultParameters)
public void setDefaultResponseObjectParameters(java.lang.String defaultParameters)
public void setDefaultResponseAttributeParameters(java.lang.String defaultParameters)
public void setAliasParameters(java.lang.String aliasParameters)
public java.lang.String toString()
public java.lang.String getVar()
public void setVar(java.lang.String var)
public java.lang.String getVarException()
public void setVarException(java.lang.String varException)
public java.lang.String getVarVerb()
public void setVarVerb(java.lang.String varVerb)