Class AdminUser
- java.lang.Object
-
- com.broadleafcommerce.auth.user.listener.domain.AdminUser
-
- All Implemented Interfaces:
Serializable
public class AdminUser extends Object implements Serializable
Specific messaging contract for sending in user updates.- Author:
- Phillip Verheyden (phillipuniverse)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminUser.AdminUserBuilder
-
Constructor Summary
Constructors Constructor Description AdminUser()
AdminUser(String id, String name, String username, String email, boolean active, boolean locked, boolean expired, boolean changePasswordRequired, Set<AdminRoleRef> roles, Set<AdminPermissionRef> permissions, Set<AdminRestriction> restrictions, Set<AdminRestrictedRole> restrictedRoles, Set<AdminRestrictedPermission> restrictedPermissions, Set<String> applicationIds, String tenantId, boolean tenantAccess, boolean applicationAccess, String businessDomainType, Set<String> roleIds, Set<String> permissionIds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdminUser.AdminUserBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Set<String>
getApplicationIds()
String
getBusinessDomainType()
String
getEmail()
String
getId()
String
getName()
Set<String>
getPermissionIds()
Set<AdminPermissionRef>
getPermissions()
Deprecated.Set<AdminRestrictedPermission>
getRestrictedPermissions()
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.Set<AdminRestrictedRole>
getRestrictedRoles()
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.Set<AdminRestriction>
getRestrictions()
The data restrictions that control the data this user is permitted to access.Set<String>
getRoleIds()
Set<AdminRoleRef>
getRoles()
Deprecated.String
getTenantId()
String
getUsername()
int
hashCode()
boolean
isActive()
boolean
isApplicationAccess()
boolean
isChangePasswordRequired()
boolean
isExpired()
boolean
isLocked()
boolean
isTenantAccess()
String
toString()
-
-
-
Constructor Detail
-
AdminUser
public AdminUser(String id, String name, String username, String email, boolean active, boolean locked, boolean expired, boolean changePasswordRequired, @Nullable Set<AdminRoleRef> roles, @Nullable Set<AdminPermissionRef> permissions, @Nullable Set<AdminRestriction> restrictions, @Nullable Set<AdminRestrictedRole> restrictedRoles, @Nullable Set<AdminRestrictedPermission> restrictedPermissions, @Nullable Set<String> applicationIds, @Nullable String tenantId, boolean tenantAccess, boolean applicationAccess, String businessDomainType, Set<String> roleIds, Set<String> permissionIds)
-
AdminUser
public AdminUser()
-
-
Method Detail
-
builder
public static AdminUser.AdminUserBuilder builder()
-
getId
public String getId()
-
getName
public String getName()
-
getUsername
public String getUsername()
-
getEmail
public String getEmail()
-
isActive
public boolean isActive()
-
isLocked
public boolean isLocked()
-
isExpired
public boolean isExpired()
-
isChangePasswordRequired
public boolean isChangePasswordRequired()
-
getRoles
@Deprecated @Nullable public Set<AdminRoleRef> getRoles()
Deprecated.
-
getPermissions
@Deprecated @Nullable public Set<AdminPermissionRef> getPermissions()
Deprecated.
-
getRestrictions
@Nullable public Set<AdminRestriction> getRestrictions()
The data restrictions that control the data this user is permitted to access.
-
getRestrictedRoles
@Nullable public Set<AdminRestrictedRole> getRestrictedRoles()
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.
-
getRestrictedPermissions
@Nullable public Set<AdminRestrictedPermission> getRestrictedPermissions()
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.
-
getTenantId
@Nullable public String getTenantId()
-
isTenantAccess
public boolean isTenantAccess()
-
isApplicationAccess
public boolean isApplicationAccess()
-
getBusinessDomainType
public String getBusinessDomainType()
-
canEqual
protected boolean canEqual(Object other)
-
-