public class IndexPageController extends Object
EventEJB.| Constructor and Description |
|---|
IndexPageController() |
| Modifier and Type | Method and Description |
|---|---|
List<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getEventList()
Retrieves a
List of Events from
EventEJB.listByDate(int, int), sorted by ascending date and
descending number of attendees. |
List<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getHighlights()
|
String |
getIconFor(es.uvigo.esei.dgss.letta.domain.entities.EventType eventType)
Returns a
String representing the path to the corresponding
EventType icon image. |
public List<es.uvigo.esei.dgss.letta.domain.entities.Event> getEventList()
List of Events from
EventEJB.listByDate(int, int), sorted by ascending date and
descending number of attendees.public List<es.uvigo.esei.dgss.letta.domain.entities.Event> getHighlights()
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.