@Deprecated public interface UserDevice extends UserPrefsObject
UserPrefsObject.PrefsObjectType| Modifier and Type | Method and Description |
|---|---|
boolean |
addAddress(DeviceAddress address)
Deprecated.
|
void |
addAllAddresses(Set<DeviceAddress> addresses)
Deprecated.
|
Set<DeviceAddress> |
getAddresses()
Deprecated.
|
Set<DeviceAddress> |
getAddresses(DeliveryType type)
Deprecated.
|
String |
getDeviceId()
Deprecated.
Returns the unique id by which it is identified in the
persistence store.
|
String |
getName()
Deprecated.
|
String |
getUserID()
Deprecated.
|
boolean |
removeAddress(DeviceAddress address)
Deprecated.
|
void |
removeAllAddresses()
Deprecated.
Empties the list of addresses
|
void |
setName(String name)
Deprecated.
|
Element |
toXML(Document doc)
Deprecated.
|
getCreatedDate, getDescription, getLastModifiedDate, getPrefsObjectType, getVersion, isValid, setDescription, setValidString getDeviceId()
String getUserID()
String getName()
void setName(String name)
name - the name to set for the user deviceboolean addAddress(DeviceAddress address)
address - the address to be added to the device listboolean removeAddress(DeviceAddress address)
address - the address to be removed from the device listvoid removeAllAddresses()
Set<DeviceAddress> getAddresses() throws UserPrefsException
UserPrefsExceptionSet<DeviceAddress> getAddresses(DeliveryType type) throws UserPrefsException
type - - delivery typeUserPrefsExceptionvoid addAllAddresses(Set<DeviceAddress> addresses)
addresses - the addresses to be added to the existing setCopyright © 2009,2014 Oracle and/or its affiliates. All rights reserved.