|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getPluginName()
Gets the name of the plugin associated |
abstract ReferenceList |
getResourceIdList(java.util.Locale locale)
Provide the list of all resources (id - label) |
abstract java.lang.String |
getTitle(java.lang.String strId,
java.util.Locale locale)
Provide the title of a resource given its id |
abstract void |
register()
This method should register permissions and resource type |
void |
setPluginName(java.lang.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(java.util.Locale locale)
public abstract java.lang.String getTitle(java.lang.String strId,
java.util.Locale locale)
strId - the id of the resource
public void setPluginName(java.lang.String strPluginName)
strPluginName - the plugin namepublic java.lang.String getPluginName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||