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 boolean
Deprecated.boolean
Deprecated.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.int
hashCode()
Deprecated.void
setContextState
(MutabilityContextState contextState) Deprecated.Used to expose this entity's mutability in a request context.void
Deprecated.The unique identifier for this permission.void
Deprecated.The name for this permission.void
setTenantId
(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
Trackable
implementation 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
Trackable
implementation 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.
-