public static void verifyVolumeDependencies(List<URI> volumeIds,URI projectId){
  List<URI> allBlockResources=Lists.newArrayList(volumeIds);
  for (  URI volumeId : volumeIds) {
    BlockObjectRestRep volume=getVolume(volumeId);
    allBlockResources.addAll(getSrdfTargetVolumes(volume));
    allBlockResources.addAll(getRpTargetVolumes(volume));
  }
  execute(new VerifyVolumeDependencies(allBlockResources,projectId));
}

public static void verifyVolumeDependencies ( List < URI > volumeIds , URI projectId ) { List < URI > allBlockResources = Lists . newArrayList ( volumeIds ) ; for ( URI volumeId : volumeIds ) { BlockObjectRestRep volume = getVolume ( volumeId ) ; allBlockResources . addAll ( getSrdfTargetVolumes ( volume ) ) ; allBlockResources . addAll ( getRpTargetVolumes ( volume ) ) ; } execute ( new VerifyVolumeDependencies ( allBlockResources , projectId ) ) ; }
verify that list of volume doesn ' t contain any dependencies ( snapshot , full copies , continuous copy )
