public static void validateNoInternalBlockObjects(DbClient dbClient,List<URI> blockObjectURIs,boolean force){
  if (blockObjectURIs != null) {
    for (    URI blockObjectURI : blockObjectURIs) {
      BlockObject blockObject=BlockObject.fetch(dbClient,blockObjectURI);
      BlockServiceUtils.validateNotAnInternalBlockObject(blockObject,force);
    }
  }
}

public static void validateNoInternalBlockObjects ( DbClient dbClient , List < URI > blockObjectURIs , boolean force ) { if ( blockObjectURIs != null ) { for ( URI blockObjectURI : blockObjectURIs ) { BlockObject blockObject = BlockObject . fetch ( dbClient , blockObjectURI ) ; BlockServiceUtils . validateNotAnInternalBlockObject ( blockObject , force ) ; } } }
validate that none of the passed uris represents an internal volume such as , a vplex volume . if so , throw a bad request exception unless the supports_force flag is present and force is true .
