org.onebusaway.gtfs.services
Interface GenericMutableDao

All Superinterfaces:
GenericDao
All Known Subinterfaces:
GtfsMutableDao, GtfsMutableRelationalDao
All Known Implementing Classes:
GenericDaoImpl, GtfsDaoImpl, GtfsRelationalDaoImpl

public interface GenericMutableDao
extends GenericDao


Method Summary
<T> void
clearAllEntitiesForType(java.lang.Class<T> type)
           
 void close()
           
 void flush()
           
 void open()
           
<K extends java.io.Serializable,T extends IdentityBean<K>>
void
removeEntity(T entity)
           
 void saveEntity(java.lang.Object entity)
           
 void saveOrUpdateEntity(java.lang.Object entity)
           
 void updateEntity(java.lang.Object entity)
           
 
Methods inherited from interface org.onebusaway.gtfs.services.GenericDao
getAllEntitiesForType, getEntityForId
 

Method Detail

open

void open()

saveEntity

void saveEntity(java.lang.Object entity)

updateEntity

void updateEntity(java.lang.Object entity)

saveOrUpdateEntity

void saveOrUpdateEntity(java.lang.Object entity)

removeEntity

<K extends java.io.Serializable,T extends IdentityBean<K>> void removeEntity(T entity)

clearAllEntitiesForType

<T> void clearAllEntitiesForType(java.lang.Class<T> type)

flush

void flush()

close

void close()


Copyright © 2011 OneBusAway. All Rights Reserved.