public List<VirtualArrayRestRep> findByInitiators(Collection<InitiatorRestRep> initiators,ResourceFilter<VirtualArrayRestRep> filter){
  Set<RelatedResourceRep> virtualArrayRefs=new TreeSet<RelatedResourceRep>(new RelatedResourceComparator());
  for (  InitiatorRestRep initiator : initiators) {
    String port=initiator.getInitiatorPort();
    virtualArrayRefs.addAll(performSearchBy(SearchConstants.INITIATOR_PORT_PARAM,port));
  }
  return getByRefs(virtualArrayRefs,filter);
}

public List < VirtualArrayRestRep > findByInitiators ( Collection < InitiatorRestRep > initiators , ResourceFilter < VirtualArrayRestRep > filter ) { Set < RelatedResourceRep > virtualArrayRefs = new TreeSet < RelatedResourceRep > ( new RelatedResourceComparator ( ) ) ; for ( InitiatorRestRep initiator : initiators ) { String port = initiator . getInitiatorPort ( ) ; virtualArrayRefs . addAll ( performSearchBy ( SearchConstants . INITIATOR_PORT_PARAM , port ) ) ; } return getByRefs ( virtualArrayRefs , filter ) ; }
finds the list of virtual arrays connected to any of the given initiators , optionally filtering the results .
