private String constructDeleteWWNQuery(String systemId,String hsdId,List<String> wwnList,String model){
  Map<String,Object> attributeMap=new HashMap<String,Object>();
  StorageArray array=new StorageArray(systemId);
  Delete deleteOp=new Delete(HDSConstants.ADD_WWN_TO_HSD_TARGET);
  attributeMap.put(HDSConstants.STORAGEARRAY,array);
  attributeMap.put(HDSConstants.DELETE,deleteOp);
  attributeMap.put(HDSConstants.MODEL,model);
  HostStorageDomain hsd=new HostStorageDomain(hsdId);
  attributeMap.put(HDSConstants.HOST_STORAGE_DOMAIN,hsd);
  List<WorldWideName> wwnObjList=new ArrayList<WorldWideName>();
  if (null != wwnList && !wwnList.isEmpty()) {
    for (    String initiatorWWN : wwnList) {
      WorldWideName wwn=new WorldWideName(initiatorWWN);
      wwnObjList.add(wwn);
    }
  }
  attributeMap.put(HDSConstants.WWN_LIST,wwnObjList);
  String deleteWWNFromHSDQuery=InputXMLGenerationClient.getInputXMLString(HDSConstants.DELETE_WWN_FROM_HSD_OP,attributeMap,HDSConstants.HITACHI_INPUT_XML_CONTEXT_FILE,HDSConstants.HITACHI_SMOOKS_CONFIG_FILE);
  return deleteWWNFromHSDQuery;
}

private String constructDeleteWWNQuery ( String systemId , String hsdId , List < String > wwnList , String model ) { Map < String , Object > attributeMap = new HashMap < String , Object > ( ) ; StorageArray array = new StorageArray ( systemId ) ; Delete deleteOp = new Delete ( HDSConstants . ADD_WWN_TO_HSD_TARGET ) ; attributeMap . put ( HDSConstants . STORAGEARRAY , array ) ; attributeMap . put ( HDSConstants . DELETE , deleteOp ) ; attributeMap . put ( HDSConstants . MODEL , model ) ; HostStorageDomain hsd = new HostStorageDomain ( hsdId ) ; attributeMap . put ( HDSConstants . HOST_STORAGE_DOMAIN , hsd ) ; List < WorldWideName > wwnObjList = new ArrayList < WorldWideName > ( ) ; if ( null != wwnList && ! wwnList . isEmpty ( ) ) { for ( String initiatorWWN : wwnList ) { WorldWideName wwn = new WorldWideName ( initiatorWWN ) ; wwnObjList . add ( wwn ) ; } } attributeMap . put ( HDSConstants . WWN_LIST , wwnObjList ) ; String deleteWWNFromHSDQuery = InputXMLGenerationClient . getInputXMLString ( HDSConstants . DELETE_WWN_FROM_HSD_OP , attributeMap , HDSConstants . HITACHI_INPUT_XML_CONTEXT_FILE , HDSConstants . HITACHI_SMOOKS_CONFIG_FILE ) ; return deleteWWNFromHSDQuery ; }
construct the wwn query by adding multiple wwns . this query should be used to add fc initiators to the fc hsd .
