|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The User download status is an audit interface which is recorded when a particular j2me content is requested for download it encapsulates the user, deliverable content, deliverable application, device information, time stamp and the donwload statuses Caution: All setters be invoked only by the ProvisioningManager or the Download servlet
Field Summary | |
static java.lang.String |
DOWNLOAD_CANCELLED |
static java.lang.String |
DOWNLOAD_FAILED |
static java.lang.String |
DOWNLOAD_PENDING Display Status codes |
static java.lang.String |
DOWNLOAD_SUCCESS |
static java.lang.String |
DOWNLOAD_SUCCESS_CONFIRMED |
static java.lang.String |
STATUS_AUTH_FAILED The status when the download is rejected after the pre download authorization |
static java.lang.String |
STATUS_COMPLETE The status set by the download server (SUNOTA servlet) after all the contents are written back to the client |
static java.lang.String |
STATUS_CREATED The status when the download operation is attempted for the contents (jad and jar) |
static java.lang.String |
STATUS_DEVICE_ABORTED The status set by the download server (SUNOTA servlet) after an "Device Aborted" notification from download client |
static java.lang.String |
STATUS_FAILED The status set by the download server (SUNOTA servlet) writing the contents back failed |
static java.lang.String |
STATUS_LOADER_ERROR The status set by the download server (SUNOTA servlet) after an "Loader Error" notification from download client |
static java.lang.String |
STATUS_NON_ACCEPTABLE_CONTENT The status set by the download server (SUNOTA servlet) after an "Not Acceptable Content" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_ATTRIBUTE_MISMATCH The status set by the download server (SUNOTA servlet) after an "Attribute Mismatch" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_INSUF_MEMORY The status set by the download server (SUNOTA servlet) after an "insufficient memory" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_INVALID_DESCRIPTOR The status set by the download server (SUNOTA servlet) after an "Invalid Descriptor" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_JAR_SIZE_MISMATCH The status set by the download server (SUNOTA servlet) after an "Jar Size Mismatch" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_LOSS_OF_SERVICE The status set by the download server (SUNOTA servlet) after an "loss of service" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_SUCCESS The status set by the download server (SUNOTA servlet) after a "success" notification from download client |
static java.lang.String |
STATUS_NOTIFIED_USER_CANCELLED The status set by the download server (SUNOTA servlet) after an "user cancelled" notification from download client |
static java.lang.String |
STATUS_REDOWNLOAD_REJECTED The status when the download is rejected after the pre download authorization |
static java.lang.String |
STATUS_REQUESTED The status when the particular content based on mime type is requested by the provisioning driver |
static java.lang.String |
STATUS_USER_ABORTED The status set by the download server (SUNOTA servlet) after an "User Aborted" notification from download client |
Fields inherited from interface oracle.wireless.billing.BillingContext |
ALERT_COMPONENT, MESSAGING_COMPONENT, PROVISIONING_COMPONENT, PUSH_COMPONENT, RUNTIME_COMPONENT |
Method Summary | |
DeliverableApplication |
getApplication() |
DeliverableContent |
getContent() |
java.lang.String |
getControlNumber() Returns the control number of the download operation. |
UserDevice |
getDevice() Returns the UserDevice of the requestor |
DeviceAddress |
getDeviceAddress() Returns the DeviceAddress of the requestor |
java.lang.String |
getDisplayStatus(java.lang.String initStatus) |
long |
getDownloadId() returns the internal audit sequence number |
DRMPolicy |
getDRMPolicy() Returns the Digital Rights Management Policy associated with this download. |
java.lang.String |
getExternalId() Returns the external id of the downloaded process. |
java.sql.Timestamp |
getLastDownloadTimestamp() Returns the LastDownloadTimestamp |
java.lang.String |
getMimeType() Returns the mimetype of the downloaded content. |
long |
getNumberOfDownloads() returns the current number of downloads by the user for this content |
java.sql.Timestamp |
getRequestTimestamp() Returns the download operation request timestamp |
Service |
getService() Returns the Service/Link which the user chose to make this download |
java.lang.String |
getStatus() returns the current status of the download object. |
User |
getUser() |
java.lang.String |
getVersion() Returns the version of the downloaded content. |
void |
incrementNumberOfDownloads() Increments the download status object Caution: Set must be called only by the ProvisioningManager or the Download servlet |
void |
save() Commits changes to the database |
void |
setControlNumber(java.lang.String controlNumber) Sets the control number of the download operation. |
void |
setDevice(UserDevice device) Sets the UserDevice of the requestor Caution: Set must be called only by the ProvisioningManager or the Download servlet |
void |
setDeviceAddress(DeviceAddress deviceAddress) Sets the DeviceAddress of the requestor Caution: Set must be called only by the ProvisioningManager or the Download servlet |
void |
setDRMPolicy(DRMPolicy policy) Sets the Digital Rights Management Policy associated with this download. |
void |
setExternalId(java.lang.String externalId) Sets the External Id. |
void |
setLastDownloadTimeStamp(java.sql.Timestamp timestamp) Sets the LastDownloadTimestamp Caution: Set must be called only by the ProvisioningManager or the Download servlet |
void |
setMimeType(java.lang.String mimeType) Sets the mime type Caution: Set must be called only by the ProvisioningManager or the Download servlet |
void |
setService(Service service) Service the Service/Link which the user chose to make this download |
void |
setStatus(java.lang.String status) Sets the current status of the download object. |
void |
setVersion(java.lang.String version) Sets the version Caution: Set must be called only by the ProvisioningManager or the Download servlet |
Field Detail |
public static final java.lang.String DOWNLOAD_CANCELLED
public static final java.lang.String DOWNLOAD_FAILED
public static final java.lang.String DOWNLOAD_PENDING
public static final java.lang.String DOWNLOAD_SUCCESS
public static final java.lang.String DOWNLOAD_SUCCESS_CONFIRMED
public static final java.lang.String STATUS_AUTH_FAILED
public static final java.lang.String STATUS_COMPLETE
public static final java.lang.String STATUS_CREATED
public static final java.lang.String STATUS_DEVICE_ABORTED
public static final java.lang.String STATUS_FAILED
public static final java.lang.String STATUS_LOADER_ERROR
public static final java.lang.String STATUS_NON_ACCEPTABLE_CONTENT
public static final java.lang.String STATUS_NOTIFIED_ATTRIBUTE_MISMATCH
public static final java.lang.String STATUS_NOTIFIED_INSUF_MEMORY
public static final java.lang.String STATUS_NOTIFIED_INVALID_DESCRIPTOR
public static final java.lang.String STATUS_NOTIFIED_JAR_SIZE_MISMATCH
public static final java.lang.String STATUS_NOTIFIED_LOSS_OF_SERVICE
public static final java.lang.String STATUS_NOTIFIED_SUCCESS
public static final java.lang.String STATUS_NOTIFIED_USER_CANCELLED
public static final java.lang.String STATUS_REDOWNLOAD_REJECTED
public static final java.lang.String STATUS_REQUESTED
public static final java.lang.String STATUS_USER_ABORTED
Method Detail |
public DeliverableApplication getApplication()
public DeliverableContent getContent()
public java.lang.String getControlNumber()
public UserDevice getDevice()
public DeviceAddress getDeviceAddress()
public java.lang.String getDisplayStatus(java.lang.String initStatus)
initStatus
- The status code set in the User Download Status objectpublic long getDownloadId()
public DRMPolicy getDRMPolicy()
public java.lang.String getExternalId()
public java.sql.Timestamp getLastDownloadTimestamp()
public java.lang.String getMimeType()
public long getNumberOfDownloads()
public java.sql.Timestamp getRequestTimestamp()
public Service getService()
public java.lang.String getStatus()
public User getUser()
public java.lang.String getVersion()
public void incrementNumberOfDownloads()
public void save() throws PanamaException
PanamaException
public void setControlNumber(java.lang.String controlNumber)
controlNumber
- the control numberpublic void setDevice(UserDevice device)
device
- the UserDevicepublic void setDeviceAddress(DeviceAddress deviceAddress)
deviceAddress
- the DeviceAddresspublic void setDRMPolicy(DRMPolicy policy)
policy
- the policypublic void setExternalId(java.lang.String externalId)
externalId
- the externalIdpublic void setLastDownloadTimeStamp(java.sql.Timestamp timestamp)
timestamp
- the LastDownloadTimestamppublic void setMimeType(java.lang.String mimeType)
mimeType
- the mimeTypepublic void setService(Service service)
service
- The service picked by the userpublic void setStatus(java.lang.String status)
status
- One of the predefined status codepublic void setVersion(java.lang.String version)
version
- the version
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |