public class BasicQueryLanguageProvider extends Object implements org.apache.sling.spi.resource.provider.QueryLanguageProvider<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState>
Constructor and Description |
---|
BasicQueryLanguageProvider(org.apache.sling.spi.resource.provider.ProviderContext ctx) |
Modifier and Type | Method and Description |
---|---|
Iterator<org.apache.sling.api.resource.Resource> |
findResources(org.apache.sling.spi.resource.provider.ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx,
String query,
String language) |
String[] |
getSupportedLanguages(org.apache.sling.spi.resource.provider.ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx) |
Iterator<org.apache.sling.api.resource.ValueMap> |
queryResources(org.apache.sling.spi.resource.provider.ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx,
String query,
String language) |
public BasicQueryLanguageProvider(org.apache.sling.spi.resource.provider.ProviderContext ctx)
public String[] getSupportedLanguages(org.apache.sling.spi.resource.provider.ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx)
getSupportedLanguages
in interface org.apache.sling.spi.resource.provider.QueryLanguageProvider<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState>
public Iterator<org.apache.sling.api.resource.Resource> findResources(org.apache.sling.spi.resource.provider.ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx, String query, String language)
findResources
in interface org.apache.sling.spi.resource.provider.QueryLanguageProvider<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState>
public Iterator<org.apache.sling.api.resource.ValueMap> queryResources(org.apache.sling.spi.resource.provider.ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx, String query, String language)
queryResources
in interface org.apache.sling.spi.resource.provider.QueryLanguageProvider<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.