public final class HistoryEventDAO extends Object implements IHistoryEventDAO
| Constructor and Description |
|---|
HistoryEventDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nDocumentId)
Delete a record from the table
|
void |
insert(HistoryEvent historyEvent)
Insert a new record in the table.
|
List<HistoryEvent> |
selectEventListByDocument(int nDocumentId)
Load the list of historyEvents
|
Collection<HistoryEvent> |
selectEventListByUser(String strUserId)
Load the list of historyEvents
|
public void insert(HistoryEvent historyEvent)
insert in interface IHistoryEventDAOhistoryEvent - The historyEvent objectpublic void delete(int nDocumentId)
delete in interface IHistoryEventDAOnDocumentId - The id of the documentpublic List<HistoryEvent> selectEventListByDocument(int nDocumentId)
selectEventListByDocument in interface IHistoryEventDAOnDocumentId - The document Idpublic Collection<HistoryEvent> selectEventListByUser(String strUserId)
selectEventListByUser in interface IHistoryEventDAOstrUserId - The UserIdCopyright © 2020 City of Paris. All rights reserved.