Oracle Application Server Wireless Java API Reference
B14043-01


oracle.wireless.me.provisioning
Class ProvisioningManager

java.lang.Object
  extended byoracle.wireless.me.provisioning.ProvisioningManager


public class ProvisioningManager
extends java.lang.Object

Method Summary
static ProvisioningManager getInstance()
java.lang.String sendMessage(UserDevice userDevice, java.lang.String message)
java.lang.String submitRedownloadRequest(UserDownloadStatus downloadStatus)
Called from : Command line or customization portal to do a re-download Submits a redownload request for the user device.
boolean submitRequest(DeviceAddress deviceAddress, Service service)
Called : on a wap push - from customization portal or standalone Submits a provisioning request for the content, gets the url and pushes the content to the given device.
UserAction submitRequest(User user, UserDevice userDevice, DeliverableApplication application, DRMPolicy policy, Service service, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Called from : 1.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getInstance

public static ProvisioningManager getInstance()

sendMessage

public java.lang.String sendMessage(UserDevice userDevice,
                                    java.lang.String message)
                             throws TransportException
Throws:
TransportException

submitRedownloadRequest

public java.lang.String submitRedownloadRequest(UserDownloadStatus downloadStatus)
                                         throws PanamaException
Called from : Command line or customization portal to do a re-download Submits a redownload request for the user device. In case of a download url, the url is sent as a message to the client device to click and download. The right device-address/channel is chosen and the message is sent.
Parameters:
downloadStatus - The user download status object
Returns:
String message indcating the status of the redownload
Throws:
PanamaException
See Also:
UserAction

submitRequest

public boolean submitRequest(DeviceAddress deviceAddress,
                             Service service)
                      throws PanamaException
Called : on a wap push - from customization portal or standalone Submits a provisioning request for the content, gets the url and pushes the content to the given device.
Parameters:
deviceAddress - The user's device address supporting Wap push
Returns:
boolean true if request submitted to transport layer
Throws:
PanamaException - if request submission fails
See Also:
DeliverableApplication

submitRequest

public UserAction submitRequest(User user,
                                UserDevice userDevice,
                                DeliverableApplication application,
                                DRMPolicy policy,
                                Service service,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws PanamaException
Called from : 1. Jsp for a user download 2. on a redownload - from customization portal or standalone 3. on a wap push - from customization portal or standalone Submits a provisioning request for the user device given the content and application to download. Internally, looks up the content url and the driver for the device.
Parameters:
user - The user initiating this download
userDevice - the user device used for this download
application - The application selected by the user
policy - the DRM policy associated with this service
service - the service picked by the user
request - HttpServletRequest the http request. Can pass null if not a jsp request
response - HttpServletResponse the http response. Can pass null if not a jsp request
Returns:
UserAction returns a UserAction (link to download or message to user)
Throws:
PanamaException
See Also:
UserAction, DeviceAddress

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.