| Package | Description |
|---|---|
| org.wso2.carbon.device.mgt.common.operation.mgt |
| 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.
|
void |
OperationManager.deleteOperation(int operationId) |
List<Activity> |
OperationManager.getActivitiesUpdatedAfter(long timestamp) |
List<Activity> |
OperationManager.getActivitiesUpdatedAfter(long timestamp,
int limit,
int offset) |
int |
OperationManager.getActivityCountUpdatedAfter(long timestamp) |
Operation |
OperationManager.getNextPendingOperation(DeviceIdentifier deviceId) |
Operation |
OperationManager.getOperation(int operationId) |
Activity |
OperationManager.getOperationByActivityId(String activity) |
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<Operation> |
OperationManager.getOperationUpdatedAfter(long timestamp) |
List<? extends Operation> |
OperationManager.getPendingOperations(DeviceIdentifier deviceId)
Method to retrieve the list of available operations to a device.
|
void |
OperationManager.updateOperation(DeviceIdentifier deviceId,
Operation operation) |
Copyright © 2017 WSO2. All rights reserved.