org.alfresco.repo.search
Class QueryRegisterComponentImpl

java.lang.Object
  extended by org.alfresco.repo.search.QueryRegisterComponentImpl
All Implemented Interfaces:
QueryRegisterComponent

public class QueryRegisterComponentImpl
extends java.lang.Object
implements QueryRegisterComponent


Constructor Summary
QueryRegisterComponentImpl()
           
 
Method Summary
 java.lang.String getCollectionNameforParameterDefinition(org.alfresco.service.namespace.QName qName)
          Get the name of the collection containing a parameter definition
 java.lang.String getCollectionNameforQueryDefinition(org.alfresco.service.namespace.QName qName)
          Get the name of the collection containing a query
 org.alfresco.service.cmr.search.QueryParameterDefinition getParameterDefinition(org.alfresco.service.namespace.QName qName)
          Get a parameter definition
 QueryCollection getQueryCollection(java.lang.String location)
          Get a query collection by name
 CannedQueryDef getQueryDefinition(org.alfresco.service.namespace.QName qName)
          Get a query defintion by Qname
 void loadQueryCollection(java.lang.String location)
          Load a query collection
 void setCollections(java.util.List collections)
           
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 void setNamespaceService(org.alfresco.service.namespace.NamespacePrefixResolver namespaceService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRegisterComponentImpl

public QueryRegisterComponentImpl()
Method Detail

getQueryDefinition

public CannedQueryDef getQueryDefinition(org.alfresco.service.namespace.QName qName)
Description copied from interface: QueryRegisterComponent
Get a query defintion by Qname

Specified by:
getQueryDefinition in interface QueryRegisterComponent
Returns:

getCollectionNameforQueryDefinition

public java.lang.String getCollectionNameforQueryDefinition(org.alfresco.service.namespace.QName qName)
Description copied from interface: QueryRegisterComponent
Get the name of the collection containing a query

Specified by:
getCollectionNameforQueryDefinition in interface QueryRegisterComponent
Returns:

getParameterDefinition

public org.alfresco.service.cmr.search.QueryParameterDefinition getParameterDefinition(org.alfresco.service.namespace.QName qName)
Description copied from interface: QueryRegisterComponent
Get a parameter definition

Specified by:
getParameterDefinition in interface QueryRegisterComponent
Returns:

getCollectionNameforParameterDefinition

public java.lang.String getCollectionNameforParameterDefinition(org.alfresco.service.namespace.QName qName)
Description copied from interface: QueryRegisterComponent
Get the name of the collection containing a parameter definition

Specified by:
getCollectionNameforParameterDefinition in interface QueryRegisterComponent
Returns:

getQueryCollection

public QueryCollection getQueryCollection(java.lang.String location)
Description copied from interface: QueryRegisterComponent
Get a query collection by name

Specified by:
getQueryCollection in interface QueryRegisterComponent
Returns:

loadQueryCollection

public void loadQueryCollection(java.lang.String location)
Description copied from interface: QueryRegisterComponent
Load a query collection

Specified by:
loadQueryCollection in interface QueryRegisterComponent

setCollections

public void setCollections(java.util.List collections)

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespacePrefixResolver namespaceService)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.