Class HistoryEventDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.history.HistoryEventDAO
-
- All Implemented Interfaces:
IHistoryEventDAO
public final class HistoryEventDAO extends java.lang.Object implements IHistoryEventDAO
This class provides Data Access methods for HistoryEvent objects
-
-
Constructor Summary
Constructors Constructor Description HistoryEventDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nDocumentId)Delete a record from the tablevoidinsert(HistoryEvent historyEvent)Insert a new record in the table.java.util.List<HistoryEvent>selectEventListByDocument(int nDocumentId)Load the list of historyEventsjava.util.Collection<HistoryEvent>selectEventListByUser(java.lang.String strUserId)Load the list of historyEvents
-
-
-
Method Detail
-
insert
public void insert(HistoryEvent historyEvent)
Insert a new record in the table.- Specified by:
insertin interfaceIHistoryEventDAO- Parameters:
historyEvent- The historyEvent object
-
delete
public void delete(int nDocumentId)
Delete a record from the table- Specified by:
deletein interfaceIHistoryEventDAO- Parameters:
nDocumentId- The id of the document
-
selectEventListByDocument
public java.util.List<HistoryEvent> selectEventListByDocument(int nDocumentId)
Load the list of historyEvents- Specified by:
selectEventListByDocumentin interfaceIHistoryEventDAO- Parameters:
nDocumentId- The document Id- Returns:
- The Collection of the HistoryEvents
-
selectEventListByUser
public java.util.Collection<HistoryEvent> selectEventListByUser(java.lang.String strUserId)
Load the list of historyEvents- Specified by:
selectEventListByUserin interfaceIHistoryEventDAO- Parameters:
strUserId- The UserId- Returns:
- The Collection of the HistoryEvents
-
-