|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object hirondelle.fish.main.visit.VisitDAO
public final class VisitDAO
Data Access Object (DAO) for Visit
objects.
Constructor Summary | |
---|---|
VisitDAO()
|
Method Summary | |
---|---|
(package private) Id |
add(Visit aVisit)
Add a new Visit to the database. |
(package private) boolean |
change(Visit aVisit)
Update an existing Visit . |
(package private) void |
delete(Id aVisitId)
Delete a Visit . |
(package private) Visit |
fetch(Id aVisitId)
Return a single Visit identified by its id. |
Visit |
fetchNextFutureVisit()
Fetch the next future Visit . |
(package private) List<Visit> |
list(DynamicSql aOrderBy)
Return a List of all Visit objects. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisitDAO()
Method Detail |
---|
List<Visit> list(DynamicSql aOrderBy) throws DAOException
Visit
objects.
aOrderBy
- determies the order of the returned items.
DAOException
Visit fetch(Id aVisitId) throws DAOException
Visit
identified by its id.
DAOException
public Visit fetchNextFutureVisit() throws DAOException
Visit
.
This method is public, since used by other packages.
DAOException
Id add(Visit aVisit) throws DAOException
Visit
to the database.
DAOException
boolean change(Visit aVisit) throws DAOException
Visit
.
DAOException
void delete(Id aVisitId) throws DAOException
Visit
.
If an item is linked to this Visit
, then deletion will fail, and a
DAOException
is thrown.
DAOException
|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |