public class StoryDTOMapper extends Object
| Constructor and Description |
|---|
StoryDTOMapper() |
| Modifier and Type | Method and Description |
|---|---|
static List<StoryDto> |
mapStoryList(List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> entityList) |
static StoryDto |
mapToDto(es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity story) |
static Pagination<StoryDto> |
mapToPagination(List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> entityList,
int page,
int maxResults,
int totalElements) |
public static Pagination<StoryDto> mapToPagination(List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> entityList, int page, int maxResults, int totalElements)
public static List<StoryDto> mapStoryList(List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> entityList)
public static StoryDto mapToDto(es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity story)
Copyright © 2023. All rights reserved.