Package org.alfresco.repo.search
Interface QueryCollection
- All Known Implementing Classes:
QueryCollectionImpl
public interface QueryCollection
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsParameterDefinition(QName qName) Does this collection contain a query for the given QName?booleancontainsQueryDefinition(QName qName) Does this collection contain a query for the given QName?getName()The name of the query collectionReturn the mechanism that this query definition uses to map namespace prefixes to URIs.getParameterDefinition(QName qName) Get a query definition by QName.getQueryDefinition(QName qName) Get a query definition by QName.
-
Method Details
-
getName
String getName()The name of the query collection- Returns:
- String
-
containsQueryDefinition
Does this collection contain a query for the given QName?- Parameters:
qName- QName- Returns:
- boolean
-
getQueryDefinition
Get a query definition by QName.- Parameters:
qName- QName- Returns:
- CannedQueryDef
-
containsParameterDefinition
Does this collection contain a query for the given QName?- Parameters:
qName- QName- Returns:
- boolean
-
getParameterDefinition
Get a query definition by QName.- Parameters:
qName- QName- Returns:
- QueryParameterDefinition
-
getNamespacePrefixResolver
NamespacePrefixResolver getNamespacePrefixResolver()Return the mechanism that this query definition uses to map namespace prefixes to URIs. A query may use a predefined set of prefixes for known URIs. I would be unwise to rely on the defaults.- Returns:
- NamespacePrefixResolver
-