public class StoryEJB extends Object
| Constructor and Description |
|---|
StoryEJB() |
| Modifier and Type | Method and Description |
|---|---|
es.uvigo.esei.dgss.teamB.microstories.Story |
findStory(Integer id)
Returns a story identified by the provided id
|
List<es.uvigo.esei.dgss.teamB.microstories.Story> |
listRecentStories()
Returns the recent list of stories.
|
void |
setEntityManager(javax.persistence.EntityManager em) |
public void setEntityManager(javax.persistence.EntityManager em)
@PermitAll public List<es.uvigo.esei.dgss.teamB.microstories.Story> listRecentStories()
@PermitAll public es.uvigo.esei.dgss.teamB.microstories.Story findStory(Integer id)
id - the identified of a story.Copyright © 2018. All rights reserved.