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 IHistoryEventDAO
historyEvent
- The historyEvent objectpublic void delete(int nDocumentId)
delete
in interface IHistoryEventDAO
nDocumentId
- The id of the documentpublic List<HistoryEvent> selectEventListByDocument(int nDocumentId)
selectEventListByDocument
in interface IHistoryEventDAO
nDocumentId
- The document Idpublic Collection<HistoryEvent> selectEventListByUser(String strUserId)
selectEventListByUser
in interface IHistoryEventDAO
strUserId
- The UserIdCopyright © 2020 City of Paris. All rights reserved.