fr.paris.lutece.plugins.document.business.history
Class HistoryEventDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.document.business.history.HistoryEventDAO
All Implemented Interfaces:
IHistoryEventDAO

public final class HistoryEventDAO
extends Object
implements IHistoryEventDAO

This class provides Data Access methods for HistoryEvent objects


Constructor Summary
HistoryEventDAO()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryEventDAO

public HistoryEventDAO()
Method Detail

insert

public void insert(HistoryEvent historyEvent)
Insert a new record in the table.

Specified by:
insert in interface IHistoryEventDAO
Parameters:
historyEvent - The historyEvent object

delete

public void delete(int nDocumentId)
Delete a record from the table

Specified by:
delete in interface IHistoryEventDAO
Parameters:
nDocumentId - The id of the document

selectEventListByDocument

public List<HistoryEvent> selectEventListByDocument(int nDocumentId)
Load the list of historyEvents

Specified by:
selectEventListByDocument in interface IHistoryEventDAO
Parameters:
nDocumentId - The document Id
Returns:
The Collection of the HistoryEvents

selectEventListByUser

public Collection<HistoryEvent> selectEventListByUser(String strUserId)
Load the list of historyEvents

Specified by:
selectEventListByUser in interface IHistoryEventDAO
Parameters:
strUserId - The UserId
Returns:
The Collection of the HistoryEvents


Copyright © 2014 Mairie de Paris. All Rights Reserved.