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(QName qName)
          Get the name of the collection containing a parameter definition
 java.lang.String getCollectionNameforQueryDefinition(QName qName)
          Get the name of the collection containing a query
 QueryParameterDefinition getParameterDefinition(QName qName)
          Get a parameter definition
 QueryCollection getQueryCollection(java.lang.String location)
          Get a query collection by name
 CannedQueryDef getQueryDefinition(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(DictionaryService dictionaryService)
           
 void setNamespaceService(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(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(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 QueryParameterDefinition getParameterDefinition(QName qName)
Description copied from interface: QueryRegisterComponent
Get a parameter definition

Specified by:
getParameterDefinition in interface QueryRegisterComponent
Returns:

getCollectionNameforParameterDefinition

public java.lang.String getCollectionNameforParameterDefinition(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(DictionaryService dictionaryService)

setNamespaceService

public void setNamespaceService(NamespacePrefixResolver namespaceService)


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