| Package | Description |
|---|---|
| es.uvigo.esei.microstories.mappers | |
| es.uvigo.esei.microstories.services |
| Modifier and Type | Method and Description |
|---|---|
static StoryResponseDto |
StoryMapper.toStoryResponseDto(es.uvigo.esei.microstories.domain.entities.Story story) |
| Modifier and Type | Method and Description |
|---|---|
static es.uvigo.esei.microstories.domain.entities.Story |
StoryMapper.toStory(StoryResponseDto dto) |
| Modifier and Type | Method and Description |
|---|---|
StoryResponseDto |
StoryService.createStory(StoryCreateDto storyDto)
Creates a new story for the authenticated CREATOR user.
|
StoryResponseDto |
StoryService.getStoryById(Long id) |
StoryResponseDto |
StoryService.updateStory(Long id,
StoryCreateDto storyDto)
Updates an existing unpublished story owned by the authenticated CREATOR user.
|
| Modifier and Type | Method and Description |
|---|---|
List<StoryResponseDto> |
StoryService.getRecentStories(int limit) |
List<StoryResponseDto> |
StoryService.getStoriesByFilter(es.uvigo.esei.microstories.domain.types.GenreType genre,
es.uvigo.esei.microstories.domain.types.ThemeType theme,
Date initialDate,
Date finalDate,
int page,
int size)
Retrieves stories based on the specified filters with pagination support.
|
List<StoryResponseDto> |
StoryService.getStoriesByUser_aux(String username,
int page,
int size) |
List<StoryResponseDto> |
StoryService.getStoriesByUser(String username,
int page,
int size)
Retrieves a paginated list of stories authored by a specific user.
|
Map<es.uvigo.esei.microstories.domain.types.GenreType,List<StoryResponseDto>> |
StoryService.getTop2ReadStoriesLastMonthByGenre()
Retrieves the top 2 most read stories from last month grouped by genre.
|
List<StoryResponseDto> |
StoryService.searchStoriesByText(String text,
int page,
int size)
Busca relatos cuyo tÃtulo o contenido contenga el texto indicado.
|
Copyright © 2025. All rights reserved.