Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.search
Class SearchUIConfigService

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.webapp.search.SearchUIConfigService
All Implemented Interfaces:
Adaptable, Component, Extensible

public class SearchUIConfigService
extends DefaultComponent

Author:
George Lefter

Field Summary
static String AVAILABLE_RESULT_COLUMNS
           
static String AVAILABLE_SEARCH_COLUMNS
           
static ComponentName NAME
           
 
Constructor Summary
SearchUIConfigService()
           
 
Method Summary
 void activate(ComponentContext context)
          Activates the component.
 void deactivate(ComponentContext context)
          Deactivates the component.
 List<FieldGroupDescriptor> getFieldGroups(String configName)
           
 List<FieldDescriptor> getResultColumns(String name)
           
 void registerConfig(Extension extension)
           
 void registerExtension(Extension extension)
          Registers the given extension.
 void registerResultColumnGroup(Extension extension)
           
 void unregisterExtension(Extension extension)
          Unregisters the given extension.
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
applicationStarted, getAdapter, registerContribution, unregisterContribution
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final ComponentName NAME

AVAILABLE_SEARCH_COLUMNS

public static final String AVAILABLE_SEARCH_COLUMNS
See Also:
Constant Field Values

AVAILABLE_RESULT_COLUMNS

public static final String AVAILABLE_RESULT_COLUMNS
See Also:
Constant Field Values
Constructor Detail

SearchUIConfigService

public SearchUIConfigService()
Method Detail

activate

public void activate(ComponentContext context)
              throws Exception
Description copied from interface: Component
Activates the component.

This method is called by the runtime when a component is activated.

Specified by:
activate in interface Component
Overrides:
activate in class DefaultComponent
Parameters:
context - the runtime context
Throws:
Exception - if an error occurs during activation

deactivate

public void deactivate(ComponentContext context)
                throws Exception
Description copied from interface: Component
Deactivates the component.

This method is called by the runtime when a component is deactivated.

Specified by:
deactivate in interface Component
Overrides:
deactivate in class DefaultComponent
Parameters:
context - the runtime context
Throws:
Exception - if an error occurs during activation

registerExtension

public void registerExtension(Extension extension)
                       throws Exception
Description copied from interface: Extensible
Registers the given extension.

Specified by:
registerExtension in interface Extensible
Overrides:
registerExtension in class DefaultComponent
Parameters:
extension - the extension to register
Throws:
Exception - if any error occurs

registerConfig

public void registerConfig(Extension extension)

registerResultColumnGroup

public void registerResultColumnGroup(Extension extension)

unregisterExtension

public void unregisterExtension(Extension extension)
                         throws Exception
Description copied from interface: Extensible
Unregisters the given extension.

Specified by:
unregisterExtension in interface Extensible
Overrides:
unregisterExtension in class DefaultComponent
Parameters:
extension - the extension to unregister
Throws:
Exception - if any error occurs

getFieldGroups

public List<FieldGroupDescriptor> getFieldGroups(String configName)

getResultColumns

public List<FieldDescriptor> getResultColumns(String name)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.