Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Interface DeliverableContent

All Superinterfaces:
ModelObject, XMLObject

public interface DeliverableContent
extends ModelObject

Field Summary

 

Fields inherited from interface oracle.panama.model.ModelObject
TYPEID

 

Method Summary
 DeliverableContentItem addContentItem(User owner, java.lang.String mimeType, byte[] content)
           
 void addExcludedDevice(PhysicalDevice pDevice)
           
 void addSupportedDevice(PhysicalDevice pDevice)
           
 void clearUnsentDeliverableCtntEvents()
           
 DeliverableContentItem[] getAllContentItems()
           
 DeliverableContentItem getContentItemByMimeType(java.lang.String mimeType)
           
 DeliverableContentStatus getDCtntStatus()
           
 DeliverableApplication getDeliverableApplication()
           
 java.lang.String getDescription()
          Gets the readable decription of the DeliverableContent
 java.lang.Object getDeviceCapabilityProperty(java.lang.String name)
           
 java.util.Iterator getDeviceCapabilityPropertyNames()
           
 java.lang.String getDisplayName()
          Gets the display name property value
 java.lang.Long getDRMID()
           
 PhysicalDevice[] getExcludedDevices()
           
 java.lang.String getName()
          Gets the name property value
 PhysicalDevice[] getSupportedDevices()
           
 User getUserOwner()
           
 java.util.Date getVerifyTime()
           
 java.lang.String getVersion()
          Gets the version property value
 boolean isDeviceCapable(PhysicalDevice pDevice)
          DeliverableContent will decide whether a physical device is capable based on the following 3 step process: 1.
 boolean isValid()
           
 void removeDeviceCapabilityProperty(java.lang.String name)
           
 void removeExcludedDevice(PhysicalDevice pDevice)
           
 void removeSupportedDevice(PhysicalDevice pDevice)
           
 void sendDeliverableCtntEvents()
           
 void setDeliverableContentStatus(DeliverableContentStatus dCtntStatus)
          Set the Status of this DeliverableContent.
 void setDescription(java.lang.String desc)
          Sets the readable description of DeliverableContent
 void setDeviceCapabilityProperty(java.lang.String name, java.lang.Object value)
           
 void setDisplayName(java.lang.String name)
          Sets the display name property value
 void setDRMID(java.lang.Long drmID)
          Set the DRM Policy for this DeliverableContent.
 void setName(java.lang.String name)
          Sets the name property value
 void setUserOwner(User owner)
          Set the owner of this DeliverableContent.
 void setValid(boolean valid)
          Allow the administrator to set a DeliverableContent to valid or invalid.

 

Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll

 

Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML

 

Method Detail

getName

public java.lang.String getName()
Gets the name property value
Specified by:
getName in interface ModelObject
Returns:
name of the DeliverableContent

setName

public void setName(java.lang.String name)
Sets the name property value
Specified by:
setName in interface ModelObject
Parameters:
name - the new (name) property value

getVersion

public java.lang.String getVersion()
Gets the version property value
Returns:
current version of the DeliverableContent

getDescription

public java.lang.String getDescription()
Gets the readable decription of the DeliverableContent
Returns:
description of the DeliverableContent

setDescription

public void setDescription(java.lang.String desc)
Sets the readable description of DeliverableContent
Parameters:
desc - the new content description

getDisplayName

public java.lang.String getDisplayName()
Gets the display name property value
Returns:
display name of the DeliverableContent

setDisplayName

public void setDisplayName(java.lang.String name)
Sets the display name property value
Parameters:
name - the new ( display name ) property value

isValid

public boolean isValid()
Returns:
true If this DeliverableContent is valid.

setValid

public void setValid(boolean valid)
Allow the administrator to set a DeliverableContent to valid or invalid.
Parameters:
valid - true if valid or false if not.

getUserOwner

public User getUserOwner()
Returns:
the owner of this DeliverableContent or null if none

setUserOwner

public void setUserOwner(User owner)
Set the owner of this DeliverableContent.

getDCtntStatus

public DeliverableContentStatus getDCtntStatus()
Returns:
the Status of this DeliverableContent

setDeliverableContentStatus

public void setDeliverableContentStatus(DeliverableContentStatus dCtntStatus)
Set the Status of this DeliverableContent.
Parameters:
dCtntStatus - the status.

getVerifyTime

public java.util.Date getVerifyTime()
Returns:
the Middle Tier Time when Status of this DeliverableContent is setting to DeliverableContentStatus.VERIFIED

getDRMID

public java.lang.Long getDRMID()
Returns:
the ID of DRM Policy associated with this DeliverableContent or null if none

setDRMID

public void setDRMID(java.lang.Long drmID)
Set the DRM Policy for this DeliverableContent.
Parameters:
drmID - the internal ID associated with DRM Policy.

addExcludedDevice

public void addExcludedDevice(PhysicalDevice pDevice)

removeExcludedDevice

public void removeExcludedDevice(PhysicalDevice pDevice)

getExcludedDevices

public PhysicalDevice[] getExcludedDevices()

addSupportedDevice

public void addSupportedDevice(PhysicalDevice pDevice)

removeSupportedDevice

public void removeSupportedDevice(PhysicalDevice pDevice)

getSupportedDevices

public PhysicalDevice[] getSupportedDevices()

getDeviceCapabilityPropertyNames

public java.util.Iterator getDeviceCapabilityPropertyNames()

getDeviceCapabilityProperty

public java.lang.Object getDeviceCapabilityProperty(java.lang.String name)

setDeviceCapabilityProperty

public void setDeviceCapabilityProperty(java.lang.String name,
                                        java.lang.Object value)

removeDeviceCapabilityProperty

public void removeDeviceCapabilityProperty(java.lang.String name)

isDeviceCapable

public boolean isDeviceCapable(PhysicalDevice pDevice)
                        throws ExcludedDeviceException
DeliverableContent will decide whether a physical device is capable based on the following 3 step process: 1. If this device is in the excluded device list, it will throw ExcludedDevice Exception. Otherwise, it will go to step 2 2. If this device is in the supported device list, it will return true. Otherwise, it will go to step 3 3. If the attributes of this device can match all the device capability properties, it will return true, otherwise it will return false
ExcludedDeviceException

getAllContentItems

public DeliverableContentItem[] getAllContentItems()

getContentItemByMimeType

public DeliverableContentItem getContentItemByMimeType(java.lang.String mimeType)

addContentItem

public DeliverableContentItem addContentItem(User owner,
                                             java.lang.String mimeType,
                                             byte[] content)
                                      throws VerifyContentException,
AuthenticateContentException
VerifyContentException
AuthenticateContentException

getDeliverableApplication

public DeliverableApplication getDeliverableApplication()

sendDeliverableCtntEvents

public void sendDeliverableCtntEvents()

clearUnsentDeliverableCtntEvents

public void clearUnsentDeliverableCtntEvents()

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.