@Entity public class AdminRoleImpl extends Object implements AdminRole, AdminRoleAdminPresentation, AdminMainEntity
AdminRoleAdminPresentation.FieldOrder, AdminRoleAdminPresentation.GroupName, AdminRoleAdminPresentation.GroupOrder, AdminRoleAdminPresentation.TabName, AdminRoleAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected Set<AdminPermission> |
allPermissions |
protected Set<AdminUser> |
allUsers
All users that have this role
|
protected String |
description |
protected Long |
id |
protected String |
name |
MAIN_ENTITY_NAME_PROPERTY| Constructor and Description |
|---|
AdminRoleImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCloneable(AdminRole adminRole) |
AdminRole |
clone() |
Set<AdminPermission> |
getAllPermissions() |
Set<AdminUser> |
getAllUsers() |
String |
getDescription() |
Long |
getId() |
String |
getMainEntityName() |
String |
getName() |
void |
setAllPermissions(Set<AdminPermission> allPermissions) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
protected Long id
protected String name
protected String description
protected Set<AdminPermission> allPermissions
public Set<AdminPermission> getAllPermissions()
getAllPermissions in interface AdminRolepublic String getDescription()
getDescription in interface AdminRolepublic void setDescription(String description)
setDescription in interface AdminRolepublic void setAllPermissions(Set<AdminPermission> allPermissions)
public void checkCloneable(AdminRole adminRole) throws CloneNotSupportedException, SecurityException, NoSuchMethodException
public AdminRole clone()
public String getMainEntityName()
getMainEntityName in interface AdminMainEntityCopyright © 2022. All rights reserved.