fr.paris.lutece.portal.service.page
Class PageResourceIdService
java.lang.Object
fr.paris.lutece.portal.service.rbac.ResourceIdService
fr.paris.lutece.portal.service.page.PageResourceIdService
public class PageResourceIdService
- extends ResourceIdService
Resource Id service for RBAC features to control access to portlet
Method Summary |
ReferenceList |
getResourceIdList(java.util.Locale locale)
Returns a list of resource ids |
java.lang.String |
getTitle(java.lang.String strPageId,
java.util.Locale locale)
Returns the Title of a given resource |
void |
register()
Initializes the service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERMISSION_VIEW
public static final java.lang.String PERMISSION_VIEW
- See Also:
- Constant Field Values
PERMISSION_MANAGE
public static final java.lang.String PERMISSION_MANAGE
- See Also:
- Constant Field Values
PageResourceIdService
public PageResourceIdService()
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 Locale
- Returns:
- A list of resource ids
getTitle
public java.lang.String getTitle(java.lang.String strPageId,
java.util.Locale locale)
- Returns the Title of a given resource
- Specified by:
getTitle
in class ResourceIdService
- Parameters:
strPageId
- The Id of the resourcelocale
- the Locale
- Returns:
- The Title of a given resource
Copyright © 2012 Mairie de Paris. All Rights Reserved.