@Named(value="story") @SessionScoped 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 |
|---|---|
Long |
getId() |
String |
getSearchText() |
es.uvigo.esei.microstories.dtos.StoryResponseDto |
getStory() |
List<es.uvigo.esei.microstories.dtos.StoryResponseDto> |
list() |
String |
loadStoryById()
Carga el relato por id (usado por read.xhtml mediante f:viewAction).
|
String |
performSearchFromHeader()
Navigates to the search page, passing the text as a parameter.
|
List<es.uvigo.esei.microstories.dtos.StoryResponseDto> |
search(String text) |
void |
setId(Long id) |
void |
setSearchText(String searchText) |
void |
setStory(es.uvigo.esei.microstories.dtos.StoryResponseDto story) |
void |
setStoryService(es.uvigo.esei.microstories.services.StoryService storyService)
para test
|
String |
viewStory(Long storyId)
Método invocado por el composite en mode="button" si se quiere preparar y navegar.
|
public List<es.uvigo.esei.microstories.dtos.StoryResponseDto> list()
public String performSearchFromHeader()
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()
public String viewStory(Long storyId)
public void setStoryService(es.uvigo.esei.microstories.services.StoryService storyService)
Copyright © 2025. All rights reserved.