@PermitAll public class StoryService extends Object
| Constructor and Description |
|---|
StoryService() |
| Modifier and Type | Method and Description |
|---|---|
es.uvigo.esei.dgss.teamc.microstories.entities.Story |
get(Long id)
Returns the Story with the given id
|
List<es.uvigo.esei.dgss.teamc.microstories.entities.Story> |
getStoriesByText(String text,
int noOfStories,
int pageIndex) |
List<es.uvigo.esei.dgss.teamc.microstories.entities.Story> |
listRecent()
Returns the 6 most recent Stories
|
public List<es.uvigo.esei.dgss.teamc.microstories.entities.Story> listRecent()
public es.uvigo.esei.dgss.teamc.microstories.entities.Story get(Long id)
id - the id of the Story to returnCopyright © 2021. All rights reserved.