public class RoleCreateRequest extends java.lang.Object implements RESTRequest
Constructor and Description |
---|
RoleCreateRequest()
Default constructor for RoleCreateRequest.
|
RoleCreateRequest(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> properties,
SecurableObjectDTO[] securableObjects)
Creates a new RoleCreateRequest.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the
RoleCreateRequest request. |
public RoleCreateRequest()
public RoleCreateRequest(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> properties, SecurableObjectDTO[] securableObjects)
name
- The name of the role.properties
- The properties of the role.securableObjects
- The securable objects of the role.public void validate() throws java.lang.IllegalArgumentException
RoleCreateRequest
request.validate
in interface RESTMessage
java.lang.IllegalArgumentException
- If the request is invalid, this exception is thrown.