Class CollectionAccessAction.UserRoleBean
java.lang.Object
org.dlese.dpc.schemedit.security.action.CollectionAccessAction.UserRoleBean
- Enclosing class:
CollectionAccessAction
Bean storing User object with a role value.
- Author:
- Jonathan Ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionUserRoleBean(User user, String role) Constructor for the UserRoleBean object -
Method Summary
-
Constructor Details
-
UserRoleBean
Constructor for the UserRoleBean object- Parameters:
user- the User objectrole- a role value
-
-
Method Details
-
getUser
Gets the user attribute of the UserRoleBean object- Returns:
- The user value
-
getFullName
Returns full name (lastname, firstname) of Beans's user attribute (or the username if fullname can't be computed).- Returns:
- The fullName value
-
getRole
Gets the role attribute of the UserRoleBean object- Returns:
- The role value
-