Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface DeliverableApplication

All Superinterfaces:
ModelObject, XMLObject

public interface DeliverableApplication
extends ModelObject

DelivableApplication is a place holder or organizer of DeliverableContent, representing downlaodable/deliverable Mobile Contents, like J2ME Midlet and Ringtone.


Field Summary

 

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

 

Method Summary
 DeliverableContent addDeliverableContent(java.lang.String name, java.lang.String version)
          Create new DeliverableContent under this DeliverableApplication
 void delete(boolean cascadingFlag)
          If cascadingFlag is true, it will automatically delete all the DeliverableContents associated with this DeliverableApplication.
 java.lang.String getApplicationDesc()
          Gets the readable decription of the DeliverableApplication
 java.lang.String getApplicationType()
          Gets the type of the DeliverableApplication Content, such as ringtone, MIDLet
 DeliverableContent[] getDeliverableContent()
          Return a list of DeliverableContents under this DelieverableApplication
 DeliverableContent getDeliverableContentById(java.lang.Long id)
          Get the DeliverableContent identified by id
 DeliverableContent[] getDeviceCapableContent(PhysicalDevice pDevice)
          Return a list of DeliverableContents under this DelieverableApplication suitable to the passing device
 java.lang.String getDisplayName()
          Gets the display name of the DeliverableApplication
 java.lang.String getName()
          Gets the name of the DeliverableApplication
 void removeDeliverableContent(long id)
          Remove the DeliverableContent identified by id
 void setApplicationDesc(java.lang.String desc)
          Sets the readable description of DeliverableApplication
 void setApplicationType(java.lang.String applicationType)
          Sets the type of DeliverableApplication
 void setDisplayName(java.lang.String name)
          Sets the display name of DeliverableApplication
 void setName(java.lang.String name)
          Sets the name of the DeliverableApplication

 

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

addDeliverableContent

public DeliverableContent addDeliverableContent(java.lang.String name,
                                                java.lang.String version)
Create new DeliverableContent under this DeliverableApplication
Returns:
new empty DelivarableContent

delete

public void delete(boolean cascadingFlag)
If cascadingFlag is true, it will automatically delete all the DeliverableContents associated with this DeliverableApplication. Otherwise, you should delete all the DeliverableContents manually, which you'll have a chance to send out the assoicated DeliverableCtntEvent later, before deleteing this DeliverableApplication Object

getApplicationDesc

public java.lang.String getApplicationDesc()
Gets the readable decription of the DeliverableApplication
Returns:
description of the DeliverableApplication

getApplicationType

public java.lang.String getApplicationType()
Gets the type of the DeliverableApplication Content, such as ringtone, MIDLet
Returns:
type of the DeliverableApplication

getDeliverableContent

public DeliverableContent[] getDeliverableContent()
Return a list of DeliverableContents under this DelieverableApplication
Returns:
DeliverableContent array

getDeliverableContentById

public DeliverableContent getDeliverableContentById(java.lang.Long id)
Get the DeliverableContent identified by id
Parameters:
id - identifying the DeliverableContent

getDeviceCapableContent

public DeliverableContent[] getDeviceCapableContent(PhysicalDevice pDevice)
Return a list of DeliverableContents under this DelieverableApplication suitable to the passing device
Returns:
DeliverableContent array

getDisplayName

public java.lang.String getDisplayName()
Gets the display name of the DeliverableApplication
Returns:
display name of the DeliverableApplication

getName

public java.lang.String getName()
Gets the name of the DeliverableApplication
Specified by:
getName in interface ModelObject
Returns:
the DeliverableApplication Name

removeDeliverableContent

public void removeDeliverableContent(long id)
Remove the DeliverableContent identified by id
Parameters:
id - identifying the DeliverableContent

setApplicationDesc

public void setApplicationDesc(java.lang.String desc)
Sets the readable description of DeliverableApplication
Parameters:
desc - the new application description

setApplicationType

public void setApplicationType(java.lang.String applicationType)
Sets the type of DeliverableApplication

setDisplayName

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

setName

public void setName(java.lang.String name)
Sets the name of the DeliverableApplication
Specified by:
setName in interface ModelObject
Parameters:
name - must be not null

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.