|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.rbac.ResourceIdService
public abstract class ResourceIdService
This class gives the methods to implement in order to allow the restitution of the ids and labels for a given resource type.
Constructor Summary | |
---|---|
ResourceIdService()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceIdService()
Method Detail |
---|
public abstract void register()
public abstract ReferenceList getResourceIdList(Locale locale)
locale
- The locale
public abstract String getTitle(String strId, Locale locale)
locale
- The localestrId
- the id of the resource
public void setPluginName(String strPluginName)
strPluginName
- the plugin namepublic String getPluginName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |