@Test void getCapabilities() { assertEquals(of(INDEXABLE, MANAGABLE), indexActionRepositoryDecorator.getCapabilities()); }
@Override public Set<RepositoryCapability> getCapabilities() { Set<RepositoryCapability> capabilities = new HashSet<>(); capabilities.add(RepositoryCapability.INDEXABLE); capabilities.addAll(delegate().getCapabilities()); return capabilities; }
IndexActionRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Set<RepositoryCapability> getCapabilities() { Set<RepositoryCapability> capabilities = new HashSet<>(); capabilities.add(RepositoryCapability.INDEXABLE); capabilities.addAll(delegate().getCapabilities()); return capabilities; } }
IndexActionRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Set<RepositoryCapability> getCapabilities() { Set<RepositoryCapability> capabilities = new HashSet<>(); capabilities.add(RepositoryCapability.INDEXABLE); capabilities.addAll(delegate().getCapabilities()); return capabilities; } IndexActionRepositoryDecorator(
      Repository<Entity> delegateRepository,
      IndexActionRegisterService indexActionRegisterService); }
IndexActionRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Set<RepositoryCapability> getCapabilities() { Set<RepositoryCapability> capabilities = new HashSet<>(); capabilities.add(RepositoryCapability.INDEXABLE); capabilities.addAll(delegate().getCapabilities()); return capabilities; } IndexActionRepositoryDecorator(
      Repository<Entity> delegateRepository,
      IndexActionRegisterService indexActionRegisterService); @Override Set<RepositoryCapability> getCapabilities(); @Override void update(Entity entity); @Override void delete(Entity entity); @Override void deleteById(Object id); @Override void deleteAll(); @Override void add(Entity entity); @Override Integer add(Stream<Entity> entities); @Override void update(Stream<Entity> entities); @Override void delete(Stream<Entity> entities); @Override void deleteAll(Stream<Object> ids); }
IndexActionRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Set<RepositoryCapability> getCapabilities() { Set<RepositoryCapability> capabilities = new HashSet<>(); capabilities.add(RepositoryCapability.INDEXABLE); capabilities.addAll(delegate().getCapabilities()); return capabilities; } IndexActionRepositoryDecorator(
      Repository<Entity> delegateRepository,
      IndexActionRegisterService indexActionRegisterService); @Override Set<RepositoryCapability> getCapabilities(); @Override void update(Entity entity); @Override void delete(Entity entity); @Override void deleteById(Object id); @Override void deleteAll(); @Override void add(Entity entity); @Override Integer add(Stream<Entity> entities); @Override void update(Stream<Entity> entities); @Override void delete(Stream<Entity> entities); @Override void deleteAll(Stream<Object> ids);  }