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 boolean
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.memory
Methods in org.apache.fulcrum.security.memory with type parameters of type Role Modifier and Type Method Description protected <T extends Role>
TMemoryRoleManagerImpl. persistNewRole(T role)
Creates a new role with specified attributes.Methods in org.apache.fulcrum.security.memory with parameters of type Role Modifier and Type Method Description void
MemoryRoleManagerImpl. removeRole(Role role)
Removes a Role from the system.void
MemoryRoleManagerImpl. renameRole(Role role, String name)
Renames an existing Role. -
Uses of Role in org.apache.fulcrum.security.memory.dynamic
Methods in org.apache.fulcrum.security.memory.dynamic with parameters of type Role Modifier and Type Method Description void
MemoryModelManagerImpl. grant(Group group, Role role)
Grants a Role to a Groupvoid
MemoryModelManagerImpl. grant(Role role, Permission permission)
Grants a Role a Permissionvoid
MemoryModelManagerImpl. revoke(Group group, Role role)
Revokes a Role from a Group.void
MemoryModelManagerImpl. revoke(Role role, Permission permission)
Revokes a Permission from a Role. -
Uses of Role in org.apache.fulcrum.security.memory.turbine
Methods in org.apache.fulcrum.security.memory.turbine with parameters of type Role Modifier and Type Method Description void
MemoryTurbineModelManagerImpl. grant(Role role, Permission permission)
Grants a Role a Permissionvoid
MemoryTurbineModelManagerImpl. grant(User user, Group group, Role role)
void
MemoryTurbineModelManagerImpl. replace(User user, Role oldRole, Role newRole)
void
MemoryTurbineModelManagerImpl. revoke(Role role, Permission permission)
Revokes a Permission from a Role.void
MemoryTurbineModelManagerImpl. revoke(User user, Group group, Role 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 void
DynamicModelManager. grant(Group group, Role role)
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
DynamicAccessControlList. hasRole(Role role)
Checks if the user is assigned a specific Role in the global Group.boolean
DynamicAccessControlList. hasRole(Role role, Group group)
Checks if the user is assigned a specific Role in the Group.boolean
DynamicAccessControlList. hasRole(Role role, GroupSet groupset)
Checks if the user is assigned a specific Role in any of the given Groupsboolean
DynamicAccessControlListImpl. hasRole(Role role)
Checks if the user is assigned a specific Roleboolean
DynamicAccessControlListImpl. hasRole(Role role, Group group)
Checks if the user is assigned a specific Role in the Group.boolean
DynamicAccessControlListImpl. hasRole(Role role, GroupSet groupset)
Checks if the user is assigned a specific Role in any of the given Groupsvoid
DynamicModelManager. revoke(Group group, Role role)
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
AbstractDynamicModelManager. revokeAll(Role role)
Revokes all permissions and groups from a Role.void
DynamicModelManager. 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 interface
DynamicRole
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 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 void
DynamicGroup. addRole(Role role)
Add a role to this groupvoid
DynamicPermission. addRole(Role role)
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 Role Modifier and Type Class Description class
DynamicRoleImpl
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 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 void
DynamicGroupImpl. addRole(Role role)
Add a role to this groupvoid
DynamicPermissionImpl. addRole(Role role)
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 Role Modifier and Type Method Description void
TurbineModelManager. grant(Role role, Permission permission)
Puts a permission in a role This method is used when adding a permission to a rolevoid
TurbineModelManager. grant(User user, Group group, Role role)
Grant an User a Role in a Group.boolean
TurbineAccessControlList. hasRole(Role role)
Checks if the user is assigned a specific Role in the global Group.boolean
TurbineAccessControlList. hasRole(Role role, Group group)
Checks if the user is assigned a specific Role in the Group.boolean
TurbineAccessControlList. hasRole(Role role, GroupSet groupset)
Checks if the user is assigned a specific Role in any of the given Groupsboolean
TurbineAccessControlListImpl. hasRole(Role role)
Checks if the user is assigned a specific Role in the global Group.boolean
TurbineAccessControlListImpl. hasRole(Role role, Group group)
Checks if the user is assigned a specific Role in the Group.boolean
TurbineAccessControlListImpl. hasRole(Role role, GroupSet groupset)
Checks if the user is assigned a specific Role in any of the given Groupsvoid
TurbineModelManager. replace(User user, Role oldRole, Role newRole)
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
TurbineModelManager. revoke(User user, Group group, Role role)
Revoke a Role in a Group from an User.void
AbstractTurbineModelManager. revokeAll(Role role)
Revokes all permissions from a Role.void
AbstractTurbineModelManager. 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.void
TurbineModelManager. revokeAll(Role role)
Revokes all permissions from a Role.void
TurbineModelManager. 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 interface
TurbineRole
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 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 Role
TurbineRolePermissionoff. getRole()
Role
TurbineUserGroupRole. getRole()
Get the roleMethods in org.apache.fulcrum.security.model.turbine.entity with parameters of type Role Modifier and Type Method Description void
TurbinePermission. addRole(Role role)
Add a role to this permissionvoid
TurbinePermission. removeRole(Role role)
Remove a role from this permissionvoid
TurbineRolePermissionoff. setRole(Role role)
void
TurbineUserGroupRole. 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 class
TurbineRoleImpl
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 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 void
TurbinePermissionImpl. addRole(Role role)
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 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 boolean
AbstractRoleManager. checkExists(Role role)
Check whether a specified role exists. -
Uses of Role in org.apache.fulcrum.security.torque
Methods in org.apache.fulcrum.security.torque with type parameters of type Role Modifier and Type Method Description protected abstract <T extends Role>
List<T>TorqueAbstractRoleManager. doSelectAllRoles(Connection con)
Get all specialized Rolesprotected abstract <T extends Role>
TTorqueAbstractRoleManager. doSelectById(Integer id, Connection con)
Get a specialized Role by idprotected abstract <T extends Role>
TTorqueAbstractRoleManager. doSelectByName(String name, Connection con)
Get a specialized Role by name<T extends Role>
TTorqueAbstractRoleManager. getRoleById(Object id)
Retrieve a Role object with specified id.<T extends Role>
TTorqueAbstractRoleManager. getRoleByName(String name)
Retrieve a Role object with specified name.protected <T extends Role>
TTorqueAbstractRoleManager. persistNewRole(T role)
Creates a new role with specified attributes.Methods in org.apache.fulcrum.security.torque with parameters of type Role Modifier and Type Method Description void
TorqueAbstractRoleManager. removeRole(Role role)
Removes a Role from the system.void
TorqueAbstractRoleManager. renameRole(Role role, String name)
Renames an existing Role. -
Uses of Role in org.apache.fulcrum.security.torque.dynamic
Classes in org.apache.fulcrum.security.torque.dynamic that implement Role Modifier and Type Class Description class
TorqueAbstractDynamicRole
This abstract class provides the SecurityInterface to the managers.Methods in org.apache.fulcrum.security.torque.dynamic with type parameters of type Role Modifier and Type Method Description protected <T extends Role>
List<T>TorqueDynamicRoleManagerImpl. doSelectAllRoles(Connection con)
protected <T extends Role>
TTorqueDynamicRoleManagerImpl. doSelectById(Integer id, Connection con)
protected <T extends Role>
TTorqueDynamicRoleManagerImpl. doSelectByName(String name, Connection con)
<T extends Role>
Set<T>TorqueAbstractDynamicGroup. getRolesAsSet()
<T extends Role>
Set<T>TorqueAbstractDynamicPermission. getRolesAsSet()
<T extends Role>
voidTorqueAbstractDynamicGroup. setRolesAsSet(Set<T> roles)
<T extends Role>
voidTorqueAbstractDynamicPermission. setRolesAsSet(Set<T> roles)
Methods in org.apache.fulcrum.security.torque.dynamic with parameters of type Role Modifier and Type Method Description void
TorqueAbstractDynamicGroup. addRole(Role role)
void
TorqueAbstractDynamicPermission. addRole(Role role)
void
TorqueDynamicModelManagerImpl. grant(Group group, Role role)
Grants a Group a Rolevoid
TorqueDynamicModelManagerImpl. grant(Role role, Permission permission)
Grants a Role a Permissionvoid
TorqueAbstractDynamicGroup. removeRole(Role role)
void
TorqueAbstractDynamicPermission. removeRole(Role role)
void
TorqueDynamicModelManagerImpl. revoke(Group group, Role role)
Revokes a Role from a Group.void
TorqueDynamicModelManagerImpl. revoke(Role role, Permission permission)
Revokes a Permission from a Role. -
Uses of Role in org.apache.fulcrum.security.torque.om
Classes in org.apache.fulcrum.security.torque.om that implement Role Modifier and Type Class Description class
BaseTorqueDynamicRole
This class was autogenerated by Torque on: [Thu Nov 04 13:34:21 CET 2021] You should not use this class directly.class
BaseTorqueTurbineRole
This class was autogenerated by Torque on: [Thu Nov 04 13:34:21 CET 2021] You should not use this class directly.class
BaseTurbineRole
This class was autogenerated by Torque on: [Thu Nov 04 13:34:21 CET 2021] You should not use this class directly.class
TorqueDynamicRole
The skeleton for this class was autogenerated by Torque on: [Thu Nov 04 10:34:40 CET 2021] You should add additional methods to this class to meet the application requirements.class
TorqueTurbineRole
The skeleton for this class was autogenerated by Torque on: [Thu Nov 04 10:34:40 CET 2021] You should add additional methods to this class to meet the application requirements.class
TurbineRole
The skeleton for this class was autogenerated by Torque on: [Thu Nov 04 10:34:40 CET 2021] You should add additional methods to this class to meet the application requirements.Methods in org.apache.fulcrum.security.torque.om that return Role Modifier and Type Method Description Role
TorqueTurbineRolePermission. getTurbineRole()
Role
TorqueTurbineRolePermission. getTurbineRole(Connection connection)
Role
TorqueTurbineUserGroupRole. getTurbineRole()
Role
TorqueTurbineUserGroupRole. getTurbineRole(Connection connection)
-
Uses of Role in org.apache.fulcrum.security.torque.peer
Methods in org.apache.fulcrum.security.torque.peer that return Role Modifier and Type Method Description Role
TurbineRolePermissionPeerMapper. getTurbineRole()
Returns the associated TurbineRole object.Role
TurbineRolePermissionPeerMapper. getTurbineRole(Connection connection)
Return the associated TurbineRole object If it was not retrieved before, the object is retrieved from the database using the passed connectionRole
TurbineUserGroupRoleModelPeerMapper. getTurbineRole()
Returns the associated TurbineRole object.Role
TurbineUserGroupRoleModelPeerMapper. getTurbineRole(Connection connection)
Return the associated TurbineRole object If it was not retrieved before, the object is retrieved from the database using the passed connection -
Uses of Role in org.apache.fulcrum.security.torque.turbine
Classes in org.apache.fulcrum.security.torque.turbine that implement Role Modifier and Type Class Description class
DefaultAbstractTurbineRole
This abstract class provides the SecurityInterface to the managers.class
FulcrumAbstractTurbineRole
This abstract class provides the SecurityInterface to the managers.Methods in org.apache.fulcrum.security.torque.turbine with type parameters of type Role Modifier and Type Method Description protected <T extends Role>
List<T>TorqueTurbineRoleManagerImpl. doSelectAllRoles(Connection con)
protected <T extends Role>
TTorqueTurbineRoleManagerImpl. doSelectById(Integer id, Connection con)
protected <T extends Role>
TTorqueTurbineRoleManagerImpl. doSelectByName(String name, Connection con)
<T extends Role>
Set<T>DefaultAbstractTurbinePermission. getRolesAsSet()
<T extends Role>
Set<T>FulcrumAbstractTurbinePermission. getRolesAsSet()
<T extends Role>
voidDefaultAbstractTurbinePermission. setRolesAsSet(Set<T> roles)
<T extends Role>
voidFulcrumAbstractTurbinePermission. setRolesAsSet(Set<T> roles)
Methods in org.apache.fulcrum.security.torque.turbine with parameters of type Role Modifier and Type Method Description void
DefaultAbstractTurbinePermission. addRole(Role role)
void
FulcrumAbstractTurbinePermission. addRole(Role role)
void
TorqueTurbineModelManagerImpl. grant(Role role, Permission permission)
Grants a Role a Permissionvoid
TorqueTurbineModelManagerImpl. grant(User user, Group group, Role role)
void
DefaultAbstractTurbinePermission. removeRole(Role role)
void
FulcrumAbstractTurbinePermission. removeRole(Role role)
void
TorqueTurbineModelManagerImpl. replace(User user, Role oldRole, Role newRole)
void
TorqueTurbineModelManagerImpl. revoke(Role role, Permission permission)
Revokes a Permission from a Role.void
TorqueTurbineModelManagerImpl. revoke(User user, Group group, Role role)
-
Uses of Role in org.apache.fulcrum.security.util
Methods in org.apache.fulcrum.security.util that return Role Modifier and Type Method Description Role
RoleSet. getRoleById(Object roleId)
Deprecated.Use getById()Role
RoleSet. 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.
-