public List<URI> volumeURIs(List<URI> uris,boolean delete,boolean remediate,ValCk... checks){
  List<URI> remediatedURIs=new ArrayList<URI>();
  List<Volume> volumes=dbClient.queryObject(Volume.class,uris);
  List<Volume> remediatedVolumes=volumes(volumes,delete,remediate,checks);
  for (  Volume volume : remediatedVolumes) {
    remediatedURIs.add(volume.getId());
  }
  return remediatedURIs;
}

public List < URI > volumeURIs ( List < URI > uris , boolean delete , boolean remediate , ValCk ... checks ) { List < URI > remediatedURIs = new ArrayList < URI > ( ) ; List < Volume > volumes = dbClient . queryObject ( Volume . class , uris ) ; List < Volume > remediatedVolumes = volumes ( volumes , delete , remediate , checks ) ; for ( Volume volume : remediatedVolumes ) { remediatedURIs . add ( volume . getId ( ) ) ; } return remediatedURIs ; }
validates a list of volumes
