|
Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference E14011-04 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDevice
This class represents the logical user device. It can contain several physical devices. It is uniquely identified by its 'name'. The uniqueness is only mandated in the context of a User and not across different User objects
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.sdp.messaging.userprefs.UserPrefsObject |
---|
UserPrefsObject.PrefsObjectType |
Method Summary | |
---|---|
boolean |
addAddress(DeviceAddress address)
|
void |
addAllAddresses(Set<DeviceAddress> addresses)
|
Set<DeviceAddress> |
getAddresses()
|
Set<DeviceAddress> |
getAddresses(DeliveryType type)
|
java.lang.String |
getDeviceId()
Returns the unique id by which it is identified in the persistence store. |
java.lang.String |
getName()
|
java.lang.String |
getUserID()
|
boolean |
removeAddress(DeviceAddress address)
|
void |
removeAllAddresses()
Empties the list of addresses |
void |
setName(java.lang.String name)
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
Methods inherited from interface oracle.sdp.messaging.userprefs.UserPrefsObject |
---|
getCreatedDate, getDescription, getLastModifiedDate, getPrefsObjectType, getVersion, isValid, setDescription, setValid |
Method Detail |
---|
boolean addAddress(DeviceAddress address)
address
- the address to be added to the device listvoid addAllAddresses(Set<DeviceAddress> addresses)
addresses
- the addresses to be added to the existing setSet<DeviceAddress> getAddresses() throws UserPrefsException
UserPrefsException
Set<DeviceAddress> getAddresses(DeliveryType type) throws UserPrefsException
type
- - delivery type
UserPrefsException
java.lang.String getDeviceId()
java.lang.String getName()
java.lang.String getUserID()
boolean removeAddress(DeviceAddress address)
address
- the address to be removed from the device listvoid removeAllAddresses()
void setName(java.lang.String name)
name
- the name to set for the user deviceorg.w3c.dom.Element toXML(org.w3c.dom.Document doc)
|
Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference E14011-04 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |