Uses of Interface
org.apache.fulcrum.security.entity.Role
Packages that use Role
Package
Description
-
Uses of Role in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security with type parameters of type RoleModifier and TypeMethodDescription<T extends Role>
TRoleManager.addRole(T role) Creates a new role with specified attributes.<T extends Role>
TRoleManager.getRoleById(Object id) Retrieve a Role object with specified Id.<T extends Role>
TRoleManager.getRoleByName(String name) Retrieve a Role object with specified name.<T extends Role>
TRoleManager.getRoleInstance()Construct a blank Role object This method calls getRoleClass, and then creates a new object using the default constructor.<T extends Role>
TRoleManager.getRoleInstance(String roleName) Construct a blank Role object.Methods in org.apache.fulcrum.security with parameters of type RoleModifier and TypeMethodDescriptionbooleanRoleManager.checkExists(Role role) Determines if theRoleexists in the security system.voidRoleManager.removeRole(Role role) Removes a Role from the system.voidRoleManager.renameRole(Role role, String name) Renames an existing Role. -
Uses of Role in org.apache.fulcrum.security.model.dynamic
Methods in org.apache.fulcrum.security.model.dynamic with parameters of type RoleModifier and TypeMethodDescriptionvoidPuts a role into a group This method is used when adding a role to a group.voidDynamicModelManager.grant(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolebooleanChecks if the user is assigned a specific Role in the global Group.booleanChecks if the user is assigned a specific Role in the Group.booleanChecks if the user is assigned a specific Role in any of the given GroupsbooleanChecks if the user is assigned a specific RolebooleanChecks if the user is assigned a specific Role in the Group.booleanChecks if the user is assigned a specific Role in any of the given GroupsvoidRemove a role from a group This method is used when removeing a role to a group.voidDynamicModelManager.revoke(Role role, Permission permission) Removes a permission from a rolevoidRevokes all permissions and groups from a Role.voidRevokes all permissions from a Role. -
Uses of Role in org.apache.fulcrum.security.model.dynamic.entity
Subinterfaces of Role in org.apache.fulcrum.security.model.dynamic.entityModifier and TypeInterfaceDescriptioninterfaceRepresents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity with type parameters of type RoleModifier and TypeMethodDescriptionDynamicGroup.getRolesAsSet()Get the roles that are part of this group as SetDynamicPermission.getRolesAsSet()Get the roles that this permission belongs to as Set<T extends Role>
voidDynamicGroup.setRolesAsSet(Set<T> roles) Set the roles that are part of this group as Set<T extends Role>
voidDynamicPermission.setRolesAsSet(Set<T> roles) Set the roles that this permission belongs to as SetMethods in org.apache.fulcrum.security.model.dynamic.entity with parameters of type RoleModifier and TypeMethodDescriptionvoidAdd a role to this groupvoidAdd a role to this permissionvoidDynamicGroup.removeRole(Role role) Remove a role from this groupvoidDynamicPermission.removeRole(Role role) Remove a role from this permission -
Uses of Role in org.apache.fulcrum.security.model.dynamic.entity.impl
Classes in org.apache.fulcrum.security.model.dynamic.entity.impl that implement RoleModifier and TypeClassDescriptionclassRepresents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity.impl with type parameters of type RoleModifier and TypeMethodDescriptionDynamicGroupImpl.getRolesAsSet()Get the roles that are part of this group as SetDynamicPermissionImpl.getRolesAsSet()Get the roles that this permission belongs to as Set<T extends Role>
voidDynamicGroupImpl.setRolesAsSet(Set<T> roles) Set the roles that are part of this group as Set<T extends Role>
voidDynamicPermissionImpl.setRolesAsSet(Set<T> roles) Set the roles that this permission belongs to as SetMethods in org.apache.fulcrum.security.model.dynamic.entity.impl with parameters of type RoleModifier and TypeMethodDescriptionvoidAdd a role to this groupvoidAdd a role to this permissionvoidDynamicGroupImpl.removeRole(Role role) Remove a role from this groupvoidDynamicPermissionImpl.removeRole(Role role) Remove a role from this permission -
Uses of Role in org.apache.fulcrum.security.model.turbine
Methods in org.apache.fulcrum.security.model.turbine with parameters of type RoleModifier and TypeMethodDescriptionvoidTurbineModelManager.grant(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolevoidGrant an User a Role in a Group.booleanChecks if the user is assigned a specific Role in the global Group.booleanChecks if the user is assigned a specific Role in the Group.booleanChecks if the user is assigned a specific Role in any of the given GroupsbooleanChecks if the user is assigned a specific Role in the global Group.booleanChecks if the user is assigned a specific Role in the Group.booleanChecks if the user is assigned a specific Role in any of the given GroupsvoidReplaces the assigned old Role to new role in the #global group for User user.voidTurbineModelManager.revoke(Role role, Permission permission) Removes a permission from a rolevoidRevoke a Role in a Group from an User.voidRevokes all permissions from a Role.voidRevokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role.voidRevokes all permissions from a Role.voidRevokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role. -
Uses of Role in org.apache.fulcrum.security.model.turbine.entity
Subinterfaces of Role in org.apache.fulcrum.security.model.turbine.entityModifier and TypeInterfaceDescriptioninterfaceRepresents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.turbine.entity with type parameters of type RoleModifier and TypeMethodDescriptionTurbinePermission.getRolesAsSet()Get the roles that this permission belongs to as Set<T extends Role>
voidTurbinePermission.setRolesAsSet(Set<T> roles) Set the roles that this permission belongs to as SetMethods in org.apache.fulcrum.security.model.turbine.entity that return RoleModifier and TypeMethodDescriptionTurbineRolePermissionoff.getRole()TurbineUserGroupRole.getRole()Get the roleMethods in org.apache.fulcrum.security.model.turbine.entity with parameters of type Role -
Uses of Role in org.apache.fulcrum.security.model.turbine.entity.impl
Classes in org.apache.fulcrum.security.model.turbine.entity.impl that implement RoleModifier and TypeClassDescriptionclassRepresents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.turbine.entity.impl with type parameters of type RoleModifier and TypeMethodDescriptionTurbinePermissionImpl.getRolesAsSet()Get the roles that this permission belongs to as Set<T extends Role>
voidTurbinePermissionImpl.setRolesAsSet(Set<T> roles) Set the roles that this permission belongs to as SetMethods in org.apache.fulcrum.security.model.turbine.entity.impl with parameters of type RoleModifier and TypeMethodDescriptionvoidAdd a role to this permissionvoidTurbinePermissionImpl.removeRole(Role role) Remove a role from this permission -
Uses of Role in org.apache.fulcrum.security.spi
Methods in org.apache.fulcrum.security.spi with type parameters of type RoleModifier and TypeMethodDescription<T extends Role>
TAbstractRoleManager.addRole(T role) Creates a new role with specified attributes.<T extends Role>
TAbstractRoleManager.getRoleById(Object id) Retrieve a Role object with specified Id.<T extends Role>
TAbstractRoleManager.getRoleByName(String name) Retrieve a Role object with specified name.<T extends Role>
TAbstractRoleManager.getRoleInstance()Construct a blank Role object.<T extends Role>
TAbstractRoleManager.getRoleInstance(String roleName) Construct a blank Role object.protected abstract <T extends Role>
TAbstractRoleManager.persistNewRole(T role) Methods in org.apache.fulcrum.security.spi with parameters of type RoleModifier and TypeMethodDescriptionbooleanAbstractRoleManager.checkExists(Role role) Check whether a specified role exists. -
Uses of Role in org.apache.fulcrum.security.util
Methods in org.apache.fulcrum.security.util that return RoleModifier and TypeMethodDescriptionRoleSet.getRoleById(Object roleId) Deprecated.Use getById()RoleSet.getRoleByName(String roleName) Deprecated.use getByName()Constructor parameters in org.apache.fulcrum.security.util with type arguments of type RoleModifierConstructorDescriptionRoleSet(Collection<? extends Role> roles) Constructs a new RoleSet with specified contents.