public class PageResourceIdService extends ResourceIdService
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_MANAGE |
static String |
PERMISSION_VIEW |
Constructor and Description |
---|
PageResourceIdService() |
Modifier and Type | Method and Description |
---|---|
ReferenceList |
getResourceIdList(Locale locale)
Returns a list of resource ids
|
String |
getTitle(String strPageId,
Locale locale)
Returns the Title of a given resource
|
void |
register()
Initializes the service
|
getPluginName, setPluginName
public static final String PERMISSION_VIEW
public static final String PERMISSION_MANAGE
public void register()
register
in class ResourceIdService
public ReferenceList getResourceIdList(Locale locale)
getResourceIdList
in class ResourceIdService
locale
- the Localepublic String getTitle(String strPageId, Locale locale)
getTitle
in class ResourceIdService
strPageId
- The Id of the resourcelocale
- the LocaleCopyright © 2020 City of Paris. All rights reserved.