Class EventsService
Object
EventsService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityManager
Returns the entity manager of JPA.void
runSingleEvent
(Administrator aUser, Integer eventid) Runs a single event, right now.
-
Constructor Details
-
EventsService
public EventsService()
-
-
Method Details
-
getEntityManager
protected EntityManager getEntityManager()Returns the entity manager of JPA. This is defined in build/web/WEB-INF/classes/META-INF/persistence.xml.- Returns:
- EntityManager
-
runSingleEvent
Runs a single event, right now. Used by administrators for testing.- Parameters:
aUser
- the administrator running the eventeventid
- an event id, a number.
-