Uses of Interface
jmri.Permission
-
Packages that use Permission Package Description jmri Provides basic interfaces and certain core implementations for the JMRI layout management concepts.jmri.configurexml Provides an XML-based mechanism for storing and restoring configurations.jmri.jmrit.display Provides control panel and associated visible icon classes.jmri.jmrit.display.swing jmri.jmrit.permission jmri.swing Provides small Swing-based tool and utility classes for JMRI basic forms. -
-
Uses of Permission in jmri
Subinterfaces of Permission in jmri Modifier and Type Interface Description interface
BooleanPermission
Defines a permission based on a boolean.interface
EnumPermission<E extends java.lang.Enum<?>>
Defines a permission based on an enum.Classes in jmri that implement Permission Modifier and Type Class Description static class
PermissionsSystemAdmin.PermissionEditOwnPassword
static class
PermissionsSystemAdmin.PermissionEditPermissions
static class
PermissionsSystemAdmin.PermissionEditPreferences
Fields in jmri declared as Permission Modifier and Type Field Description static Permission
PermissionsSystemAdmin. PERMISSION_EDIT_OWN_PASSWORD
static Permission
PermissionsSystemAdmin. PERMISSION_EDIT_PERMISSIONS
static Permission
PermissionsSystemAdmin. PERMISSION_EDIT_PREFERENCES
Methods in jmri that return types with arguments of type Permission Modifier and Type Method Description java.util.Map<Permission,PermissionValue>
Role. getPermissions()
Methods in jmri with parameters of type Permission Modifier and Type Method Description 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.PermissionValue
Role. getPermissionValue(Permission permission)
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
PermissionManager. registerPermission(Permission permission)
Register a permission.void
Role. setPermission(Permission permission, PermissionValue value)
-
Uses of Permission in jmri.configurexml
Classes in jmri.configurexml that implement Permission Modifier and Type Class Description static class
LoadAndStorePermissionOwner.LoadXmlFilePermission
static class
LoadAndStorePermissionOwner.StoreXmlFilePermission
-
Uses of Permission in jmri.jmrit.display
Classes in jmri.jmrit.display that implement Permission Modifier and Type Class Description static class
EditorPermissions.EditorPermission
Fields in jmri.jmrit.display declared as Permission Modifier and Type Field Description static Permission
EditorPermissions. EDITOR_PERMISSION
-
Uses of Permission in jmri.jmrit.display.swing
Methods in jmri.jmrit.display.swing with parameters of type Permission Modifier and Type Method Description javax.swing.JComponent
EditorPermissionsSwing.EditorPermissionSwing. getComponent(Role role, Permission permission, java.lang.Runnable onChange)
javax.swing.JLabel
EditorPermissionsSwing.EditorPermissionSwing. getLabel(Permission permission)
-
Uses of Permission in jmri.jmrit.permission
Methods in jmri.jmrit.permission that return types with arguments of type Permission Modifier and Type Method Description java.util.Set<Permission>
DefaultPermissionManager. getPermissions(PermissionOwner owner)
java.util.Map<Permission,PermissionValue>
DefaultRole. getPermissions()
Methods in jmri.jmrit.permission with parameters of type Permission Modifier and Type Method Description boolean
DefaultPermissionManager. ensureAtLeastPermission(Permission permission, PermissionValue minValue)
boolean
DefaultUser. ensureAtLeastPermission(Permission permission, PermissionValue minValue)
PermissionValue
DefaultRole. getPermissionValue(Permission permission)
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
DefaultPermissionManager. registerPermission(Permission permission)
void
DefaultRole. setPermission(Permission permission, PermissionValue value)
(package private) void
DefaultRole. setPermissionWithoutCheck(Permission permission, PermissionValue value)
-
Uses of Permission in jmri.swing
Methods in jmri.swing with parameters of type Permission Modifier and Type Method Description javax.swing.JComponent
PermissionSwing.BooleanPermissionSwing. getComponent(Role role, Permission permission, java.lang.Runnable onChange)
javax.swing.JComponent
PermissionSwing. getComponent(Role role, Permission permission, java.lang.Runnable onChange)
Get a component that configures this permission.default javax.swing.JLabel
PermissionSwing. getLabel(Permission permission)
Get a label for the permission component.static PermissionSwing
PermissionSwingTools. getPermissionSwingForClass(Permission permission)
Get a SwingConfiguratorInterface for a class
-