public class ManagerData extends AbstractEntityData
Modifier and Type | Class and Description |
---|---|
static class |
ManagerData.Builder
The type Builder.
|
Modifier and Type | Method and Description |
---|---|
static ManagerData.Builder |
create(java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
IManager.Role role)
Create builder with parameters required to create Manager instance.
|
static ManagerData.Builder |
update(java.util.UUID managerId)
Creates builder for update operation with Manager id.
|
getParameters, getParameterValue
public static ManagerData.Builder create(java.lang.String firstName, java.lang.String lastName, java.lang.String email, IManager.Role role)
firstName
- the first namelastName
- the last nameemail
- the emailrole
- the rolepublic static ManagerData.Builder update(java.util.UUID managerId)
managerId
- the manager id