private List<CoS> fetchDetailsOfAllBlockCos() throws SOSFailure {
  final String methodName="fetchDetailsOfAllBlockCos(): ";
  log.trace(methodName + "Entry");
  final String BLOCK_COS_DETAIL_URI="/block/vpools/%s";
  List<CoS> blockCosIdList=new ArrayList<CoS>();
  try {
    for (    String cosId : _blockCosIdList) {
      CoS.BlockCoS cos=_client.queryObject(String.format(BLOCK_COS_DETAIL_URI,cosId),CoS.BlockCoS.class);
      if (cos.isInactive() == false && cos.getId() != null) {
        blockCosIdList.add(cos);
        log.trace(methodName + cos);
      }
    }
    log.trace(methodName + "Exit returning cos list of size[" + blockCosIdList.size()+ "]");
    return blockCosIdList;
  }
 catch (  NoSuchAlgorithmException e) {
    log.error(methodName + "NoSuchAlgorithmException occured",e);
    throw new SOSFailure(e);
  }
catch (  UniformInterfaceException e) {
    log.error(methodName + "UniformInterfaceException occured",e);
    throw new SOSFailure(e);
  }
}

private List < CoS > fetchDetailsOfAllBlockCos ( ) throws SOSFailure { final String methodName = "fetchDetailsOfAllBlockCos(): " ; log . trace ( methodName + "Entry" ) ; final String BLOCK_COS_DETAIL_URI = "/block/vpools/%s" ; List < CoS > blockCosIdList = new ArrayList < CoS > ( ) ; try { for ( String cosId : _blockCosIdList ) { CoS . BlockCoS cos = _client . queryObject ( String . format ( BLOCK_COS_DETAIL_URI , cosId ) , CoS . BlockCoS . class ) ; if ( cos . isInactive ( ) == false && cos . getId ( ) != null ) { blockCosIdList . add ( cos ) ; log . trace ( methodName + cos ) ; } } log . trace ( methodName + "Exit returning cos list of size[" + blockCosIdList . size ( ) + "]" ) ; return blockCosIdList ; } catch ( NoSuchAlgorithmException e ) { log . error ( methodName + "NoSuchAlgorithmException occured" , e ) ; throw new SOSFailure ( e ) ; } catch ( UniformInterfaceException e ) { log . error ( methodName + "UniformInterfaceException occured" , e ) ; throw new SOSFailure ( e ) ; } }
returns list of all active block related coses with their details
