public class UserPrivateController extends Object
User| Constructor and Description |
|---|
UserPrivateController() |
| Modifier and Type | Method and Description |
|---|---|
List<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getAttendingEvents()
Returns a
List of Event that were created by the current
user |
String |
getIconFor(es.uvigo.esei.dgss.letta.domain.entities.Event.Category eventType)
Returns a
String representing the path to the corresponding
Event.Category icon image. |
List<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getOwnEvents()
Returns a
List of Event that were created by the current
user |
boolean |
isOnUserLocation(es.uvigo.esei.dgss.letta.domain.entities.Event event) |
boolean |
isPassed(es.uvigo.esei.dgss.letta.domain.entities.Event event)
|
public List<es.uvigo.esei.dgss.letta.domain.entities.Event> getOwnEvents()
List of Event that were created by the current
userList of Eventpublic List<es.uvigo.esei.dgss.letta.domain.entities.Event> getAttendingEvents()
List of Event that were created by the current
userList of Eventpublic String getIconFor(es.uvigo.esei.dgss.letta.domain.entities.Event.Category eventType)
String representing the path to the corresponding
Event.Category icon image.eventType - the Event.Category to be translated into a icon path.public boolean isPassed(es.uvigo.esei.dgss.letta.domain.entities.Event event)
public boolean isOnUserLocation(es.uvigo.esei.dgss.letta.domain.entities.Event event)
Copyright © 2015. All rights reserved.