Class AdminRoleImpl
java.lang.Object
org.broadleafcommerce.openadmin.server.security.domain.AdminRoleImpl
- All Implemented Interfaces:
Serializable
,AdminMainEntity
,AdminRole
,AdminRoleAdminPresentation
@Entity
public class AdminRoleImpl
extends Object
implements AdminRole, AdminRoleAdminPresentation, AdminMainEntity
- Author:
- jfischer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.broadleafcommerce.openadmin.server.security.domain.AdminRoleAdminPresentation
AdminRoleAdminPresentation.FieldOrder, AdminRoleAdminPresentation.GroupName, AdminRoleAdminPresentation.GroupOrder, AdminRoleAdminPresentation.TabName, AdminRoleAdminPresentation.TabOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<AdminPermission>
All users that have this roleprotected String
protected Long
protected String
Fields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkCloneable
(AdminRole adminRole) clone()
getId()
getName()
void
setAllPermissions
(Set<AdminPermission> allPermissions) void
setDescription
(String description) void
void
-
Field Details
-
id
-
name
-
description
-
allUsers
All users that have this role -
allPermissions
-
-
Constructor Details
-
AdminRoleImpl
public AdminRoleImpl()
-
-
Method Details
-
getAllPermissions
- Specified by:
getAllPermissions
in interfaceAdminRole
-
setAllPermissions
-
getId
-
setId
-
getName
-
setName
-
getAllUsers
-
getDescription
- Specified by:
getDescription
in interfaceAdminRole
-
setDescription
- Specified by:
setDescription
in interfaceAdminRole
-
checkCloneable
public void checkCloneable(AdminRole adminRole) throws CloneNotSupportedException, SecurityException, NoSuchMethodException -
clone
-
getMainEntityName
- Specified by:
getMainEntityName
in interfaceAdminMainEntity
- Returns:
- the display name of this entity for the admin screen
-