org.nuxeo.ecm.platform.annotations.configuration.service
Class WebAnnotationConfigurationServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.annotations.configuration.service.WebAnnotationConfigurationServiceImpl
- All Implemented Interfaces:
- WebAnnotationConfigurationService, Adaptable, Component, Extensible
public class WebAnnotationConfigurationServiceImpl
- extends DefaultComponent
- implements WebAnnotationConfigurationService
- Author:
- Thomas Roger, Quentin Lamerand
WebAnnotationConfigurationServiceImpl
public WebAnnotationConfigurationServiceImpl()
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
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
throws Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
Exception
unregisterContribution
public void unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
throws Exception
- Overrides:
unregisterContribution
in class DefaultComponent
- Throws:
Exception
getAllWebAnnotationDefinitions
public List<WebAnnotationDefinitionDescriptor> getAllWebAnnotationDefinitions()
- Specified by:
getAllWebAnnotationDefinitions
in interface WebAnnotationConfigurationService
getEnabledWebAnnotationDefinitions
public List<WebAnnotationDefinitionDescriptor> getEnabledWebAnnotationDefinitions()
- Specified by:
getEnabledWebAnnotationDefinitions
in interface WebAnnotationConfigurationService
getUserInfoMapper
public UserInfoMapper getUserInfoMapper()
- Specified by:
getUserInfoMapper
in interface WebAnnotationConfigurationService
getWebPermission
public WebPermission getWebPermission()
- Specified by:
getWebPermission
in interface WebAnnotationConfigurationService
getFilterDefinitions
public Map<String,FilterDescriptor> getFilterDefinitions()
- Specified by:
getFilterDefinitions
in interface WebAnnotationConfigurationService
getDisplayedFields
public Set<String> getDisplayedFields()
- Specified by:
getDisplayedFields
in interface WebAnnotationConfigurationService
getFieldLabels
public Map<String,String> getFieldLabels()
- Specified by:
getFieldLabels
in interface WebAnnotationConfigurationService
Copyright © 2011 Nuxeo SAS. All Rights Reserved.