|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.rbac.ResourceTypeManager
public final class ResourceTypeManager
Manager of the ResourceType. Responsible for (un)registering them.
| Method Summary | |
|---|---|
static ReferenceList |
getPermissionsList(java.lang.String strResourceType,
java.util.Locale locale)
Gets a localized list of permission for a given resource type |
static ResourceType |
getResourceType(java.lang.String strId)
Get a particular resource type |
static java.util.Collection<ResourceType> |
getResourceTypeList()
Returns all registered resource types |
static void |
registerList(java.util.Collection<ResourceType> resourceTypeList)
Registers a collection of resource type |
static void |
registerList(java.util.Collection<ResourceType> listResourcesType,
java.lang.String strPluginName)
Registers a collection of resource type |
static void |
registerResourceType(ResourceType rt)
Registers a new resource type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerResourceType(ResourceType rt)
rt - the resource type to registerpublic static java.util.Collection<ResourceType> getResourceTypeList()
public static ResourceType getResourceType(java.lang.String strId)
strId - Identifier of the seeked resource type
public static void registerList(java.util.Collection<ResourceType> resourceTypeList)
resourceTypeList - The resource type list
public static void registerList(java.util.Collection<ResourceType> listResourcesType,
java.lang.String strPluginName)
listResourcesType - The resource type liststrPluginName - The plugin name
public static ReferenceList getPermissionsList(java.lang.String strResourceType,
java.util.Locale locale)
strResourceType - The resource typelocale - The Locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||