net.sf.dropboxmq.workflow.persistence.jdbc
Class EventTypePersistenceImpl

java.lang.Object
  extended by net.sf.dropboxmq.workflow.persistence.jdbc.EventTypePersistenceImpl
All Implemented Interfaces:
EventTypePersistence

public class EventTypePersistenceImpl
extends Object
implements EventTypePersistence

Created: 04 Feb 2011

Version:
$Revision$, $Date$
Author:
Dwayne Schultz

Constructor Summary
EventTypePersistenceImpl(PersistenceFactoryImpl persistenceFactory)
           
 
Method Summary
 void disableEventType(int id)
           
 Collection<EventType> getEnabledEventTypesByProcessor(String processorName)
           
 Collection<EventType> getEventTypesByProcessTypeId(int processTypeId)
           
(package private)  JDBCHelper newJDBCHelper()
           
 void storeEventType(EventType eventType)
           
 void updateEventType(int id, EventType eventType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventTypePersistenceImpl

public EventTypePersistenceImpl(PersistenceFactoryImpl persistenceFactory)
Method Detail

storeEventType

public void storeEventType(EventType eventType)
Specified by:
storeEventType in interface EventTypePersistence

newJDBCHelper

JDBCHelper newJDBCHelper()

updateEventType

public void updateEventType(int id,
                            EventType eventType)
Specified by:
updateEventType in interface EventTypePersistence

disableEventType

public void disableEventType(int id)
Specified by:
disableEventType in interface EventTypePersistence

getEventTypesByProcessTypeId

public Collection<EventType> getEventTypesByProcessTypeId(int processTypeId)
Specified by:
getEventTypesByProcessTypeId in interface EventTypePersistence

getEnabledEventTypesByProcessor

public Collection<EventType> getEnabledEventTypesByProcessor(String processorName)
Specified by:
getEnabledEventTypesByProcessor in interface EventTypePersistence