|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface XDeviceModule.Server
Server interface for the Device Module API.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface waggle.core.api.XAPIInterface |
---|
XAPIInterface.Client, XAPIInterface.Server |
Method Summary | |
---|---|
XDeviceInfo |
createDevice(XObjectID userID, String deviceName, XDeviceType deviceType, String deviceDeviceID, String deviceAppID, String deviceData, List<XNotificationGroup> deviceSettings) Create a new unique Device for the specified User. |
void |
deleteDevice(XObjectID deviceID) Remove an existing Device. |
XDeviceInfo |
findDevice(String deviceDeviceID, String deviceAppID) Find a Device by a device's unique IDs owned by the current User. |
List<XDeviceInfo> |
getConversationDevices(XObjectID conversationID) Get all Conversation Device override settings for the current user. |
XDeviceInfo |
getDevice(XObjectID deviceID) Get a Device by object ID. |
List<XDeviceInfo> |
getDevices(XObjectID userID) Get all Devices owned by the specified User. |
XDeviceInfo |
registerDevice(String deviceName, XDeviceType deviceType, String deviceDeviceID, String deviceAppID, String deviceData, List<XNotificationGroup> deviceSettings) Register or re-register a new or existing Device for the current User. |
void |
removeConversationDeviceSettings(XObjectID conversationID, XObjectID deviceID) Remove an existing Conversation Device override setting. |
void |
updateConversationDeviceSettings(XObjectID conversationID, XObjectID deviceID, List<XNotificationGroup> deviceSettings) Add or update an existing Conversation Device override setting. |
XDeviceInfo |
updateDevice(XObjectID deviceID, String deviceName, XDeviceType deviceType, String deviceDeviceID, String deviceAppID, String deviceData, List<XNotificationGroup> deviceSettings) Update an existing Device. |
XDeviceInfo |
updateDeviceSettings(XObjectID deviceID, List<XNotificationGroup> deviceSettings) Update an existing Device's settings. |
Method Detail |
---|
XDeviceInfo registerDevice(String deviceName, XDeviceType deviceType, String deviceDeviceID, String deviceAppID, String deviceData, List<XNotificationGroup> deviceSettings)
Each Device must have a unique pair of DeviceID/AppID values.
This method will either create a new Device or update an existing device based on matching the DeviceID/AppID pair.
The name is not unique and can be changed at any time.
deviceName
- The Device name.deviceType
- The Device's type.deviceDeviceID
- The Device's Device ID.deviceAppID
- The Device's App ID.deviceData
- The Device data.deviceSettings
- The Device notification settings. May be null.XDeviceInfo createDevice(XObjectID userID, String deviceName, XDeviceType deviceType, String deviceDeviceID, String deviceAppID, String deviceData, List<XNotificationGroup> deviceSettings)
Each Device must have a unique pair of DeviceID/AppID values.
The Device must not already exist based upon matching the DeviceID/AppID pair.
The name is not unique and can be changed at any time.
The current user must either own the Device or be an admin.
userID
- The User.deviceName
- The Device name.deviceType
- The Device's type.deviceDeviceID
- The Device's Device ID.deviceAppID
- The Device's App ID.deviceData
- The Device data.deviceSettings
- The Device notification settings. May be null.XDeviceInfo updateDevice(XObjectID deviceID, String deviceName, XDeviceType deviceType, String deviceDeviceID, String deviceAppID, String deviceData, List<XNotificationGroup> deviceSettings)
The current user must either own the Device or be an admin.
deviceID
- The Device.deviceName
- The Device name.deviceType
- The Device type.deviceDeviceID
- The Device's Device ID.deviceAppID
- The Device's App ID.deviceData
- The Device data.deviceSettings
- The Device notification settings. May be null.XDeviceInfo updateDeviceSettings(XObjectID deviceID, List<XNotificationGroup> deviceSettings)
The current user must either own the Device or be an admin.
deviceID
- The Device.deviceSettings
- The Device notification settings.void deleteDevice(XObjectID deviceID)
The current user must either own the Device or be an admin.
deviceID
- The Device.List<XDeviceInfo> getDevices(XObjectID userID)
The current user must either own the Device or be an admin.
userID
- The User.XDeviceInfo getDevice(XObjectID deviceID)
The current user must either own the Device or be an admin.
deviceID
- The Device object ID.XDeviceInfo findDevice(String deviceDeviceID, String deviceAppID)
The current user must own the Device.
deviceDeviceID
- The Device's Device ID.deviceAppID
- The Device's App ID.void updateConversationDeviceSettings(XObjectID conversationID, XObjectID deviceID, List<XNotificationGroup> deviceSettings)
The current user must either own the Device or be an admin.
conversationID
- The Conversation.deviceID
- The Device.deviceSettings
- The device notification override settings. These settings override the settings specified on the Device itself.void removeConversationDeviceSettings(XObjectID conversationID, XObjectID deviceID)
The current user must either own the Device or be an admin.
conversationID
- The Conversation.deviceID
- The Device.List<XDeviceInfo> getConversationDevices(XObjectID conversationID)
conversationID
- The Conversation.
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |