Package com.i2group.disco.security.spi
Class Permission
java.lang.Object
com.i2group.disco.security.spi.Permission
- All Implemented Interfaces:
IPermission
An implementation of
IPermission
.- Since:
- 13.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.i2group.disco.security.spi.IPermission
IPermission.AccessLevel
-
Method Summary
Modifier and TypeMethodDescriptionstatic IPermission
create
(String dimensionValueId, IPermission.AccessLevel level) Creates and returns anIPermission
object with the specified dimension value and access level.Gets the identifier of the dimension value in the permission.getLevel()
Gets the access level associated with the identified dimension value.
-
Method Details
-
create
Creates and returns anIPermission
object with the specified dimension value and access level.- Parameters:
dimensionValueId
- The identifier of the dimension value for the permission.level
- The access level to associate with the specified dimension value.- Returns:
- See above.
-
getDimensionValueId
Description copied from interface:IPermission
Gets the identifier of the dimension value in the permission.- Specified by:
getDimensionValueId
in interfaceIPermission
- Returns:
- See above.
-
getLevel
Description copied from interface:IPermission
Gets the access level associated with the identified dimension value.- Specified by:
getLevel
in interfaceIPermission
- Returns:
- See above.
-