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 Stringprotected Longprotected StringFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCloneable(AdminRole adminRole) clone()getId()getName()voidsetAllPermissions(Set<AdminPermission> allPermissions) voidsetDescription(String description) voidvoid
-
Field Details
-
id
-
name
-
description
-
allUsers
All users that have this role -
allPermissions
-
-
Constructor Details
-
AdminRoleImpl
public AdminRoleImpl()
-
-
Method Details
-
getAllPermissions
- Specified by:
getAllPermissionsin interfaceAdminRole
-
setAllPermissions
-
getId
-
setId
-
getName
-
setName
-
getAllUsers
-
getDescription
- Specified by:
getDescriptionin interfaceAdminRole
-
setDescription
- Specified by:
setDescriptionin interfaceAdminRole
-
checkCloneable
public void checkCloneable(AdminRole adminRole) throws CloneNotSupportedException, SecurityException, NoSuchMethodException -
clone
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceAdminMainEntity- Returns:
- the display name of this entity for the admin screen
-