Class HistoryEventDAO
java.lang.Object
fr.paris.lutece.plugins.document.business.history.HistoryEventDAO
- All Implemented Interfaces:
IHistoryEventDAO
This class provides Data Access methods for HistoryEvent objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nDocumentId) Delete a record from the tablevoidinsert(HistoryEvent historyEvent) Insert a new record in the table.selectEventListByDocument(int nDocumentId) Load the list of historyEventsselectEventListByUser(String strUserId) Load the list of historyEvents
-
Constructor Details
-
HistoryEventDAO
public HistoryEventDAO()
-
-
Method Details
-
insert
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
Load the list of historyEvents- Specified by:
selectEventListByDocumentin interfaceIHistoryEventDAO- Parameters:
nDocumentId- The document Id- Returns:
- The Collection of the HistoryEvents
-
selectEventListByUser
Load the list of historyEvents- Specified by:
selectEventListByUserin interfaceIHistoryEventDAO- Parameters:
strUserId- The UserId- Returns:
- The Collection of the HistoryEvents
-