public class SourceManager
extends java.lang.Object
Constructor and Description |
---|
SourceManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
deleteSource(int id) |
Source |
getSource(int id) |
java.util.List<Source> |
getSourceList(int mid) |
java.util.List<Source> |
getSourceList(int mid,
java.util.Calendar date) |
java.util.List<Source> |
getSourceList(int mid,
java.util.Date dateFrom,
java.util.Date dateTo) |
java.util.List<Source> |
getSourceList(int mid,
int type,
java.util.Calendar date,
java.lang.String idList) |
void |
updateSource(Source source) |
public void updateSource(Source source)
public java.util.List<Source> getSourceList(int mid)
public java.util.List<Source> getSourceList(int mid, java.util.Date dateFrom, java.util.Date dateTo)
public java.util.List<Source> getSourceList(int mid, java.util.Calendar date)
public java.util.List<Source> getSourceList(int mid, int type, java.util.Calendar date, java.lang.String idList) throws java.sql.SQLException
java.sql.SQLException
public Source getSource(int id)
public void deleteSource(int id)