public VNXeCifsShare findCifsShareByName(String shareName){
  CifsShareRequests req=new CifsShareRequests(_khClient);
  List<VNXeCifsShare> shares=req.getCifsShareByName(shareName);
  if (shares != null && !shares.isEmpty()) {
    return shares.get(0);
  }
 else {
    return null;
  }
}

public VNXeCifsShare findCifsShareByName ( String shareName ) { CifsShareRequests req = new CifsShareRequests ( _khClient ) ; List < VNXeCifsShare > shares = req . getCifsShareByName ( shareName ) ; if ( shares != null && ! shares . isEmpty ( ) ) { return shares . get ( 0 ) ; } else { return null ; } }
find cifs share by its name
