|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface DeviceFactory
This is the common interface for all DeviceFactories. It allows the PushNotificationManager to support multiple implementations of DeviceFactory (in-memory, JPA-backed, etc.)
| Method Summary | |
|---|---|
Device |
addDevice(String id,
String token)
Deprecated. Add a device to the map |
Device |
getDevice(String id)
Deprecated. Get a device according to his id |
void |
removeDevice(String id)
Deprecated. Remove a device |
| Method Detail |
|---|
Device addDevice(String id,
String token)
throws DuplicateDeviceException,
NullIdException,
NullDeviceTokenException,
Exception
id - The local device idtoken - The device token
DuplicateDeviceException
NullIdException
NullDeviceTokenException
Exception
Device getDevice(String id)
throws UnknownDeviceException,
NullIdException
id - The local device id
UnknownDeviceException
NullIdException
void removeDevice(String id)
throws UnknownDeviceException,
NullIdException
id - The local device id
UnknownDeviceException
NullIdException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||