};
}
    public boolean existsCertificateProfileInEndEntityProfiles(Admin admin, int certificateprofileid){      String[] availablecertprofiles=null;      boolean exists = false;      try{        Collection result = profiledatahome.findAll();        Iterator i = result.iterator();        while(i.hasNext() && !exists){          availablecertprofiles = ((EndEntityProfileDataLocal) i.next()).getProfile().getValue(EndEntityProfile.AVAILCERTPROFILES, 0).split(EndEntityProfile.SPLITCHAR);          for(int j=0; j < availablecertprofiles.length; j++){            if(Integer.parseInt(availablecertprofiles[j]) == certificateprofileid){              exists=true;              break;            };          }        }      }catch(FinderException e){}      return exists;    }