Interface ActorMapper
-
Method Summary
Modifier and TypeMethodDescriptionCreates a properLdapActorobject from the given data-transfer object.Creates a properLocalActorobject from the given data-transfer object.Converts a givenActorobject to a data-transfer object.
-
Method Details
-
fromDto
Creates a properLocalActorobject from the given data-transfer object.- Parameters:
dto- The data-transfer object to be converted.- Returns:
- The LocalActor created from the DTO.
-
fromDto
Creates a properLdapActorobject from the given data-transfer object.- Parameters:
dto- The data-transfer object to be converted.- Returns:
- The LdapActor created from the DTO.
-
toDto
Converts a givenActorobject to a data-transfer object.- Parameters:
actor- The proper Actor object that shall become a DTO.- Returns:
- The Actor as a DTO.
-