public class QueryCollectionImpl extends Object implements QueryCollection
Constructor and Description |
---|
QueryCollectionImpl(String name,
Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.search.QueryParameterDefinition> parameters,
org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsParameterDefinition(org.alfresco.service.namespace.QName qName)
Does this collection contain a query for the given QName?
|
boolean |
containsQueryDefinition(org.alfresco.service.namespace.QName qName)
Does this collection contain a query for the given QName?
|
static QueryCollection |
createQueryCollection(org.dom4j.Element element,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.service.namespace.NamespacePrefixResolver nspr) |
String |
getName()
The name of the query collection
|
org.alfresco.service.namespace.NamespacePrefixResolver |
getNamespacePrefixResolver()
Return the mechanism that this query definition uses to map namespace prefixes to URIs.
|
org.alfresco.service.cmr.search.QueryParameterDefinition |
getParameterDefinition(org.alfresco.service.namespace.QName qName)
Get a query definition by QName.
|
CannedQueryDef |
getQueryDefinition(org.alfresco.service.namespace.QName qName)
Get a query definition by QName.
|
public String getName()
QueryCollection
getName
in interface QueryCollection
public boolean containsQueryDefinition(org.alfresco.service.namespace.QName qName)
QueryCollection
containsQueryDefinition
in interface QueryCollection
qName
- QNamepublic CannedQueryDef getQueryDefinition(org.alfresco.service.namespace.QName qName)
QueryCollection
getQueryDefinition
in interface QueryCollection
qName
- QNamepublic boolean containsParameterDefinition(org.alfresco.service.namespace.QName qName)
QueryCollection
containsParameterDefinition
in interface QueryCollection
qName
- QNamepublic org.alfresco.service.cmr.search.QueryParameterDefinition getParameterDefinition(org.alfresco.service.namespace.QName qName)
QueryCollection
getParameterDefinition
in interface QueryCollection
qName
- QNamepublic org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
QueryCollection
getNamespacePrefixResolver
in interface QueryCollection
public static QueryCollection createQueryCollection(org.dom4j.Element element, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService, org.alfresco.service.namespace.NamespacePrefixResolver nspr)
Copyright © 2005–2017 Alfresco Software. All rights reserved.