|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EventExecutorService
EventExecutorService can be used to add events via the server side.
| Method Summary | |
|---|---|
void |
addEvent(Domain aDomain,
Event anEvent)
Adds an event for all users |
void |
addEventUserSpecific(Event anEvent)
Adds an event for a specific user |
EventFilter |
getEventFilter(Domain aDomain)
Returns the EventFilter for the user domain combination. |
boolean |
isUserRegistered()
Checks if the user is registered for event listening. |
boolean |
isUserRegistered(Domain aDomain)
Checks if the user is registered for event listening. |
void |
removeEventFilter(Domain aDomain)
Removes the EventFilter of the domain. |
void |
setEventFilter(Domain aDomain,
EventFilter anEventFilter)
Changes the EventFilter for the user-domain combination. |
| Method Detail |
|---|
boolean isUserRegistered()
boolean isUserRegistered(Domain aDomain)
aDomain - domain to check the registration for the user
void addEvent(Domain aDomain,
Event anEvent)
aDomain - the domain to add the eventanEvent - event to addvoid addEventUserSpecific(Event anEvent)
anEvent - event to add
void setEventFilter(Domain aDomain,
EventFilter anEventFilter)
EventFilter for the user-domain combination.
The EventFilter can be removed with the method
removeEventFilter(de.novanic.eventservice.client.event.domain.Domain)
or when that method is called with NULL as the EventFilter
parameter value.
aDomain - domain to set the EventFilter (user-domain combination)anEventFilter - new EventFilterEventFilter getEventFilter(Domain aDomain)
aDomain - domain
void removeEventFilter(Domain aDomain)
EventFilter of the domain.
aDomain - domain to drop the EventFilter from
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||