Class DocumentDtoMapper
java.lang.Object
com.irurueta.authserver.bff.api.web.documents.DocumentDtoMapper
Maps the domain documents onto the DTO generated from the contract; a controller never returns a domain model.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DocumentDtoMapper
public DocumentDtoMapper()
-
-
Method Details
-
toResponse
Maps a document.- Parameters:
document- the domain document.- Returns:
- its web representation.
-