public class IndexPageController extends Object
EventEJB.| Constructor and Description |
|---|
IndexPageController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttendees(es.uvigo.esei.dgss.letta.domain.entities.Event event)
Returns a
int with the number of User attendants of
the Event. |
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. |
boolean |
isAfter(LocalDateTime d) |
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)
public boolean isAfter(LocalDateTime d)
public String getAttendees(es.uvigo.esei.dgss.letta.domain.entities.Event event)
int with the number of User attendants of
the Event.event - the Event to get the attendants.int with the number of attendants.Copyright © 2016. All rights reserved.