fr.paris.lutece.plugins.profiles.service
Class ProfilesResourceIdService

java.lang.Object
  extended by fr.paris.lutece.portal.service.rbac.ResourceIdService
      extended by fr.paris.lutece.plugins.profiles.service.ProfilesResourceIdService

public class ProfilesResourceIdService
extends fr.paris.lutece.portal.service.rbac.ResourceIdService

Class ProfileResourceIdService


Field Summary
static java.lang.String PERMISSION_CREATE_PROFILE
           
static java.lang.String PERMISSION_DELETE_PROFILE
           
static java.lang.String PERMISSION_MANAGE_RIGHTS_ASSIGNMENT
           
static java.lang.String PERMISSION_MANAGE_ROLES_ASSIGNMENT
           
static java.lang.String PERMISSION_MANAGE_USERS_ASSIGNMENT
           
static java.lang.String PERMISSION_MANAGE_VIEW_ASSIGNMENT
           
static java.lang.String PERMISSION_MANAGE_WORKGROUPS_ASSIGNMENT
           
static java.lang.String PERMISSION_MODIFY_PROFILE
           
 
Constructor Summary
ProfilesResourceIdService()
          Create a new instance of ProfilesResourceIdService
 
Method Summary
 fr.paris.lutece.util.ReferenceList getResourceIdList(java.util.Locale locale)
          Returns a list of profiles resource ids
 java.lang.String getTitle(java.lang.String strProfileKey, 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_CREATE_PROFILE

public static final java.lang.String PERMISSION_CREATE_PROFILE
See Also:
Constant Field Values

PERMISSION_MODIFY_PROFILE

public static final java.lang.String PERMISSION_MODIFY_PROFILE
See Also:
Constant Field Values

PERMISSION_DELETE_PROFILE

public static final java.lang.String PERMISSION_DELETE_PROFILE
See Also:
Constant Field Values

PERMISSION_MANAGE_USERS_ASSIGNMENT

public static final java.lang.String PERMISSION_MANAGE_USERS_ASSIGNMENT
See Also:
Constant Field Values

PERMISSION_MANAGE_RIGHTS_ASSIGNMENT

public static final java.lang.String PERMISSION_MANAGE_RIGHTS_ASSIGNMENT
See Also:
Constant Field Values

PERMISSION_MANAGE_ROLES_ASSIGNMENT

public static final java.lang.String PERMISSION_MANAGE_ROLES_ASSIGNMENT
See Also:
Constant Field Values

PERMISSION_MANAGE_WORKGROUPS_ASSIGNMENT

public static final java.lang.String PERMISSION_MANAGE_WORKGROUPS_ASSIGNMENT
See Also:
Constant Field Values

PERMISSION_MANAGE_VIEW_ASSIGNMENT

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

ProfilesResourceIdService

public ProfilesResourceIdService()
Create a new instance of ProfilesResourceIdService

Method Detail

register

public void register()
Initializes the service

Specified by:
register in class fr.paris.lutece.portal.service.rbac.ResourceIdService

getResourceIdList

public fr.paris.lutece.util.ReferenceList getResourceIdList(java.util.Locale locale)
Returns a list of profiles resource ids

Specified by:
getResourceIdList in class fr.paris.lutece.portal.service.rbac.ResourceIdService
Parameters:
locale - The current locale
Returns:
A list of resource ids

getTitle

public java.lang.String getTitle(java.lang.String strProfileKey,
                                 java.util.Locale locale)
Returns the Title of a given resource

Specified by:
getTitle in class fr.paris.lutece.portal.service.rbac.ResourceIdService
Parameters:
strProfileKey - the profile key
locale - The current locale
Returns:
The Title of a given resource


Copyright © 2011 Mairie de Paris. All Rights Reserved.