public class StoryEJB extends Object
| Constructor and Description |
|---|
StoryEJB() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countFindByText(String text) |
List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> |
explore(es.uvigo.esei.dgss.teama.microstories.enums.Gender gender,
es.uvigo.esei.dgss.teama.microstories.enums.Topic topic,
Date startDate,
Date endDate,
int page,
int maxResults) |
Integer |
exploreCount(es.uvigo.esei.dgss.teama.microstories.enums.Gender gender,
es.uvigo.esei.dgss.teama.microstories.enums.Topic topic,
Date startDate,
Date endDate) |
List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> |
findByText(String text,
int page,
int maxResults) |
List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> |
findMostViewedStories() |
List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> |
findRecentStories() |
es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity |
findStoryById(Integer id_story) |
@PermitAll public List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> findRecentStories()
@PermitAll public es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity findStoryById(Integer id_story)
@PermitAll public List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> findByText(String text, int page, int maxResults)
@PermitAll public Integer countFindByText(String text)
@PermitAll public List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> explore(es.uvigo.esei.dgss.teama.microstories.enums.Gender gender, es.uvigo.esei.dgss.teama.microstories.enums.Topic topic, Date startDate, Date endDate, int page, int maxResults)
@PermitAll public Integer exploreCount(es.uvigo.esei.dgss.teama.microstories.enums.Gender gender, es.uvigo.esei.dgss.teama.microstories.enums.Topic topic, Date startDate, Date endDate)
@PermitAll public List<es.uvigo.esei.dgss.teama.microstories.entities.StoryEntity> findMostViewedStories()
Copyright © 2023. All rights reserved.