Class AdminPermission
- All Implemented Interfaces:
Serializable
AdminUser can be assigned, either directly or through an
AdminRole.
This domain is synchronized to the authentication service through messaging on each persistence event.
- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.Deprecated.Used to expose this entity's mutability in a request context.getId()Deprecated.The unique identifier for this permission.getName()Deprecated.The name for this permission.Deprecated.The id of the tenant this permission is associated with.inthashCode()Deprecated.voidsetContextState(MutabilityContextState contextState) Deprecated.Used to expose this entity's mutability in a request context.voidDeprecated.The unique identifier for this permission.voidDeprecated.The name for this permission.voidsetTenantId(String tenantId) Deprecated.The id of the tenant this permission is associated with.toRef()Deprecated.toString()Deprecated.
-
Constructor Details
-
AdminPermission
public AdminPermission()Deprecated.
-
-
Method Details
-
toRef
Deprecated. -
getId
Deprecated.The unique identifier for this permission. -
getName
Deprecated.The name for this permission.This value should not be relied on as a unique identifier, but we do validate against duplicate names within the permission's context.
- See Also:
-
getTenantId
Deprecated.The id of the tenant this permission is associated with.This is used to perform manual tenant discrimination - we do this because we require different behavior than what a
Trackableimplementation would provide. -
getContextState
Deprecated.Used to expose this entity's mutability in a request context.For example, can be used to hint to the admin application to show this entity as read-only.
- See Also:
-
setId
Deprecated.The unique identifier for this permission. -
setName
Deprecated.The name for this permission.This value should not be relied on as a unique identifier, but we do validate against duplicate names within the permission's context.
- See Also:
-
setTenantId
Deprecated.The id of the tenant this permission is associated with.This is used to perform manual tenant discrimination - we do this because we require different behavior than what a
Trackableimplementation would provide. -
setContextState
Deprecated.Used to expose this entity's mutability in a request context.For example, can be used to hint to the admin application to show this entity as read-only.
- See Also:
-
toString
Deprecated. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated.
-