public abstract class ResourceIdService extends Object
| Constructor and Description |
|---|
ResourceIdService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPluginName()
Gets the name of the plugin associated
|
abstract ReferenceList |
getResourceIdList(Locale locale)
Provide the list of all resources (id - label)
|
abstract String |
getTitle(String strId,
Locale locale)
Provide the title of a resource given its id
|
abstract void |
register()
This method should register permissions and resource type
|
void |
setPluginName(String strPluginName)
Sets the name of the plugin associated
|
public abstract void register()
public abstract ReferenceList getResourceIdList(Locale locale)
locale - The localepublic abstract String getTitle(String strId, Locale locale)
locale - The localestrId - the id of the resourcepublic void setPluginName(String strPluginName)
strPluginName - the plugin namepublic String getPluginName()
Copyright © 2020 City of Paris. All rights reserved.