@Test public void ignore() { UUID me = UUID.randomUUID(); PlayerProfile playerProfile = addProfile(); assertTrue(repository.ignore(me, playerProfile)); assertFalse(repository.ignore(me, playerProfile)); }
public boolean ignore(UUID profile, PlayerProfile target) { try { ebeanServer.save(new IgnoreData(profile, target)); return true; } catch (DuplicateKeyException e) { return false; } }
IgnoreRepository { public boolean ignore(UUID profile, PlayerProfile target) { try { ebeanServer.save(new IgnoreData(profile, target)); return true; } catch (DuplicateKeyException e) { return false; } } }
IgnoreRepository { public boolean ignore(UUID profile, PlayerProfile target) { try { ebeanServer.save(new IgnoreData(profile, target)); return true; } catch (DuplicateKeyException e) { return false; } }  }
IgnoreRepository { public boolean ignore(UUID profile, PlayerProfile target) { try { ebeanServer.save(new IgnoreData(profile, target)); return true; } catch (DuplicateKeyException e) { return false; } }  List<IgnoreHistoryElement> getIgnoreHistory(UUID profile, int page, int max); boolean isIgnoring(UUID profile, String name); boolean ignore(UUID profile, PlayerProfile target); boolean removeIgnore(UUID profile, String name); }
IgnoreRepository { public boolean ignore(UUID profile, PlayerProfile target) { try { ebeanServer.save(new IgnoreData(profile, target)); return true; } catch (DuplicateKeyException e) { return false; } }  List<IgnoreHistoryElement> getIgnoreHistory(UUID profile, int page, int max); boolean isIgnoring(UUID profile, String name); boolean ignore(UUID profile, PlayerProfile target); boolean removeIgnore(UUID profile, String name);  }