@Override public Editor getIndexEditor( @NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) throws CommitFailedException { List<Editor> indexes = Lists.newArrayList(); for (IndexEditorProvider provider : providers) { Editor e = provider.getIndexEditor(type, builder, root, callback); if (e != null) { indexes.add(e); } } return CompositeEditor.compose(indexes); } }
@Override public Editor getIndexEditor( @NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) throws CommitFailedException { List<Editor> indexes = Lists.newArrayList(); for (IndexEditorProvider provider : providers) { Editor e = provider.getIndexEditor(type, builder, root, callback); if (e != null) { indexes.add(e); } } return CompositeEditor.compose(indexes); } }
@Override public Editor getIndexEditor( @Nonnull String type, @Nonnull NodeBuilder builder, @Nonnull NodeState root, @Nonnull IndexUpdateCallback callback) throws CommitFailedException { List<Editor> indexes = Lists.newArrayList(); for (IndexEditorProvider provider : providers) { Editor e = provider.getIndexEditor(type, builder, root, callback); if (e != null) { indexes.add(e); } } return CompositeEditor.compose(indexes); } }
@Override public Editor getIndexEditor(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) throws CommitFailedException { IndexEditorProvider composite = CompositeIndexEditorProvider .compose(getServices()); if (composite == null) { return null; } return composite.getIndexEditor(type, builder, root, callback); }
@Override public Editor getIndexEditor(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) throws CommitFailedException { IndexEditorProvider composite = CompositeIndexEditorProvider .compose(getServices()); if (composite == null) { return null; } return composite.getIndexEditor(type, builder, root, callback); }
@Override public Editor getIndexEditor(@Nonnull String type, @Nonnull NodeBuilder builder, @Nonnull NodeState root, @Nonnull IndexUpdateCallback callback) throws CommitFailedException { IndexEditorProvider composite = CompositeIndexEditorProvider .compose(getServices()); if (composite == null) { return null; } return composite.getIndexEditor(type, builder, root, callback); }
@Override public Editor getIndexEditor(@NotNull String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) throws CommitFailedException { Editor e = delegate .getIndexEditor(type, definition, root, callback); if (e != null) { e = new TestEditor(e, listener); } return e; } }
Editor editor = rootState.provider.getIndexEditor(type, definition, rootState.root, rootState.newCallback(indexPath, shouldReindex, getEstimatedCount(definition))); if (editor == null) {
Editor editor = rootState.provider.getIndexEditor(type, definition, rootState.root, rootState.newCallback(indexPath, shouldReindex, getEstimatedCount(definition))); if (editor == null) {
Editor editor = rootState.provider.getIndexEditor(type, definition, rootState.root, rootState.newCallback(indexPath, shouldReindex, getEstimatedCount(definition))); if (editor == null) {