@Named(value="story") @RequestScoped public class StoryManagedBean extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected es.uvigo.esei.microstories.services.StoryService |
storyService |
| Constructor and Description |
|---|
StoryManagedBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
doInitialSearch() |
void |
doSearch() |
Long |
getId() |
List<es.uvigo.esei.microstories.dtos.StoryResponseDto> |
getRecentStories() |
List<es.uvigo.esei.microstories.dtos.StoryResponseDto> |
getSearchedStories() |
String |
getSearchText() |
es.uvigo.esei.microstories.dtos.StoryResponseDto |
getStory() |
boolean |
hasSearchedStories() |
List<es.uvigo.esei.microstories.dtos.StoryResponseDto> |
list() |
String |
loadStoryById() |
String |
performSearchFromHeader()
Navigates to the search page, passing the text as a parameter.
|
void |
setId(Long id) |
void |
setSearchText(String searchText) |
void |
setStory(es.uvigo.esei.microstories.dtos.StoryResponseDto story) |
String |
viewStory(Long storyId) |
public List<es.uvigo.esei.microstories.dtos.StoryResponseDto> list()
public List<es.uvigo.esei.microstories.dtos.StoryResponseDto> getRecentStories()
public String performSearchFromHeader()
public void doInitialSearch()
public void doSearch()
public boolean hasSearchedStories()
public List<es.uvigo.esei.microstories.dtos.StoryResponseDto> getSearchedStories()
public String getSearchText()
public void setSearchText(String searchText)
public Long getId()
public void setId(Long id)
public es.uvigo.esei.microstories.dtos.StoryResponseDto getStory()
public void setStory(es.uvigo.esei.microstories.dtos.StoryResponseDto story)
public String loadStoryById()
Copyright © 2025. All rights reserved.