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 TypeMethodDescriptionboolean
RoleManager.checkExists
(Role role) Determines if theRole
exists in the security system.void
RoleManager.removeRole
(Role role) Removes a Role from the system.void
RoleManager.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 TypeMethodDescriptionvoid
Puts a role into a group This method is used when adding a role to a group.void
DynamicModelManager.grant
(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a roleboolean
Checks if the user is assigned a specific Role in the global Group.boolean
Checks if the user is assigned a specific Role in the Group.boolean
Checks if the user is assigned a specific Role in any of the given Groupsboolean
Checks if the user is assigned a specific Roleboolean
Checks if the user is assigned a specific Role in the Group.boolean
Checks if the user is assigned a specific Role in any of the given Groupsvoid
Remove a role from a group This method is used when removeing a role to a group.void
DynamicModelManager.revoke
(Role role, Permission permission) Removes a permission from a rolevoid
Revokes all permissions and groups from a Role.void
Revokes 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 TypeInterfaceDescriptioninterface
Represents 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 TypeMethodDescriptionvoid
Add a role to this groupvoid
Add a role to this permissionvoid
DynamicGroup.removeRole
(Role role) Remove a role from this groupvoid
DynamicPermission.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 TypeClassDescriptionclass
Represents 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 TypeMethodDescriptionvoid
Add a role to this groupvoid
Add a role to this permissionvoid
DynamicGroupImpl.removeRole
(Role role) Remove a role from this groupvoid
DynamicPermissionImpl.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 TypeMethodDescriptionvoid
TurbineModelManager.grant
(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolevoid
Grant an User a Role in a Group.boolean
Checks if the user is assigned a specific Role in the global Group.boolean
Checks if the user is assigned a specific Role in the Group.boolean
Checks if the user is assigned a specific Role in any of the given Groupsboolean
Checks if the user is assigned a specific Role in the global Group.boolean
Checks if the user is assigned a specific Role in the Group.boolean
Checks if the user is assigned a specific Role in any of the given Groupsvoid
Replaces the assigned old Role to new role in the #global group for User user.void
TurbineModelManager.revoke
(Role role, Permission permission) Removes a permission from a rolevoid
Revoke a Role in a Group from an User.void
Revokes all permissions from a Role.void
Revokes 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.void
Revokes all permissions from a Role.void
Revokes 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 TypeInterfaceDescriptioninterface
Represents 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 TypeClassDescriptionclass
Represents 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 TypeMethodDescriptionvoid
Add a role to this permissionvoid
TurbinePermissionImpl.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 TypeMethodDescriptionboolean
AbstractRoleManager.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.