com.atlassian.confluence.plugin.descriptor.search
Class SearchQueryModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.confluence.plugin.descriptor.search.SearchQueryModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class SearchQueryModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton
 
Constructor Summary
SearchQueryModuleDescriptor()
           
 
Method Summary
 Object getModule()
          Clients should not ask for the module, the actual search query should be instantiated by the QueryFactory
 SearchQuery newQuery(List parameters)
           
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, init, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchQueryModuleDescriptor

public SearchQueryModuleDescriptor()
Method Detail

getModule

public Object getModule()
Clients should not ask for the module, the actual search query should be instantiated by the QueryFactory

Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Returns:
null, all the time

newQuery

public SearchQuery newQuery(List parameters)
                     throws NoSuchMethodException,
                            IllegalAccessException,
                            InvocationTargetException,
                            InstantiationException
Throws:
NoSuchMethodException
IllegalAccessException
InvocationTargetException
InstantiationException


Copyright © 2003-2012 Atlassian. All Rights Reserved.