returnval = (admingrouphome.findByPrimaryKey(new AdminGroupPK(admingroupname, caid))).getAdminGroup();
returnval = (admingrouphome.findByGroupNameAndCAId(admingroupname, caid)).getAdminGroup();
    public AdminGroup getAdminGroup(Admin admin, String admingroupname, int caid){      AdminGroup returnval = null;      try{        returnval = (admingrouphome.findByPrimaryKey(new AdminGroupPK(admingroupname, caid))).getAdminGroup();      }catch(Exception e){          error("Can't get admingroup:"+e.getMessage());      }      return returnval;    } // getAdminGroup