Oracle Application Server Wireless J2ME SDK API Reference
B14045-01

C D G I M O P Q R S U W


C

CACHE_FAILURE - Static variable in class oracle.wireless.me.core.ServiceException
Failure in cache (RMS record store) used to store queued calls and to caches responses.
CACHE_IO_ERROR - Static variable in class oracle.wireless.me.core.ServiceException
Error serializing or deserializing call or response for queue or cache.
CONNECTION_FAILED - Static variable in class oracle.wireless.me.core.ServiceException
Connection to proxy server failed.
Call - class oracle.wireless.me.core.Call.
The Call object is used for making remote procedure calls of web services and for obtaining a return object from such calls.
callKey(Call) - Method in class oracle.wireless.me.core.ServiceManager
Returns the cache key for the given call.
cancelAllQueue() - Method in class oracle.wireless.me.core.ServiceManager
Removes all queued Calls from the queue.
cancelQueue(Call) - Method in class oracle.wireless.me.core.ServiceManager
Removes a queued Call from the queue.
clearCache() - Method in class oracle.wireless.me.core.ServiceManager
Clears the cache of all cached responses.
clearExpiredCache() - Method in class oracle.wireless.me.core.ServiceManager
Delete expired responses from cache.
close() - Method in class oracle.wireless.me.core.ServiceManager
This closes the RMS record store used for caching and queueing; this method should always be called when a MIDlet exits.
createCall(String, int) - Method in class oracle.wireless.me.core.Service
Makes a Call object that represents a remote procedure on this Service.
createService(String, String) - Method in class oracle.wireless.me.core.ServiceFactory
Deprecated. Use the method that specifies the namespace: ServiceFactory.createService(String, String, String).
createService(String, String, String) - Method in class oracle.wireless.me.core.ServiceFactory
Creates a Service object in the given namespace for sending service requests to iAS Wireless J2ME Proxy Server.

D

DEFAULT_NAMESPACE - Static variable in class oracle.wireless.me.core.Service
The name of the default namespace.
DRMAgent - class oracle.wireless.me.drm.DRMAgent.
Implementation of DRMAgent receives notification of lifecycle methods of a context MIDlet.
deleteResponse(int) - Method in class oracle.wireless.me.core.ServiceManager
Deletes a response from the cache.

G

getBoolean() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a boolean primitive type
getBooleanArray() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an array of boolean primitive type
getBooleanObj() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a java.lang.Boolean
getBooleanObjArray() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an array of java.lang.Boolean
getByteArray() - Method in interface oracle.wireless.me.core.Response
NOT YET IMPLEMENTED! Gets the returned data as an array of byte primitive type
getCall() - Method in interface oracle.wireless.me.core.Response
Return associated Call object reference
getDate() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a java.util.Date
getDateArray() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an array of java.util.Date
getEnumeration() - Method in interface oracle.wireless.me.core.Response
NOT YET IMPLEMENTED! Gets the object returned from the remote procedure call as an enumeration.
getErrorCode() - Method in class oracle.wireless.me.core.ServiceException
Return the error code
getErrorMsg() - Method in interface oracle.wireless.me.core.Response
Get the error message when error occurred during the service invocation on iAS Wireless J2ME Proxy Server.
getHashtable() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a java.util.Hashtable
getInstance() - Static method in class oracle.wireless.me.core.ServiceFactory
Get an instance of ServiceFactory.
getInstance() - Static method in class oracle.wireless.me.core.ServiceManager
The singleton thread-safe getter
getInt() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an int primitive type
getIntArray() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an array of int primitive type
getInteger() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a java.lang.Integer
getIntegerArray() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an array of java.lang.Integer
getKey() - Method in interface oracle.wireless.me.core.Response
Get the cache key for this Response.
getNamespace() - Method in class oracle.wireless.me.core.Service
Get the name of this Service's namespace
getObject() - Method in interface oracle.wireless.me.core.Response
Gets the returned data unconverted, as java.lang.Object
getOperationName() - Method in class oracle.wireless.me.core.Call
Get the name of remote procedure call that this Call object invokes on a web service.
getParameters() - Method in class oracle.wireless.me.core.Call
Get the parameters sent to the method of this Call
getProperty(String) - Method in class oracle.wireless.me.core.Service
Gets the value of a named property.
getProperty(String) - Method in class oracle.wireless.me.drm.DRMAgent
Returns the value of the named property.
getProperty(String, String) - Method in class oracle.wireless.me.drm.DRMAgent
Returns the value of the named property, if the value is not found, specified default value is returned.
getQueuedCall(int) - Method in class oracle.wireless.me.core.ServiceManager
Get a queued Call by RMS record id.
getQueuedCalls(boolean) - Method in class oracle.wireless.me.core.ServiceManager
Get an array of record ids of queued calls, based on the status of the invocation in the Call Queue managed by ServiceManager
getResponse() - Method in class oracle.wireless.me.core.Call
Gets the object returned from the remote procedure call if and only if the response was cached (responses from queued calls are always cached, except if the response is null (the remote method returned null or has a return type of void)).
getReturnCode() - Method in interface oracle.wireless.me.core.Response
0 means that the service invocation succeeded.
getService() - Method in class oracle.wireless.me.core.Call
Get the associated Service Object
getServiceName() - Method in class oracle.wireless.me.core.Service
Get the name of this Service
getString() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a java.lang.String
getStringArray() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as an array of java.lang.String
getVector() - Method in interface oracle.wireless.me.core.Response
Gets the returned data as a java.util.Vector

I

INVALID_ACK - Static variable in class oracle.wireless.me.core.ServiceException
Invalid acknowledgement received during packetized request.
INVALID_CALL - Static variable in class oracle.wireless.me.core.ServiceException
Call object is not valid.
INVALID_KEY - Static variable in class oracle.wireless.me.core.ServiceException
Invalid call key used during queue or cache operation.
INVALID_PACKET - Static variable in class oracle.wireless.me.core.ServiceException
Invalid response packet received.
INVALID_RECORD_ID - Static variable in class oracle.wireless.me.core.ServiceException
Invalid RMS record id used during queue or cache operation.
invoke(Vector, boolean) - Method in class oracle.wireless.me.core.Call
Invokes the Call, which will make a remote procedure call to a service handler object on the iAS Wireless server, and returns a Response object.

M

MAX_REQUEST_SIZE - Static variable in class oracle.wireless.me.core.Service
Property of type java.lang.Integer that holds an integer greater than or equal to 0.
MULTIPLE_HTTP - Static variable in class oracle.wireless.me.core.Service
Property of type java.lang.Boolean that controls how large requests and responses are broken up and sent to the server when MAX_REQUEST_SIZE > 0.

O

onDestroyApp(boolean) - Method in class oracle.wireless.me.drm.DRMAgent
Notifies that destroyApp method of peer MIDlet has been called.
onPauseApp() - Method in class oracle.wireless.me.drm.DRMAgent
Notifies that pauseApp method of context MIDlet has been called.
onStartApp() - Method in class oracle.wireless.me.drm.DRMAgent
Notifies that startApp method of context MIDlet has been called.
oracle.wireless.me.core - package oracle.wireless.me.core
 
oracle.wireless.me.drm - package oracle.wireless.me.drm
 

P

PASSWORD - Static variable in class oracle.wireless.me.core.Service
Property of type java.lang.String that holds a password necessary to log-in to the web service.

Q

queueCall(Call) - Method in class oracle.wireless.me.core.ServiceManager
Put a Call into the call queue.

R

REMOTE_ERROR - Static variable in class oracle.wireless.me.core.ServiceException
Error returned from the server.
RESPONSE_EMPTY - Static variable in class oracle.wireless.me.core.ServiceException
A response was cached, but it has no data.
Response - interface oracle.wireless.me.core.Response.
Response represents the data which is generated by invoking a Service from iAS Wireless J2ME Proxy Server.
resumeStartApp() - Method in class oracle.wireless.me.drm.DRMAgent
This policy must call resumeStartApp() method should startApp() method of context MIDlet resume normally.
run() - Method in class oracle.wireless.me.core.ServiceManager
 

S

SESSION_MAINTAIN - Static variable in class oracle.wireless.me.core.Service
Property of type java.lang.Boolean that indicates whether to enable or disable sessions in this service.
Service - class oracle.wireless.me.core.Service.
The Service object represents a web service available at server.
ServiceException - exception oracle.wireless.me.core.ServiceException.
An exception that provides information on any error occurred when invoking the service.
ServiceException() - Constructor for class oracle.wireless.me.core.ServiceException
Creates new ServiceException without detail message.
ServiceException(String) - Constructor for class oracle.wireless.me.core.ServiceException
Constructs an ServiceException with the specified detail message.
ServiceException(String, int) - Constructor for class oracle.wireless.me.core.ServiceException
Constructs an ServiceException with the specified detail message and the status of the connection.
ServiceFactory - class oracle.wireless.me.core.ServiceFactory.
ServiceFactory class provides a factory for the creation of Service objects, which represent web services.
ServiceManager - class oracle.wireless.me.core.ServiceManager.
ServiceManager provides the Offline Management capability for Call invocation.
setParameters(Vector) - Method in class oracle.wireless.me.core.Call
This method is only useful if you want to queue a call for later invokation (using ServiceManager.queueCall) WITHOUT calling Call.invoke first.
setProperty(String, Object) - Method in class oracle.wireless.me.core.Service
Sets the value of a named property.

U

UNKNOWN_CODE - Static variable in class oracle.wireless.me.core.ServiceException
Unknown error.
UNKNOWN_RECORD_TYPE - Static variable in class oracle.wireless.me.core.ServiceException
Invalid record store type used during queueing or caching operation.
UNSUPPORTED_PARAM_TYPE - Static variable in class oracle.wireless.me.core.ServiceException
Unsupported remote call parameter.
USERNAME - Static variable in class oracle.wireless.me.core.Service
Property of type java.lang.String that holds a username necessary to log-in to the web service.

W

WRONG_RESPONSE_TYPE - Static variable in class oracle.wireless.me.core.ServiceException
Return type is not of this type.

C D G I M O P Q R S U W

Oracle Application Server Wireless J2ME SDK API Reference
B14045-01


Copyright © 2003 Oracle Corporation. All Rights Reserved.