public class SearchResourceIdService extends ResourceIdService
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_MANAGE_ADVANCED_PARAMETERS |
Constructor and Description |
---|
SearchResourceIdService() |
Modifier and Type | Method and Description |
---|---|
ReferenceList |
getResourceIdList(Locale locale)
Provide the list of all resources (id - label)
|
String |
getTitle(String strId,
Locale locale)
Provide the title of a resource given its id
|
void |
register()
This method should register permissions and resource type
|
getPluginName, setPluginName
public static final String PERMISSION_MANAGE_ADVANCED_PARAMETERS
public void register()
register
in class ResourceIdService
public ReferenceList getResourceIdList(Locale locale)
getResourceIdList
in class ResourceIdService
locale
- The localepublic String getTitle(String strId, Locale locale)
getTitle
in class ResourceIdService
strId
- the id of the resourcelocale
- The localeCopyright © 2020 City of Paris. All rights reserved.