fr.paris.lutece.portal.service.insert
Class InsertResourceIdService

java.lang.Object
  extended by fr.paris.lutece.portal.service.rbac.ResourceIdService
      extended by fr.paris.lutece.portal.service.insert.InsertResourceIdService

public class InsertResourceIdService
extends ResourceIdService

RBAC Resource Id Service to alloaw roles on Insert Services


Field Summary
static java.lang.String PERMISSION_USE
           
 
Constructor Summary
InsertResourceIdService()
           
 
Method Summary
 ReferenceList getResourceIdList(java.util.Locale locale)
          Returns a list of resource ids
 java.lang.String getTitle(java.lang.String strInsertServiceId, java.util.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_USE

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

InsertResourceIdService

public InsertResourceIdService()
Method Detail

register

public void register()
Initializes the service

Specified by:
register in class ResourceIdService

getResourceIdList

public ReferenceList getResourceIdList(java.util.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 java.lang.String getTitle(java.lang.String strInsertServiceId,
                                 java.util.Locale locale)
Returns the Title of a given resource

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.