(admingrouphome.findByPrimaryKey(new AdminGroupPK(admingroupname, caid))).removeAccessRules(accessrules);
(admingrouphome.findByGroupNameAndCAId(admingroupname, caid)).removeAccessRules(accessrules);
    public void removeAccessRules(Admin admin, String admingroupname, int caid, Collection accessrules){      if(!(admingroupname.equals(DEFAULTGROUPNAME) && caid == ILogSessionLocal.INTERNALCAID)){       try{         (admingrouphome.findByPrimaryKey(new AdminGroupPK(admingroupname, caid))).removeAccessRules(accessrules);         signalForAuthorizationTreeUpdate();         logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES,"Removed accessrules from admingroup : " + admingroupname );        }catch(Exception e){          logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES,"Error removing accessrules from admingroup : " + admingroupname );        }      }     } // removeAccessRules