Uses of Interface
jmri.PermissionValue
-
Packages that use PermissionValue Package Description jmri Provides basic interfaces and certain core implementations for the JMRI layout management concepts.jmri.jmrit.display Provides control panel and associated visible icon classes.jmri.jmrit.permission -
-
Uses of PermissionValue in jmri
Classes in jmri that implement PermissionValue Modifier and Type Class Description static class
BooleanPermission.BooleanValue
Methods in jmri that return PermissionValue Modifier and Type Method Description PermissionValue
Permission. getDefaultPermission()
Get the default permission if the user has no role.PermissionValue
Permission. getDefaultPermission(Role role)
Get the default permission for a role.PermissionValue
Role. getPermissionValue(Permission permission)
default PermissionValue
BooleanPermission. valueOf(java.lang.String value)
PermissionValue
Permission. valueOf(java.lang.String value)
Methods in jmri that return types with arguments of type PermissionValue Modifier and Type Method Description java.util.Map<Permission,PermissionValue>
Role. getPermissions()
Methods in jmri with parameters of type PermissionValue Modifier and Type Method Description default int
BooleanPermission. compare(PermissionValue o1, PermissionValue o2)
boolean
PermissionManager. ensureAtLeastPermission(Permission permission, PermissionValue minValue)
Checks if the current user has the permission.boolean
User. ensureAtLeastPermission(Permission permission, PermissionValue minValue)
Checks if the current user has the permission.default java.lang.String
BooleanPermission. getValue(PermissionValue value)
java.lang.String
Permission. getValue(PermissionValue value)
boolean
PermissionManager. hasAtLeastPermission(Permission permission, PermissionValue minValue)
Has the current user permission?boolean
User. hasAtLeastPermission(Permission permission, PermissionValue minValue)
boolean
PermissionManager. hasAtLeastRemotePermission(java.lang.String sessionId, Permission permission, PermissionValue minValue)
Has the current user of this session permission?void
Role. setPermission(Permission permission, PermissionValue value)
-
Uses of PermissionValue in jmri.jmrit.display
Classes in jmri.jmrit.display that implement PermissionValue Modifier and Type Class Description static class
EditorPermissions.EditorPermissionEnum
Methods in jmri.jmrit.display that return PermissionValue Modifier and Type Method Description PermissionValue
EditorPermissions.EditorPermission. getDefaultPermission()
PermissionValue
EditorPermissions.EditorPermission. getDefaultPermission(Role role)
PermissionValue
EditorPermissions.EditorPermission. valueOf(java.lang.String value)
Methods in jmri.jmrit.display with parameters of type PermissionValue Modifier and Type Method Description int
EditorPermissions.EditorPermission. compare(PermissionValue o1, PermissionValue o2)
java.lang.String
EditorPermissions.EditorPermission. getValue(PermissionValue value)
-
Uses of PermissionValue in jmri.jmrit.permission
Methods in jmri.jmrit.permission that return PermissionValue Modifier and Type Method Description PermissionValue
DefaultRole. getPermissionValue(Permission permission)
Methods in jmri.jmrit.permission that return types with arguments of type PermissionValue Modifier and Type Method Description java.util.Map<Permission,PermissionValue>
DefaultRole. getPermissions()
Methods in jmri.jmrit.permission with parameters of type PermissionValue Modifier and Type Method Description boolean
DefaultPermissionManager. ensureAtLeastPermission(Permission permission, PermissionValue minValue)
boolean
DefaultUser. ensureAtLeastPermission(Permission permission, PermissionValue minValue)
boolean
DefaultPermissionManager. hasAtLeastPermission(Permission permission, PermissionValue minValue)
boolean
DefaultUser. hasAtLeastPermission(Permission permission, PermissionValue minValue)
boolean
DefaultPermissionManager. hasAtLeastRemotePermission(java.lang.String sessionId, Permission permission, PermissionValue minValue)
void
DefaultRole. setPermission(Permission permission, PermissionValue value)
(package private) void
DefaultRole. setPermissionWithoutCheck(Permission permission, PermissionValue value)
-