org.nuxeo.ecm.platform.defaultPermissions
Class DefaultPermissionService
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.defaultPermissions.DefaultPermissionService
- All Implemented Interfaces:
- Adaptable, Component, Extensible
public class DefaultPermissionService
- extends DefaultComponent
- Author:
- George Lefter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
DefaultPermissionService
public DefaultPermissionService()
activate
public void activate(ComponentContext context)
throws Exception
- Description copied from interface:
Component
- Activates the component.
This method will be 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 will be 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)
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
getPermissionsForType
public ACL getPermissionsForType(String docType)
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.