/**
   * @ejb.interface-method
   * @ejb.transaction type="Never"
   */
  public int updateGPSPSHumanPerformerNameSoundex() {
    if (!AttributeFilter.isSoundexEnabled()) return 0;

    try {
      Collection<GPSPSPerformerLocal> c = gpspsPerformerHome.findAll();
      LOG.info("Start updating GPSPS Human Performer Name Soundex codes");
      SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject();
      for (GPSPSPerformerLocal performer : c) {
        ejb.updateGPSPSPerformerNameSoundex(performer);
      }
      LOG.info("Finished updating GPSPS Human Performer Name Soundex codes");
      return c.size();
    } catch (FinderException e) {
      throw new EJBException(e);
    }
  }
  /**
   * @ejb.interface-method
   * @ejb.transaction type="Never"
   */
  public int updateMWLPerformingPhysicianNameSoundex() {
    if (!AttributeFilter.isSoundexEnabled()) return 0;

    try {
      Collection<MWLItemLocal> c = mwlItemHome.findAll();
      LOG.info("Start updating MWL Performing Physician Name Soundex codes");
      SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject();
      for (MWLItemLocal mwlitem : c) {
        ejb.updateMWLPerformingPhysicianNameSoundex(mwlitem);
      }
      LOG.info("Finished updating MWL Performing Physician Name Soundex codes");
      return c.size();
    } catch (FinderException e) {
      throw new EJBException(e);
    }
  }
  /**
   * @ejb.interface-method
   * @ejb.transaction type="Never"
   */
  public int updateRequestingPhysicianNameSoundex() {
    if (!AttributeFilter.isSoundexEnabled()) return 0;

    try {
      Collection<SeriesRequestLocal> c = seriesRequestHome.findAll();
      LOG.info("Start updating Requesting Physician Name Soundex codes");
      SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject();
      for (SeriesRequestLocal seriesRequest : c) {
        ejb.updateRequestingPhysicianNameSoundex(seriesRequest);
      }
      LOG.info("Finished updating Requesting Physician Name Soundex codes");
      return c.size();
    } catch (FinderException e) {
      throw new EJBException(e);
    }
  }
  /**
   * @ejb.interface-method
   * @ejb.transaction type="Never"
   */
  public int updateVerifyingObserverNameSoundex() {
    if (!AttributeFilter.isSoundexEnabled()) return 0;

    try {
      Collection<VerifyingObserverLocal> c = observerHome.findAll();
      LOG.info("Start updating Verifying Observer Name Soundex codes");
      SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject();
      for (VerifyingObserverLocal observer : c) {
        ejb.updateVerifyingObserverNameSoundex(observer);
      }
      LOG.info("Finished updating Verifying Observer Name Soundex codes");
      return c.size();
    } catch (FinderException e) {
      throw new EJBException(e);
    }
  }
  /**
   * @ejb.interface-method
   * @ejb.transaction type="Never"
   */
  public int updatePatientNameSoundex() {
    if (!AttributeFilter.isSoundexEnabled()) return 0;

    try {
      Collection<PatientLocal> c = patHome.findAll();
      LOG.info("Start updating Patient Name Soundex codes");
      SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject();
      for (PatientLocal pat : c) {
        ejb.updatePatientNameSoundex(pat);
      }
      LOG.info("Finished updating Patient Name Soundex codes");
      return c.size();
    } catch (FinderException e) {
      throw new EJBException(e);
    }
  }