private boolean isQueryable( Name primaryType, Set<Name> mixinTypes ) { return predicate == null || predicate.isQueryable(primaryType, mixinTypes); }
/** * Reindex the specific node. * * @param workspaceName the workspace in which the node information should be available; may not be null * @param key the unique key for the node; may not be null * @param path the path of the node; may not be null * @param primaryType the primary type of the node; may not be null * @param mixinTypes the mixin types for the node; may not be null but may be empty * @param properties the properties of the node; may not be null but may be empty * @param queryable true if the node is queryable, false otherwise * @return {@code true} if the reindexing operation took place, or {@code false} if no reindexing was performed because * the {@link #predicate} failed. */ protected final boolean reindex( String workspaceName, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, Properties properties, boolean queryable ) { if (predicate.matchesType(primaryType, mixinTypes)) { reindexNode(workspaceName, key, path, primaryType, mixinTypes, properties, queryable); return true; } return false; }
/** * Reindex the specific node. * * @param workspaceName the workspace in which the node information should be available; may not be null * @param key the unique key for the node; may not be null * @param path the path of the node; may not be null * @param primaryType the primary type of the node; may not be null * @param mixinTypes the mixin types for the node; may not be null but may be empty * @param properties the properties of the node; may not be null but may be empty * @param queryable true if the node is queryable, false otherwise * @return {@code true} if the reindexing operation took place, or {@code false} if no reindexing was performed because * the {@link #predicate} failed. */ protected final boolean reindex( String workspaceName, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, Properties properties, boolean queryable ) { if (predicate.matchesType(primaryType, mixinTypes)) { reindexNode(workspaceName, key, path, primaryType, mixinTypes, properties, queryable); return true; } return false; }
private boolean matchesType( Name primaryType, Set<Name> mixinTypes ) { return predicate == null || predicate.matchesType(primaryType, mixinTypes); }
private boolean matchesType( Name primaryType, Set<Name> mixinTypes ) { return predicate == null || predicate.matchesType(primaryType, mixinTypes); }
@Override public boolean matchesType( Name primaryType, Set<Name> mixinTypes ) { return delegate.matchesType(primaryType, mixinTypes); }
@Override public boolean matchesType( Name primaryType, Set<Name> mixinTypes ) { return delegate.matchesType(primaryType, mixinTypes); }
private boolean isQueryable( Name primaryType, Set<Name> mixinTypes ) { return predicate == null || predicate.isQueryable(primaryType, mixinTypes); }