public class EventDAODbFacadeImpl extends BaseDAODbFacade implements EventDAO
EventSubscriberDAODbFacadeImpl provides an implementation of EventSubscriberDAO that uses the
refactored DbFacade code.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
EventDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<event_subscriber> |
getAll()
Returns all event subscribers.
|
List<event_map> |
getAllEventMaps() |
List<event_notification_methods> |
getAllEventNotificationMethods()
Retrieves the list of all event notification methods.
|
List<event_subscriber> |
getAllForSubscriber(Guid id)
Retrieves all event subscriptions for the given subscriber id.
|
List<event_map> |
getEventMapByName(String event_up_name) |
List<event_notification_methods> |
getEventNotificationMethodsById(int method_id) |
List<event_notification_methods> |
getEventNotificationMethodsByType(String method_type) |
void |
subscribe(event_subscriber subscriber)
Saves the provided subscriber.
|
void |
unsubscribe(event_subscriber subscriber)
Removes the specified subscriber.
|
void |
update(event_subscriber subscriber,
int oldMethodId)
Updates the provided subscriber.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic List<event_subscriber> getAll()
EventDAOpublic List<event_subscriber> getAllForSubscriber(Guid id)
EventDAOgetAllForSubscriber in interface EventDAOid - the subscriber idpublic List<event_notification_methods> getAllEventNotificationMethods()
EventDAOgetAllEventNotificationMethods in interface EventDAOpublic List<event_notification_methods> getEventNotificationMethodsById(int method_id)
getEventNotificationMethodsById in interface EventDAOpublic List<event_notification_methods> getEventNotificationMethodsByType(String method_type)
getEventNotificationMethodsByType in interface EventDAOpublic void subscribe(event_subscriber subscriber)
EventDAOpublic void update(event_subscriber subscriber, int oldMethodId)
EventDAOpublic void unsubscribe(event_subscriber subscriber)
EventDAOunsubscribe in interface EventDAOsubscriber - the subscriberpublic List<event_map> getAllEventMaps()
getAllEventMaps in interface EventDAOpublic List<event_map> getEventMapByName(String event_up_name)
getEventMapByName in interface EventDAOCopyright © 2012. All Rights Reserved.