public class GenericDataSource extends AbstractDataSource
EventDAO
. If
the object implements other DAO interfaces, it is used to provide those; otherwise, they are
supplied by the prefetching DAOs.logger
Constructor and Description |
---|
GenericDataSource(String name,
EventDAO dao) |
GenericDataSource(String name,
EventDAO dao,
PreferenceDomain dom) |
Modifier and Type | Method and Description |
---|---|
EventDAO |
getEventDAO()
Get an event DAO for this data source.
|
String |
getName()
Get the data source name.
|
PreferenceDomain |
getPreferenceDomain()
Get the preference domain of this data source.
|
long |
lastModified() |
configure, getItemDAO, getItemEventDAO, getItemNameDAO, getUserDAO, getUserEventDAO
public GenericDataSource(String name, EventDAO dao, PreferenceDomain dom)
public String getName()
DataSource
public PreferenceDomain getPreferenceDomain()
DataSource
public EventDAO getEventDAO()
DataSource
public long lastModified()