@SuppressWarnings("unused") public List<String> removeInitiatorDetails(URI initiatorId){
  List<String> result=Lists.newArrayList();
  Initiator initiator=_dbClient.queryObject(Initiator.class,initiatorId);
  if (initiator != null) {
    result.add(ComputeSystemDialogProperties.getMessage("ComputeSystem.removeInitiatorDetails",initiator.getInitiatorPort()));
    List<ExportGroup> exportGroups=ComputeSystemControllerImpl.getExportGroups(_dbClient,initiator.getId(),Lists.newArrayList(initiator));
    for (    ExportGroup export : exportGroups) {
      List<URI> updatedInitiators=StringSetUtil.stringSetToUriList(export.getInitiators());
      if (updatedInitiators.remove(initiatorId)) {
        List<BlockObjectDetails> volumeDetails=getBlockObjectDetails(initiator.getHost(),export.getVolumes());
        result.addAll(getVolumeInitiatorDetails(volumeDetails,false));
      }
    }
  }
  return result;
}

@ SuppressWarnings ( "unused" ) public List < String > removeInitiatorDetails ( URI initiatorId ) { List < String > result = Lists . newArrayList ( ) ; Initiator initiator = _dbClient . queryObject ( Initiator . class , initiatorId ) ; if ( initiator != null ) { result . add ( ComputeSystemDialogProperties . getMessage ( "ComputeSystem.removeInitiatorDetails" , initiator . getInitiatorPort ( ) ) ) ; List < ExportGroup > exportGroups = ComputeSystemControllerImpl . getExportGroups ( _dbClient , initiator . getId ( ) , Lists . newArrayList ( initiator ) ) ; for ( ExportGroup export : exportGroups ) { List < URI > updatedInitiators = StringSetUtil . stringSetToUriList ( export . getInitiators ( ) ) ; if ( updatedInitiators . remove ( initiatorId ) ) { List < BlockObjectDetails > volumeDetails = getBlockObjectDetails ( initiator . getHost ( ) , export . getVolumes ( ) ) ; result . addAll ( getVolumeInitiatorDetails ( volumeDetails , false ) ) ; } } } return result ; }
get details for the removeinitiator method note : in order to maintain backwards compatibility , do not change the signature of this method .
