fr.paris.lutece.portal.service.globalmanagement
Class GlobalManagementResourceIdService

java.lang.Object
  extended by fr.paris.lutece.portal.service.rbac.ResourceIdService
      extended by fr.paris.lutece.portal.service.globalmanagement.GlobalManagementResourceIdService

public class GlobalManagementResourceIdService
extends ResourceIdService

RBAC Resource Id Service to allow roles on AdminUser Services


Field Summary
static String PERMISSION_MANAGE_EDITORS
           
 
Constructor Summary
GlobalManagementResourceIdService()
           
 
Method Summary
 ReferenceList getResourceIdList(Locale locale)
          Provide the list of all resources (id - label)
 String getTitle(String strId, Locale locale)
          Provide the title of a resource given its id
 void register()
          Initializes the service
 
Methods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService
getPluginName, setPluginName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMISSION_MANAGE_EDITORS

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

GlobalManagementResourceIdService

public GlobalManagementResourceIdService()
Method Detail

register

public void register()
Initializes the service

Specified by:
register in class ResourceIdService

getResourceIdList

public ReferenceList getResourceIdList(Locale locale)
Provide the list of all resources (id - label)

Specified by:
getResourceIdList in class ResourceIdService
Parameters:
locale - The locale
Returns:
the list of all resources available for restricted access

getTitle

public String getTitle(String strId,
                       Locale locale)
Provide the title of a resource given its id

Specified by:
getTitle in class ResourceIdService
Parameters:
strId - the id of the resource
locale - The locale
Returns:
the title the corresponding label


Copyright © 2014 Mairie de Paris. All Rights Reserved.