|
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 |
Interface for UserDevice.
Field Summary | |
static int |
TYPEID The type id of this class. |
static java.lang.String |
TYPENAME The 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 int TYPEID
public static final java.lang.String TYPENAME
Method Detail |
public void addDeviceAddress(DeviceAddress deviceAddress)
deviceAddress
- the new device addresspublic DeviceAddress getDefaultDeviceAddress()
public DeviceAddress[] getDeviceAddresses()
public DeviceType getDeviceType()
public java.lang.String getDisplayName()
public java.lang.String getEncoding()
public long getId()
public int getMaxNumAlerts()
public java.lang.String getName()
public java.lang.String getNickName()
public PhysicalDevice getPhysicalDevice()
public int getPreference()
public java.lang.String getTypeName()
public User getUser()
public Profile getUserProfile()
public DeviceAddress[] lookupDeviceAddress(DeliveryType deliveryType)
public DeviceAddress lookupDeviceAddress(java.lang.String name)
name
- the name of the device addresspublic void removeDeviceAddress(DeviceAddress deviceAddress)
deviceAddress
- the device address to be removed.public void setDefaultDeviceAddress(DeviceAddress deviceAddress)
deviceAddress
- the device addresspublic void setDeviceType(DeviceType type)
type
- The type of the user devicepublic void setDisplayName(java.lang.String displayName)
displayName
- the new (nick name) property valuepublic void setEncoding(java.lang.String encoding)
public void setMaxNumAlerts(int maxAlerts)
maxAlerts
- the maximum number alerts that can be sent from the user device per day.public void setName(java.lang.String name)
public void setNickName(java.lang.String name)
public void setPhysicalDevice(PhysicalDevice physicalDevice)
physicalDevice
- physical devicepublic 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 void setUser(User user)
user
- owner of the devicepublic void setUserProfile(Profile userProfile)
userProfile
-
|
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 |