public class IndexPageController extends Object implements JSFController
JSFController for LETTA's front
page. Its solely purpose is to retrieve the required data from the
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRootViewId, redirectTopublic 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.