public class StoryService extends Object
| Constructor and Description |
|---|
StoryService() |
| Modifier and Type | Method and Description |
|---|---|
List<es.uvigo.esei.dgss.teamA.microstories.entities.Story> |
findLastStories() |
List<es.uvigo.esei.dgss.teamA.microstories.entities.Story> |
findStories(es.uvigo.esei.dgss.teamA.microstories.entities.Genre genre,
es.uvigo.esei.dgss.teamA.microstories.entities.Theme theme,
Date initDate,
Date endDate,
Integer page,
Integer size) |
List<es.uvigo.esei.dgss.teamA.microstories.entities.Story> |
findStoriesByText(String text,
Integer page,
Integer size) |
es.uvigo.esei.dgss.teamA.microstories.entities.Story |
getById(int id) |
@PermitAll public List<es.uvigo.esei.dgss.teamA.microstories.entities.Story> findLastStories()
@PermitAll public es.uvigo.esei.dgss.teamA.microstories.entities.Story getById(int id)
@PermitAll public List<es.uvigo.esei.dgss.teamA.microstories.entities.Story> findStoriesByText(String text, Integer page, Integer size) throws IllegalArgumentException
IllegalArgumentException@PermitAll public List<es.uvigo.esei.dgss.teamA.microstories.entities.Story> findStories(es.uvigo.esei.dgss.teamA.microstories.entities.Genre genre, es.uvigo.esei.dgss.teamA.microstories.entities.Theme theme, Date initDate, Date endDate, Integer page, Integer size) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2021. All rights reserved.