public class IndexPageController extends Object
EventEJB.| Constructor and Description |
|---|
IndexPageController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDate(es.uvigo.esei.dgss.letta.domain.entities.Event event) |
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.Event event)
Returns a
String representing the path to the corresponding
Event.Category 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.Event event)
String representing the path to the corresponding
Event.Category icon image.event - the Event to be translated into a icon path.public String getDate(es.uvigo.esei.dgss.letta.domain.entities.Event event)
Copyright © 2015. All rights reserved.