public static BlockSnapshotSession querySnapshotSession(URI snapSessionURI,UriInfo uriInfo,DbClient dbClient,boolean checkInactive){
  ArgValidator.checkUri(snapSessionURI);
  BlockSnapshotSession snapSession=dbClient.queryObject(BlockSnapshotSession.class,snapSessionURI);
  ArgValidator.checkEntity(snapSession,snapSessionURI,BlockServiceUtils.isIdEmbeddedInURL(snapSessionURI,uriInfo),checkInactive);
  return snapSession;
}

public static BlockSnapshotSession querySnapshotSession ( URI snapSessionURI , UriInfo uriInfo , DbClient dbClient , boolean checkInactive ) { ArgValidator . checkUri ( snapSessionURI ) ; BlockSnapshotSession snapSession = dbClient . queryObject ( BlockSnapshotSession . class , snapSessionURI ) ; ArgValidator . checkEntity ( snapSession , snapSessionURI , BlockServiceUtils . isIdEmbeddedInURL ( snapSessionURI , uriInfo ) , checkInactive ) ; return snapSession ; }
validates and returns the blocksnapshotsession instance with the passed uri .
