fr.paris.lutece.portal.service.portlet
Class PortletResourceIdService

java.lang.Object
  extended by fr.paris.lutece.portal.service.rbac.ResourceIdService
      extended by fr.paris.lutece.portal.service.portlet.PortletResourceIdService

public class PortletResourceIdService
extends ResourceIdService

Resource Id service for RBAC features to control access to portlet


Field Summary
static String PERMISSION_CREATE
           
static String PERMISSION_MANAGE
           
 
Constructor Summary
PortletResourceIdService()
           
 
Method Summary
 ReferenceList getResourceIdList(Locale locale)
          Returns a list of resource ids
 String getTitle(String strPortletTypeId, Locale locale)
          Returns the Title of a given resource
 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_CREATE

public static final String PERMISSION_CREATE
See Also:
Constant Field Values

PERMISSION_MANAGE

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

PortletResourceIdService

public PortletResourceIdService()
Method Detail

register

public void register()
Initializes the service

Specified by:
register in class ResourceIdService

getResourceIdList

public ReferenceList getResourceIdList(Locale locale)
Returns a list of resource ids

Specified by:
getResourceIdList in class ResourceIdService
Parameters:
locale - The current locale
Returns:
A list of resource ids

getTitle

public String getTitle(String strPortletTypeId,
                       Locale locale)
Returns the Title of a given resource

Specified by:
getTitle in class ResourceIdService
Parameters:
strPortletTypeId - The Id of the resource
locale - The current locale
Returns:
The Title of a given resource


Copyright © 2014 Mairie de Paris. All Rights Reserved.