| Modifier and Type | Method and Description |
|---|---|
boolean |
DeviceManager.disenrollDevice(DeviceIdentifier deviceId)
Method to disenroll a particular device from CDM.
|
Device |
DeviceManager.getDevice(DeviceIdentifier deviceId)
Method to retrieve metadata of a device corresponding to a particular type that carries a specific identifier.
|
boolean |
DeviceManager.isActive(DeviceIdentifier deviceId)
Method to retrieve the status of a particular device.
|
boolean |
DeviceManager.isClaimable(DeviceIdentifier deviceId) |
boolean |
DeviceManager.isEnrolled(DeviceIdentifier deviceId)
Method to retrieve the status of the registration process of a particular device.
|
boolean |
DeviceManager.setActive(DeviceIdentifier deviceId,
boolean status)
Method to set the status indicating whether a particular device registered within CDM is enabled at a given
moment.
|
boolean |
DeviceManager.setOwnership(DeviceIdentifier deviceId,
String ownershipType)
Method to set the ownership type of a particular device.
|
boolean |
DeviceManager.setStatus(DeviceIdentifier deviceId,
String currentOwner,
EnrolmentInfo.Status status) |
boolean |
DeviceManager.updateDeviceInfo(DeviceIdentifier deviceIdentifier,
Device device)
Method to update device information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ApplicationManager.getApplicationStatus(DeviceIdentifier deviceId,
Application application)
Retrieve the status of an application on a device.
|
void |
ApplicationManager.updateApplicationStatus(DeviceIdentifier deviceId,
Application application,
String status)
Updates the application, install/uninstall status of the a certain application, on a device.
|
| Modifier and Type | Method and Description |
|---|---|
Activity |
ApplicationManager.installApplicationForDevices(Operation operation,
List<DeviceIdentifier> deviceIdentifiers) |
| Modifier and Type | Method and Description |
|---|---|
List<DeviceIdentifier> |
DeviceAuthorizationResult.getAuthorizedDevices() |
List<DeviceIdentifier> |
DeviceAuthorizationResult.getUnauthorizedDevices() |
| Modifier and Type | Method and Description |
|---|---|
void |
DeviceAuthorizationResult.addAuthorizedDevice(DeviceIdentifier deviceIdentifier) |
void |
DeviceAuthorizationResult.addUnauthorizedDevice(DeviceIdentifier deviceIdentifier) |
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier)
This method will check whether the currently logged-in user has the access to the device identified by the given
DeviceIdentifier.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier,
String username)
This method will check whether the given user has the access to the device identified by the given
DeviceIdentifier.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier,
String[] groupPermissions)
This method will check whether the currently logged-in user has the access to the device identified by the given
DeviceIdentifier.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier,
String username,
String[] groupPermissions)
This method will check whether the given user has the access to the device identified by the given
DeviceIdentifier.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers)
This method will check whether the currently logged-in user has the access to the devices identified by the given
DeviceIdentifier list.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers,
String username)
This method will check whether the given user has the access to the devices identified by the given
DeviceIdentifier list.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers,
String[] groupPermissions)
This method will check whether the currently logged-in user has the access to the devices identified by the given
DeviceIdentifier list.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers,
String username,
String[] groupPermissions)
This method will check whether the given user has the access to the devices identified by the given
DeviceIdentifier list.
|
void |
DeviceAuthorizationResult.setAuthorizedDevices(List<DeviceIdentifier> authorizedDevices) |
void |
DeviceAuthorizationResult.setUnauthorizedDevices(List<DeviceIdentifier> unauthorizedDevices) |
| Modifier and Type | Method and Description |
|---|---|
DeviceIdentifier |
DeviceLocation.getDeviceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
DeviceLocation.setDeviceIdentifier(DeviceIdentifier deviceIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NotificationManagementService.addNotification(DeviceIdentifier deviceId,
Notification notification)
Method to add a notification to the database.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceIdentifier |
ActivityStatus.getDeviceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
OperationManager.getNextPendingOperation(DeviceIdentifier deviceId) |
Operation |
OperationManager.getOperationByDeviceAndOperationId(DeviceIdentifier deviceId,
int operationId) |
List<? extends Operation> |
OperationManager.getOperations(DeviceIdentifier deviceId)
Method to retrieve the list of all operations to a device.
|
PaginationResult |
OperationManager.getOperations(DeviceIdentifier deviceId,
PaginationRequest request)
Method to retrieve all the operations applied to a device with pagination support.
|
List<? extends Operation> |
OperationManager.getOperationsByDeviceAndStatus(DeviceIdentifier identifier,
Operation.Status status) |
List<? extends Operation> |
OperationManager.getPendingOperations(DeviceIdentifier deviceId)
Method to retrieve the list of available operations to a device.
|
void |
ActivityStatus.setDeviceIdentifier(DeviceIdentifier deviceIdentifier) |
void |
OperationManager.updateOperation(DeviceIdentifier deviceId,
Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
Activity |
OperationManager.addOperation(Operation operation,
List<DeviceIdentifier> devices)
Method to add a operation to a device or a set of devices.
|
| Modifier and Type | Method and Description |
|---|---|
NonComplianceData |
PolicyMonitoringManager.checkPolicyCompliance(DeviceIdentifier deviceIdentifier,
Policy policy,
Object response) |
| Modifier and Type | Method and Description |
|---|---|
DeviceIdentifier |
NotificationContext.getDeviceId() |
| Constructor and Description |
|---|
NotificationContext(DeviceIdentifier deviceId) |
NotificationContext(DeviceIdentifier deviceId,
Operation operation) |
Copyright © 2017 WSO2. All rights reserved.