|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for UserDevice.
| Field Summary | |
static int |
TYPEIDThe type id of this class. |
static java.lang.String |
TYPENAMEThe constant class type identifier. |
| Method Summary | |
void |
addDeviceAddress(DeviceAddress deviceAddress)Add a device address to this user device. |
DeviceAddress |
getDefaultDeviceAddress()Gets the default device address for this user device. |
DeviceAddress[] |
getDeviceAddresses()Retrieves the current list of device addresses for the user who owns this UserDevice. |
DeviceType |
getDeviceType()Get type of the user device. |
java.lang.String |
getDisplayName()Get the display name of the device. |
java.lang.String |
getEncoding()Gets the default encoding for the user device. |
long |
getId()Return the id of the user device |
int |
getMaxNumAlerts()Gets the maximum number alerts that can be sent from the user device per day. |
java.lang.String |
getName()Get the name of the user device. |
java.lang.String |
getNickName()Deprecated. |
PhysicalDevice |
getPhysicalDevice()Retrieve the physical device that corresponds to this device. |
int |
getPreference()Returns the preference of the user device. |
java.lang.String |
getTypeName()Return the type of the user device. |
User |
getUser()Return the user who owns this device. |
Profile |
getUserProfile()Gets the user profile that's set for this device specifically. |
DeviceAddress[] |
lookupDeviceAddress(DeliveryType deliveryType)Look up the device address by delivery type. |
DeviceAddress |
lookupDeviceAddress(java.lang.String name)Look up a device address by name from the user device. |
void |
removeDeviceAddress(DeviceAddress deviceAddress)Remove a device address from this user device. |
void |
setDefaultDeviceAddress(DeviceAddress deviceAddress)Sets the default device address for this user device. |
void |
setDeviceType(DeviceType type)Sets the type of the user device. |
void |
setDisplayName(java.lang.String displayName)Sets the nick name property value |
void |
setEncoding(java.lang.String encoding)Sets the default encoding for the user device. |
void |
setMaxNumAlerts(int maxAlerts)Sets the maximum number alerts that can be sent from the user device per day. |
void |
setName(java.lang.String name)Sets the name of the user device. |
void |
setNickName(java.lang.String name)Sets the name of the user device. |
void |
setPhysicalDevice(PhysicalDevice physicalDevice)Set the physical device that mappes to the user device. |
void |
setPreference(int preference)Set the preference value for the user device. |
void |
setUser(User user)Set the user who owns the device. |
void |
setUserProfile(Profile userProfile)Sets the user profile for this device specfic view customization. |
| Field Detail |
public static final java.lang.String TYPENAME
public static final int TYPEID
| Method Detail |
public long getId()
public java.lang.String getTypeName()
public DeviceAddress[] getDeviceAddresses()
public void setDefaultDeviceAddress(DeviceAddress deviceAddress)
deviceAddress - the device addresspublic DeviceAddress getDefaultDeviceAddress()
public void removeDeviceAddress(DeviceAddress deviceAddress)
deviceAddress - the device address to be removed.public void addDeviceAddress(DeviceAddress deviceAddress)
deviceAddress - the new device addresspublic DeviceAddress lookupDeviceAddress(java.lang.String name)
name - the name of the device addresspublic PhysicalDevice getPhysicalDevice()
public void setPhysicalDevice(PhysicalDevice physicalDevice)
physicalDevice - physical devicepublic User getUser()
public void setUser(User user)
user - owner of the devicepublic java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getNickName()
public void setNickName(java.lang.String name)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the new (nick name) property valuepublic DeviceType getDeviceType()
public void setDeviceType(DeviceType type)
type - The type of the user devicepublic Profile getUserProfile()
public void setUserProfile(Profile userProfile)
userProfile -public int getPreference()
public void setPreference(int preference)
preference - The preference value of the user device. Has to be non-negative.java.lang.IllegalArgumentException - if the preference parameter is negative.public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
public DeviceAddress[] lookupDeviceAddress(DeliveryType deliveryType)
public int getMaxNumAlerts()
public void setMaxNumAlerts(int maxAlerts)
maxAlerts - the maximum number alerts that can be sent from the user device per day.
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||