private void updateDeviceDataMapInExportMask(ExportMask exportMask,HostStorageDomain hsd,StorageSystem storage,StringSetMap deviceDataMapEntries){
  List<String> storagePorts=Arrays.asList(hsd.getPortID());
  StringSet hsdTargetPortValues=new StringSet();
  List<String> storagePortURIs=getStoragePortURIs(storagePorts,storage);
  hsdTargetPortValues.addAll(storagePortURIs);
  deviceDataMapEntries.put(hsd.getObjectID(),hsdTargetPortValues);
}

private void updateDeviceDataMapInExportMask ( ExportMask exportMask , HostStorageDomain hsd , StorageSystem storage , StringSetMap deviceDataMapEntries ) { List < String > storagePorts = Arrays . asList ( hsd . getPortID ( ) ) ; StringSet hsdTargetPortValues = new StringSet ( ) ; List < String > storagePortURIs = getStoragePortURIs ( storagePorts , storage ) ; hsdTargetPortValues . addAll ( storagePortURIs ) ; deviceDataMapEntries . put ( hsd . getObjectID ( ) , hsdTargetPortValues ) ; }
updates the devicedatamap in the exportmask for all hsd ' s .
