de.uka.ipd.consensus.foundation.user
Interface UserRole

All Superinterfaces:
Serializable
All Known Implementing Classes:
UserRoleImpl

public interface UserRole
extends Serializable

This interface represents a role (for example, the admin role) that is managed by the UserManager and that can be assigned to users.

Version:
2006-06-14
Author:
Thomas Much
See Also:
UserManager, User

Method Summary
 String getDescription()
          Returns a short human-readable description of the role.
 String getRolename()
          Returns the unique rolename, e.g.
 UserManager getUserManager()
          Returns the UserManager that manages the roles.
 

Method Detail

getRolename

public String getRolename()
Returns the unique rolename, e.g. "admin".

Returns:
the name of the role

getDescription

public String getDescription()
Returns a short human-readable description of the role.

Returns:
a short description of the role

getUserManager

public UserManager getUserManager()
Returns the UserManager that manages the roles.

Returns:
the UserManager instance