Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.security
Class UIPermissionService

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

Deprecated. use the PermissionProvider that is part of the core SecurityService instead

@Deprecated
public class UIPermissionService
extends DefaultComponent

A service that provided the UI visible permissions for different document types.

Author:
George Lefter

Field Summary
static java.lang.String NAME
          Deprecated.  
 
Constructor Summary
UIPermissionService()
          Deprecated.  
 
Method Summary
 java.lang.String[] getUIPermissions(java.lang.String documentType)
          Deprecated. Retrieves the visible permissions for a document type.
 void registerContribution(java.lang.Object contribution, java.lang.String extensionPoint, ComponentInstance contributor)
          Deprecated.  
 void unregisterContribution(java.lang.Object contribution, java.lang.String extensionPoint, ComponentInstance contributor)
          Deprecated.  
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, deactivate, getAdapter, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

UIPermissionService

public UIPermissionService()
Deprecated. 
Method Detail

registerContribution

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

unregisterContribution

public void unregisterContribution(java.lang.Object contribution,
                                   java.lang.String extensionPoint,
                                   ComponentInstance contributor)
Deprecated. 
Overrides:
unregisterContribution in class DefaultComponent

getUIPermissions

public java.lang.String[] getUIPermissions(java.lang.String documentType)
Deprecated. 
Retrieves the visible permissions for a document type.

Parameters:
documentType - the type of document for which to retrieve permissions, or null to retrieve the default permissions
Returns:
the list of permissions for the specified document type

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.