|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the ServiceContext objects in PTG Runtime.
Field Summary |
Fields inherited from interface oracle.wireless.billing.BillingContext |
ALERT_COMPONENT, MESSAGING_COMPONENT, PROVISIONING_COMPONENT, RUNTIME_COMPONENT |
Method Summary | |
org.w3c.dom.Element |
getAdapterResult() |
java.lang.String |
getAdapterResultString() Get the string result of the invocation of the adapter. |
Folder |
getCurrentFolder() Get the current folder |
Device |
getDevice() Get the device object representing the capability of the user agent that issues the request. |
org.w3c.dom.Element |
getElement(org.w3c.dom.Document owner) Externalize the contents of ServiceContext in XML doument format. |
java.lang.String |
getExceptionMessage() Get the diagnostic message from XML transformers and parsers. |
Arguments |
getInputArguments() Get an array of input arguments for the service. |
OutputArguments |
getOutputArguments() |
Profile |
getProfile() Get the user profile for the request. |
Request |
getRequest() Get the request that initiated the service invocation context. |
Response |
getResponse() Get the response that will receive the output from service invocation. |
ResultType |
getResultType() Get the type of the current result. |
java.lang.String |
getSection() |
java.lang.String |
getServerInfo() Get the name and version of the server software, separated by a forward slash (/). |
Service |
getService() Get the service to be invoked for the current request. |
java.lang.String |
getServiceHomeURL() |
java.lang.String |
getServiceParentURL() |
Session |
getSession() Get the session for the service context. |
java.lang.String |
getSimpleResultString() * @deprecated As of IAS 9.0.3, replaced by ProcessingContext.getMarkupLanguageVersion() Get the string for the simple result. |
java.lang.String |
getUserHomeURL() |
java.lang.String |
getXHTMLResultString() Get the string for the XHTML result. |
org.w3c.dom.Document |
getXMLDocument() Get the XML document to contain all dom elements created for this context. |
boolean |
isAnyResultPresent() Check if the results are suppressed |
void |
setAdapterResult(org.w3c.dom.Element result) |
void |
setAnyResultPresent(boolean present) This flag is normally true, but can be changed to false to suppress the output results. |
void |
setExceptionMessage(java.lang.String msg) Set the diagnostic message from XML transformers and parsers. |
void |
setInputArguments(Arguments args) Set the input arguments for the service. |
void |
setOutputArguments(OutputArguments args) |
Methods inherited from interface oracle.panama.rt.ProcessingContext |
getBinaryDeviceResult, getDeviceResult, getDeviceResultLength, getDeviceResultType, getElement, getMarkupLanguageVersion, getMPResult, getRequestedXFormsDocument, getRespondedXFormsDocument, getSimpleResult, getSRDTDVersion, getXADResult, getXFXCResult, getXHTMLResult, setDeviceResult, setDeviceResult, setDeviceResult, setMPResult, setSimpleResult, setXADResult, setXFXCResult, setXHTMLResult |
Method Detail |
public java.lang.String getServerInfo()
public Service getService()
public java.lang.String getSection()
public Device getDevice()
public Session getSession()
public Request getRequest()
public Response getResponse()
public Arguments getInputArguments()
public void setInputArguments(Arguments args)
args
- an array of input arguments for the servicepublic Folder getCurrentFolder()
public OutputArguments getOutputArguments()
public void setOutputArguments(OutputArguments args)
args
- an array of output arguments for the servicepublic java.lang.String getSimpleResultString()
ProcessingContext.getMarkupLanguageVersion()
Get the string for the simple result.public java.lang.String getXHTMLResultString()
public java.lang.String getAdapterResultString()
public org.w3c.dom.Element getAdapterResult()
public void setAdapterResult(org.w3c.dom.Element result)
result
- the root element of the XML document for adapter resultpublic java.lang.String getExceptionMessage()
public void setExceptionMessage(java.lang.String msg)
public void setAnyResultPresent(boolean present)
public boolean isAnyResultPresent()
public ResultType getResultType()
public org.w3c.dom.Document getXMLDocument()
public org.w3c.dom.Element getElement(org.w3c.dom.Document owner)
owner
- the output elements are to be created under the owner documentpublic Profile getProfile()
public java.lang.String getServiceHomeURL()
public java.lang.String getServiceParentURL()
public java.lang.String getUserHomeURL()
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |