public class StoryEJB extends Object
| Constructor and Description |
|---|
StoryEJB() |
| Modifier and Type | Method and Description |
|---|---|
es.uvigo.esei.dgss.teamB.microstories.entities.Story |
findStory(Integer id)
Returns a story identified by the provided id
|
List<es.uvigo.esei.dgss.teamB.microstories.entities.Story> |
listRecentStories()
Returns the recent list of stories.
|
List<es.uvigo.esei.dgss.teamB.microstories.entities.Story> |
listSearchPagination(Integer nPagination,
Integer nStories,
String genre,
String theme,
Date date) |
@PermitAll public List<es.uvigo.esei.dgss.teamB.microstories.entities.Story> listRecentStories()
@PermitAll public es.uvigo.esei.dgss.teamB.microstories.entities.Story findStory(Integer id)
id - the identified of a story.Copyright © 2018. All rights reserved.