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