Added a new operation to the operation manager

merge-requests/7/head
harshanL 10 years ago
parent 25ab5f1fdc
commit 793786f020

@ -35,7 +35,7 @@ public interface OperationManager {
throws OperationManagementException;
/**
* Method to retrieve the list of available operations to a device.
* Method to retrieve the list of all operations to a device.
*
* @param deviceId DeviceIdentifier of the device
* @throws OperationManagementException If some unusual behaviour is observed while fetching the
@ -44,4 +44,14 @@ public interface OperationManager {
public List<Operation> getOperations(DeviceIdentifier deviceId)
throws OperationManagementException;
/**
* Method to retrieve the list of available operations to a device.
*
* @param deviceId DeviceIdentifier of the device
* @throws OperationManagementException If some unusual behaviour is observed while fetching the
* operation list.
*/
public List<Operation> getPendingOperations(DeviceIdentifier deviceId)
throws OperationManagementException;
}

@ -463,14 +463,14 @@
</file>
<!-- Copying H2 database related files corresponding to default Mobile Device management repository schema -->
<file>
<!-- <file>
<source>
../distribution/src/repository/database/WSO2MobileDM_DB.h2.db
</source>
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
<destName>WSO2MobileDM_DB.h2.db</destName>
<fileMode>644</fileMode>
</file>
</file> -->
</files>
</assembly>

Loading…
Cancel
Save