Class SearchResourceIdService
- java.lang.Object
-
- fr.paris.lutece.portal.service.rbac.ResourceIdService
-
- fr.paris.lutece.portal.service.search.SearchResourceIdService
-
public class SearchResourceIdService extends ResourceIdService
RBAC Resource Id Service to allow roles on Search Services
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPERMISSION_MANAGE_ADVANCED_PARAMETERS
-
Constructor Summary
Constructors Constructor Description SearchResourceIdService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceListgetResourceIdList(java.util.Locale locale)Provide the list of all resources (id - label)java.lang.StringgetTitle(java.lang.String strId, java.util.Locale locale)Provide the title of a resource given its idvoidregister()This method should register permissions and resource type-
Methods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService
getPluginName, setPluginName
-
-
-
-
Field Detail
-
PERMISSION_MANAGE_ADVANCED_PARAMETERS
public static final java.lang.String PERMISSION_MANAGE_ADVANCED_PARAMETERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
register
public void register()
This method should register permissions and resource type- Specified by:
registerin classResourceIdService
-
getResourceIdList
public ReferenceList getResourceIdList(java.util.Locale locale)
Provide the list of all resources (id - label)- Specified by:
getResourceIdListin classResourceIdService- Parameters:
locale- The locale- Returns:
- the list of all resources available for restricted access
-
getTitle
public java.lang.String getTitle(java.lang.String strId, java.util.Locale locale)Provide the title of a resource given its id- Specified by:
getTitlein classResourceIdService- Parameters:
strId- the id of the resourcelocale- The locale- Returns:
- the title the corresponding label
-
-