public interface UserTemplateEntity<R extends RoleEntity> extends Entity<Long>
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(R role) |
Long |
getId()
Get the user's unique identifier.
|
String |
getName()
Gets the name of the template.
|
List<R> |
getRoles()
Get all the roles assigned to the user.
|
void |
removeRole(R role) |
void |
setId(Long inId)
Set the user's unique identifier.
|
void |
setName(String name)
Sets the name of the template.
|
void |
setRoles(List<R> inRoles)
Set the roles assigned to the current user.
|
Long getId()
List<R> getRoles()
void setId(Long inId)
void setRoles(List<R> inRoles)
inRoles - A list of roles to be assigned to the user.void addRole(R role)
void removeRole(R role)
void setName(String name)
name - the template's name.String getName()
Copyright © 2016–2018 Emory University. All rights reserved.