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,
java.util.List<java.lang.String> privileges,
SecurableObjectDTO securableObject,
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.List<Privilege> |
privileges()
The privileges of the role.
|
java.util.Map<java.lang.String,java.lang.String> |
properties()
The properties of the role.
|
SecurableObject |
securableObject()
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, java.util.List<java.lang.String> privileges, SecurableObjectDTO securableObject, AuditDTO audit)
name
- The name of the Role DTO.properties
- The properties of the Role DTO.privileges
- The privileges of the Role DTO.securableObject
- The securable object 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<Privilege> privileges()
privileges
in interface Role
public SecurableObject securableObject()
securableObject
in interface Role
public Audit auditInfo()
public static RoleDTO.Builder builder()