public class ListJoinedEventsController extends Object
| Constructor and Description |
|---|
ListJoinedEventsController() |
| Modifier and Type | Method and Description |
|---|---|
List<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getEventList()
Retrieves a
List of Events from
EventEJB.getCountEventsJoinedByUser(), sorted by desccending date and
ascending tittle. |
String |
getIconFor(es.uvigo.esei.dgss.letta.domain.entities.EventType eventType)
Returns a
String representing the path to the corresponding
EventType icon image. |
int |
getPageIndex() |
int |
getPages() |
void |
init()
Initialize the number of pages in a paginated page.
|
void |
listJoinedEventsNext()
Method to be called when the next command button is pressed
|
void |
listJoinedEventsPrev()
Method to be called when the previous command button is pressed
|
void |
setPageIndex(int pageIndex) |
void |
setPages(int pages) |
public int getPages()
public void setPages(int pages)
public int getPageIndex()
public void setPageIndex(int pageIndex)
@PostConstruct public void init()
public List<es.uvigo.esei.dgss.letta.domain.entities.Event> getEventList()
List of Events from
EventEJB.getCountEventsJoinedByUser(), sorted by desccending date and
ascending tittle.public void listJoinedEventsNext()
public void listJoinedEventsPrev()
public String getIconFor(es.uvigo.esei.dgss.letta.domain.entities.EventType eventType)
String representing the path to the corresponding
EventType icon image.eventType - the EventType to be translated into a icon path.Copyright © 2015. All rights reserved.