Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama
Interface ServiceRequest

All Superinterfaces:
oracle.panama.core.csc.CSC, java.io.Serializable

Deprecated.

 As of 9.0.2.1.0, replaced by ServiceContext

public interface ServiceRequest
extends oracle.panama.core.csc.CSC

The ServiceRequest is a request container for a Panama Service Object. It is dispatched to the Adapter implementation to provide the Adapter with some useful information about the request.

The result from an Adapter can be either in the form of a SimpleResult or in the form of an AdapterResult.

See Also:
Adapter

Field Summary
static java.lang.String ROOTELEMENT
          Deprecated. The XML Root Element Tag Name

 

Method Summary
 void addResult(org.w3c.dom.Element result)
          Deprecated. Add a result for the invoked service.
 org.w3c.dom.Element getAdapterResult()
          Deprecated. Get the Service XML AdapterResult.
 Arguments getArguments()
          Deprecated. Get the arguments used to invoke this Service.
 OutputArguments getOutputArguments()
          Deprecated. Get the OutputArguments used to invoke this Service.
 org.w3c.dom.Document getOwnerDocument()
          Deprecated. Get the owning document
 oracle.panama.core.parm.PanamaSession getPanamaSession()
          Deprecated. Get the session for this request.
 org.w3c.dom.Element getSimpleResult()
          Deprecated. Get the Service XML result.
 boolean isAnyResult()
          Deprecated. Check if the Adapter really found any result.
 void setAdapterResult(org.w3c.dom.Element result)
          Deprecated. Set the Adapter result.
 void setAnyResult(boolean anyResult)
          Deprecated. Set this flag if no external "content" could be found, typically for queries which returned no data.
 void setArguments(Arguments args)
          Deprecated. Set Arguments for the invoked service.
 void setOutputArguments(OutputArguments outArgs)
          Deprecated. Set OutputArguments for the invoked service.
 void setSimpleResult(org.w3c.dom.Element result)
          Deprecated. Set the Service XML result.

 

Methods inherited from interface oracle.panama.core.csc.CSC
getElement, getElement

 

Field Detail

ROOTELEMENT

public static final java.lang.String ROOTELEMENT
Deprecated. 
The XML Root Element Tag Name
See Also:
Constant Field Values
Method Detail

getPanamaSession

public oracle.panama.core.parm.PanamaSession getPanamaSession()
Deprecated. 
Get the session for this request.
Returns:
the PanamaSession interface.

getArguments

public Arguments getArguments()
Deprecated. 
Get the arguments used to invoke this Service.
Returns:
the Arguments interface.

setArguments

public void setArguments(Arguments args)
Deprecated. 
Set Arguments for the invoked service.
Parameters:
args - an Arguments interface.

getOutputArguments

public OutputArguments getOutputArguments()
Deprecated. 
Get the OutputArguments used to invoke this Service.
Returns:
the Arguments interface.

setOutputArguments

public void setOutputArguments(OutputArguments outArgs)
Deprecated. 
Set OutputArguments for the invoked service.

getSimpleResult

public org.w3c.dom.Element getSimpleResult()
Deprecated. 
Get the Service XML result.
Returns:
the SimpleResult XML Element or null if not set.

setSimpleResult

public void setSimpleResult(org.w3c.dom.Element result)
                     throws java.lang.Error
Deprecated. 
Set the Service XML result.
Parameters:
result - The SimpleResult XML Element.
java.lang.Error

setAdapterResult

public void setAdapterResult(org.w3c.dom.Element result)
Deprecated. 
Set the Adapter result.
Parameters:
result - the AdapterResult XML Element.

getAdapterResult

public org.w3c.dom.Element getAdapterResult()
Deprecated. 
Get the Service XML AdapterResult.
Returns:
an AdapterResult XML Element or null if not set.

addResult

public void addResult(org.w3c.dom.Element result)
Deprecated. 
Add a result for the invoked service.
Parameters:
result -

setAnyResult

public void setAnyResult(boolean anyResult)
Deprecated. 
Set this flag if no external "content" could be found, typically for queries which returned no data.
Parameters:
anyResult - true if the adapter fetched external content otherwise false.

isAnyResult

public boolean isAnyResult()
Deprecated. 
Check if the Adapter really found any result. Observe that the adapter still can deliver content back as a form or whatever.
Returns:
true if any result was received from the external source, otherwise false.

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Deprecated. 
Get the owning document
Returns:
the document owning all elements

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.