@PermitAll public class StoryEJB extends Object
| Constructor and Description |
|---|
StoryEJB() |
| Modifier and Type | Method and Description |
|---|---|
es.uvigo.esei.dgss.teama.microstories.domain.entities.Story |
getById(int id)
Search for a story by its primary key.
|
List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
getRecentStories() |
List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
getStoriesByText(String text,
int pageNumber,
int maxItems) |
public List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> getRecentStories()
public es.uvigo.esei.dgss.teama.microstories.domain.entities.Story getById(int id)
id - The story id to search.Copyright © 2022. All rights reserved.