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; 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 * @param deviceId DeviceIdentifier of the device
* @throws OperationManagementException If some unusual behaviour is observed while fetching the * @throws OperationManagementException If some unusual behaviour is observed while fetching the
@ -44,4 +44,14 @@ public interface OperationManager {
public List<Operation> getOperations(DeviceIdentifier deviceId) public List<Operation> getOperations(DeviceIdentifier deviceId)
throws OperationManagementException; 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> </file>
<!-- Copying H2 database related files corresponding to default Mobile Device management repository schema --> <!-- Copying H2 database related files corresponding to default Mobile Device management repository schema -->
<file> <!-- <file>
<source> <source>
../distribution/src/repository/database/WSO2MobileDM_DB.h2.db ../distribution/src/repository/database/WSO2MobileDM_DB.h2.db
</source> </source>
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory> <outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
<destName>WSO2MobileDM_DB.h2.db</destName> <destName>WSO2MobileDM_DB.h2.db</destName>
<fileMode>644</fileMode> <fileMode>644</fileMode>
</file> </file> -->
</files> </files>
</assembly> </assembly>

Loading…
Cancel
Save