@Override public void restoreSnapshot(BlockSnapshot snapshot,Volume parentVolume,String syncDirection,String taskId){
  BlockOrchestrationController controller=getController(BlockOrchestrationController.class,BlockOrchestrationController.BLOCK_ORCHESTRATION_DEVICE);
  controller.restoreVolume(snapshot.getStorageController(),parentVolume.getPool(),parentVolume.getId(),snapshot.getId(),syncDirection,taskId);
}

@ Override public void restoreSnapshot ( BlockSnapshot snapshot , Volume parentVolume , String syncDirection , String taskId ) { BlockOrchestrationController controller = getController ( BlockOrchestrationController . class , BlockOrchestrationController . BLOCK_ORCHESTRATION_DEVICE ) ; controller . restoreVolume ( snapshot . getStorageController ( ) , parentVolume . getPool ( ) , parentVolume . getId ( ) , snapshot . getId ( ) , syncDirection , taskId ) ; }
restore the passed parent volume from the passed snapshot of that parent volume .
