@Named(value="homeController") public class HomeController extends Object
| Constructor and Description |
|---|
HomeController()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
attendEvent(es.uvigo.esei.dgss.teama.letta.entities.Event event)
Attend event by user.
|
List<es.uvigo.esei.dgss.teama.letta.entities.Event> |
getEvents()
Gets the last twenty events ordered by date.
|
Collection<es.uvigo.esei.dgss.teama.letta.entities.Event> |
getMainEvents()
Gets the five main events.
|
boolean |
isAttending(es.uvigo.esei.dgss.teama.letta.entities.Event event)
Check if an user is attending an event
|
public Collection<es.uvigo.esei.dgss.teama.letta.entities.Event> getMainEvents()
Eventpublic List<es.uvigo.esei.dgss.teama.letta.entities.Event> getEvents()
Eventpublic void attendEvent(es.uvigo.esei.dgss.teama.letta.entities.Event event)
throws Exception
event - event to attend by userException - event received as null value or event just is
attending by userCopyright © 2016. All rights reserved.