AdminEntityPK uepk = createAdminEntityPK(getAdminGroupName(), getCAId(), ue.getMatchWith(), ue.getMatchType(), ue.getMatchValue());
AdminEntityPK uepk = createAdminEntityPK(getAdminGroupName(), getCaId(), ue.getMatchWith(), ue.getMatchType(), ue.getMatchValue());
    public void removeAdminEntities(Collection adminentities) {        Iterator iter = adminentities.iterator();        while (iter.hasNext()) {            AdminEntity adminentity = (AdminEntity) iter.next();            AdminEntityPK datapk = createAdminEntityPK(getAdminGroupName(), getCAId(), adminentity.getMatchWith(), adminentity.getMatchType(), adminentity.getMatchValue());            Iterator i = getAdminEntities().iterator();            while (i.hasNext()) {                AdminEntityDataLocal ue = (AdminEntityDataLocal) i.next();                // TODO use ue.getPrimaryKey() ?                AdminEntityPK uepk = createAdminEntityPK(getAdminGroupName(), getCAId(), ue.getMatchWith(), ue.getMatchType(), ue.getMatchValue());                if (uepk.equals(datapk)) {                    getAdminEntities().remove(ue);                    try {                        ue.remove();                    } catch (RemoveException e) {                        throw new EJBException(e);                    }                    break;                }            }        }    } // removeAdminEntities