public class SecurableObjectDTO extends java.lang.Object implements SecurableObject
Modifier and Type | Class and Description |
---|---|
static class |
SecurableObjectDTO.Builder
Builder for
SecurableObjectDTO . |
SecurableObject.Type
Modifier | Constructor and Description |
---|---|
protected |
SecurableObjectDTO()
Default constructor for Jackson deserialization.
|
protected |
SecurableObjectDTO(java.lang.String fullName,
SecurableObject.Type type,
PrivilegeDTO[] privileges)
Creates a new instance of SecurableObject DTO.
|
Modifier and Type | Method and Description |
---|---|
static SecurableObjectDTO.Builder |
builder() |
java.lang.String |
fullName()
The full name of th securable object.
|
java.lang.String |
name()
The name of th securable object.
|
java.lang.String |
parent()
The parent full name of securable object.
|
java.util.List<Privilege> |
privileges()
The privileges of the securable object.
|
SecurableObject.Type |
type()
The type of securable object
|
protected SecurableObjectDTO()
protected SecurableObjectDTO(java.lang.String fullName, SecurableObject.Type type, PrivilegeDTO[] privileges)
privileges
- The privileges of the ScecurableObject DTO.fullName
- The name of the SecurableObject DTO.type
- The type of the securable object.@Nullable public java.lang.String parent()
SecurableObject
parent
in interface SecurableObject
public java.lang.String name()
SecurableObject
name
in interface SecurableObject
public java.lang.String fullName()
SecurableObject
fullName
in interface SecurableObject
public SecurableObject.Type type()
SecurableObject
type
in interface SecurableObject
public java.util.List<Privilege> privileges()
SecurableObject
privileges
in interface SecurableObject
public static SecurableObjectDTO.Builder builder()