java.lang.Object |
↳ |
org.apache.archiva.redback.rbac.AbstractRole |
Known Direct Subclasses
|
Class Overview
AbstractRole useful for common logic that implementors can use.
Summary
Public Methods |
boolean
|
equals(Object other)
Method equals.
|
boolean
|
hasChildRoles()
Convienence method to see if Role has Child Roles.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.apache.archiva.redback.rbac.Role
abstract
void
|
addChildRoleName(String name)
Method addChildRoleName
|
abstract
void
|
addPermission(Permission permission)
Method addPermission
|
abstract
List<String>
|
getChildRoleNames()
Method getChildRoleNames
|
abstract
String
|
getDescription()
Long description of the role.
|
abstract
String
|
getName()
Get the name.
|
abstract
List<Permission>
|
getPermissions()
Method getPermissions
|
abstract
boolean
|
hasChildRoles()
Convienence method to see if Role has Child Roles.
|
abstract
boolean
|
isAssignable()
true if this role is available to be assigned to a user
|
abstract
boolean
|
isPermanent()
Test to see if the object is a permanent object or not.
|
abstract
void
|
removePermission(Permission permission)
Method removePermission
|
abstract
void
|
setAssignable(boolean assignable)
true if this role is available to be assigned to a user
|
abstract
void
|
setChildRoleNames(List<String> names)
The names of the roles that will inherit the permissions of this role
|
abstract
void
|
setDescription(String description)
Set the Description
|
abstract
void
|
setName(String name)
Set Name
NOTE: This field is considered the Primary Key for this object.
|
abstract
void
|
setPermanent(boolean permanent)
Set flag indicating if the object is a permanent object or not.
|
abstract
void
|
setPermissions(List<Permission> permissions)
Set Permissions
|
|
Public Constructors
Public Methods
public
boolean
equals
(Object other)
public
boolean
hasChildRoles
()
Convienence method to see if Role has Child Roles.
Returns
- true if child roles exists and has any roles being tracked.