Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.virtualnavigation.service
Class NavTreeService

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.virtualnavigation.service.NavTreeService
All Implemented Interfaces:
Adaptable, Component, Extensible

public class NavTreeService
extends DefaultComponent

Very simple component to manage Navigation tree registration

Author:
Thierry Delprat

Nested Class Summary
static class NavTreeService.NavTreeDescriptorOrderComparator
          Comparator of NavTreeDescriptors according to their order..
 
Field Summary
static java.lang.String NAVTREE_EP
           
 
Constructor Summary
NavTreeService()
           
 
Method Summary
 void activate(ComponentContext context)
          Activates the component.
 java.util.List<NavTreeDescriptor> getTreeDescriptors()
           
 void registerContribution(java.lang.Object contribution, java.lang.String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
deactivate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAVTREE_EP

public static java.lang.String NAVTREE_EP
Constructor Detail

NavTreeService

public NavTreeService()
Method Detail

getTreeDescriptors

public java.util.List<NavTreeDescriptor> getTreeDescriptors()

registerContribution

public void registerContribution(java.lang.Object contribution,
                                 java.lang.String extensionPoint,
                                 ComponentInstance contributor)
                          throws java.lang.Exception
Overrides:
registerContribution in class DefaultComponent
Throws:
java.lang.Exception

activate

public void activate(ComponentContext context)
              throws java.lang.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:
java.lang.Exception - if an error occurs during activation

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.