|
||||||||||
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(String strResourceType,
Locale locale)
Gets a localized list of permission for a given resource type |
static ResourceType |
getResourceType(String strId)
Get a particular resource type |
static Collection<ResourceType> |
getResourceTypeList()
Returns all registered resource types |
static void |
registerList(Collection<ResourceType> resourceTypeList)
Registers a collection of resource type |
static void |
registerList(Collection<ResourceType> listResourcesType,
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 Collection<ResourceType> getResourceTypeList()
public static ResourceType getResourceType(String strId)
strId
- Identifier of the seeked resource type
public static void registerList(Collection<ResourceType> resourceTypeList)
resourceTypeList
- The resource type listpublic static void registerList(Collection<ResourceType> listResourcesType, String strPluginName)
listResourcesType
- The resource type liststrPluginName
- The plugin namepublic static ReferenceList getPermissionsList(String strResourceType, Locale locale)
strResourceType
- The resource typelocale
- The Locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |