@Test void testDeleteById() { pluginSecurityRepositoryDecorator.deleteById("plugin0"); verify(mutableAclService).deleteAcl(new PluginIdentity("plugin0"), true); verify(delegateRepository).deleteById("plugin0"); }
@Override public void deleteById(Object pluginId) { deleteAcl(pluginId.toString()); super.deleteById(pluginId); }
PluginSecurityRepositoryDecorator extends AbstractRepositoryDecorator<Plugin> { @Override public void deleteById(Object pluginId) { deleteAcl(pluginId.toString()); super.deleteById(pluginId); } }
PluginSecurityRepositoryDecorator extends AbstractRepositoryDecorator<Plugin> { @Override public void deleteById(Object pluginId) { deleteAcl(pluginId.toString()); super.deleteById(pluginId); } PluginSecurityRepositoryDecorator(
      Repository<Plugin> delegateRepository, MutableAclService mutableAclService); }
PluginSecurityRepositoryDecorator extends AbstractRepositoryDecorator<Plugin> { @Override public void deleteById(Object pluginId) { deleteAcl(pluginId.toString()); super.deleteById(pluginId); } PluginSecurityRepositoryDecorator(
      Repository<Plugin> delegateRepository, MutableAclService mutableAclService); @Override void add(Plugin plugin); @Override Integer add(Stream<Plugin> pluginStream); @Override void delete(Plugin plugin); @Override void deleteById(Object pluginId); @Override void deleteAll(); @Override void delete(Stream<Plugin> pluginStream); @Override void deleteAll(Stream<Object> ids); }
PluginSecurityRepositoryDecorator extends AbstractRepositoryDecorator<Plugin> { @Override public void deleteById(Object pluginId) { deleteAcl(pluginId.toString()); super.deleteById(pluginId); } PluginSecurityRepositoryDecorator(
      Repository<Plugin> delegateRepository, MutableAclService mutableAclService); @Override void add(Plugin plugin); @Override Integer add(Stream<Plugin> pluginStream); @Override void delete(Plugin plugin); @Override void deleteById(Object pluginId); @Override void deleteAll(); @Override void delete(Stream<Plugin> pluginStream); @Override void deleteAll(Stream<Object> ids);  }