Adding the remaining interface methods that are required to support the complete set of operation management related tasks

revert-70aa11f8
prabathabey 10 years ago
parent 0d5c80c80b
commit 103a83d425

@ -55,8 +55,9 @@ public interface OperationManager {
*/
public List<Operation> getPendingOperations(DeviceIdentifier deviceId) throws OperationManagementException;
public Operation getPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException;
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException;
public Operation updateOperation(Long operationId, DeviceIdentifier deviceIdentifier,
String payLoad) throws OperationManagementException;
public Operation updateOperation(Long operationId, DeviceIdentifier deviceIdentifier, String payLoad)
throws OperationManagementException;
}

@ -356,7 +356,7 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
}
@Override
public Operation getPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
return null;
}

@ -99,7 +99,7 @@ public class OperationManagerImpl implements OperationManager {
}
@Override
public Operation getPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
return null;
}
@ -118,4 +118,5 @@ public class OperationManagerImpl implements OperationManager {
return simpleOperationDAO;
}
}
}

@ -34,4 +34,6 @@ public interface OperationDAO {
List<Operation> getOperations() throws OperationManagementDAOException;
List<Operation> getOperations(String status) throws OperationManagementDAOException;
}

@ -74,4 +74,9 @@ public class CommandOperationDAOImpl extends AbstractOperationDAO {
return null;
}
@Override
public List<Operation> getOperations(String status) throws OperationManagementDAOException {
return null;
}
}

@ -52,4 +52,9 @@ public class ConfigOperationDAOImpl extends AbstractOperationDAO {
return null;
}
@Override
public List<Operation> getOperations(String status) throws OperationManagementDAOException {
return null;
}
}

@ -46,4 +46,9 @@ public class SimpleOperationDAOImpl extends AbstractOperationDAO {
return null;
}
@Override
public List<Operation> getOperations(String status) throws OperationManagementDAOException {
return null;
}
}

@ -131,7 +131,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
}
@Override
public Operation getPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
return null;
}

Loading…
Cancel
Save