Modifier and Type | Class and Description |
---|---|
static class |
RoleDTO.Builder<S extends RoleDTO.Builder>
Builder class for constructing a RoleDTO instance.
|
Modifier | Constructor and Description |
---|---|
protected |
RoleDTO()
Default constructor for Jackson deserialization.
|
protected |
RoleDTO(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> properties,
SecurableObjectDTO[] securableObjects,
AuditDTO audit)
Creates a new instance of RoleDTO.
|
Modifier and Type | Method and Description |
---|---|
Audit |
auditInfo() |
static RoleDTO.Builder |
builder()
Creates a new Builder for constructing a Role DTO.
|
java.lang.String |
name()
The name of the role.
|
java.util.Map<java.lang.String,java.lang.String> |
properties()
The properties of the role.
|
java.util.List<SecurableObject> |
securableObjects()
The resource represents a special kind of entity with a unique identifier.
|
protected RoleDTO()
protected RoleDTO(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> properties, SecurableObjectDTO[] securableObjects, AuditDTO audit)
name
- The name of the Role DTO.properties
- The properties of the Role DTO.securableObjects
- The securable objects of the Role DTO.audit
- The audit information of the Role DTO.public java.lang.String name()
Role
public java.util.Map<java.lang.String,java.lang.String> properties()
properties
in interface Role
public java.util.List<SecurableObject> securableObjects()
securableObjects
in interface Role
public Audit auditInfo()
public static RoleDTO.Builder builder()