Uses of Interface
org.apache.fulcrum.security.entity.Role
-
Uses of Role in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security with type parameters of type Role Modifier and Type Method Description <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 Role Modifier and Type Method Description booleanRoleManager. 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 Role Modifier and Type Method Description voidDynamicModelManager. grant(Group group, Role role)Puts 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 rolebooleanDynamicAccessControlList. hasRole(Role role)Checks if the user is assigned a specific Role in the global Group.booleanDynamicAccessControlList. hasRole(Role role, Group group)Checks if the user is assigned a specific Role in the Group.booleanDynamicAccessControlList. hasRole(Role role, GroupSet groupset)Checks if the user is assigned a specific Role in any of the given GroupsbooleanDynamicAccessControlListImpl. hasRole(Role role)Checks if the user is assigned a specific RolebooleanDynamicAccessControlListImpl. hasRole(Role role, Group group)Checks if the user is assigned a specific Role in the Group.booleanDynamicAccessControlListImpl. hasRole(Role role, GroupSet groupset)Checks if the user is assigned a specific Role in any of the given GroupsvoidDynamicModelManager. revoke(Group group, Role role)Remove 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 rolevoidAbstractDynamicModelManager. revokeAll(Role role)Revokes all permissions and groups from a Role.voidDynamicModelManager. revokeAll(Role role)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.entity Modifier and Type Interface Description interfaceDynamicRoleRepresents 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 Role Modifier and Type Method Description <T extends Role>
Set<T>DynamicGroup. getRolesAsSet()Get the roles that are part of this group as Set<T extends Role>
Set<T>DynamicPermission. 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 Role Modifier and Type Method Description voidDynamicGroup. addRole(Role role)Add a role to this groupvoidDynamicPermission. addRole(Role role)Add 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 Role Modifier and Type Class Description classDynamicRoleImplRepresents 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 Role Modifier and Type Method Description <T extends Role>
Set<T>DynamicGroupImpl. getRolesAsSet()Get the roles that are part of this group as Set<T extends Role>
Set<T>DynamicPermissionImpl. 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 Role Modifier and Type Method Description voidDynamicGroupImpl. addRole(Role role)Add a role to this groupvoidDynamicPermissionImpl. addRole(Role role)Add 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 Role Modifier and Type Method Description voidTurbineModelManager. grant(Role role, Permission permission)Puts a permission in a role This method is used when adding a permission to a rolevoidTurbineModelManager. grant(User user, Group group, Role role)Grant an User a Role in a Group.booleanTurbineAccessControlList. hasRole(Role role)Checks if the user is assigned a specific Role in the global Group.booleanTurbineAccessControlList. hasRole(Role role, Group group)Checks if the user is assigned a specific Role in the Group.booleanTurbineAccessControlList. hasRole(Role role, GroupSet groupset)Checks if the user is assigned a specific Role in any of the given GroupsbooleanTurbineAccessControlListImpl. hasRole(Role role)Checks if the user is assigned a specific Role in the global Group.booleanTurbineAccessControlListImpl. hasRole(Role role, Group group)Checks if the user is assigned a specific Role in the Group.booleanTurbineAccessControlListImpl. hasRole(Role role, GroupSet groupset)Checks if the user is assigned a specific Role in any of the given GroupsvoidTurbineModelManager. replace(User user, Role oldRole, Role newRole)Replaces 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 rolevoidTurbineModelManager. revoke(User user, Group group, Role role)Revoke a Role in a Group from an User.voidAbstractTurbineModelManager. revokeAll(Role role)Revokes all permissions from a Role.voidAbstractTurbineModelManager. revokeAll(Role role, boolean cascadeDelete)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.voidTurbineModelManager. revokeAll(Role role)Revokes all permissions from a Role.voidTurbineModelManager. revokeAll(Role role, boolean cascadeDelete)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.entity Modifier and Type Interface Description interfaceTurbineRoleRepresents 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 Role Modifier and Type Method Description <T extends Role>
Set<T>TurbinePermission. 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 Role Modifier and Type Method Description RoleTurbineRolePermissionoff. getRole()RoleTurbineUserGroupRole. getRole()Get the roleMethods in org.apache.fulcrum.security.model.turbine.entity with parameters of type Role Modifier and Type Method Description voidTurbinePermission. addRole(Role role)Add a role to this permissionvoidTurbinePermission. removeRole(Role role)Remove a role from this permissionvoidTurbineRolePermissionoff. setRole(Role role)voidTurbineUserGroupRole. setRole(Role role)Set the 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 Role Modifier and Type Class Description classTurbineRoleImplRepresents 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 Role Modifier and Type Method Description <T extends Role>
Set<T>TurbinePermissionImpl. 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 Role Modifier and Type Method Description voidTurbinePermissionImpl. addRole(Role role)Add 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 Role Modifier and Type Method Description <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 Role Modifier and Type Method Description booleanAbstractRoleManager. 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 Role Modifier and Type Method Description RoleRoleSet. getRoleById(Object roleId)Deprecated.Use getById()RoleRoleSet. getRoleByName(String roleName)Deprecated.use getByName()Constructor parameters in org.apache.fulcrum.security.util with type arguments of type Role Constructor Description RoleSet(Collection<? extends Role> roles)Constructs a new RoleSet with specified contents.