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 java.lang.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.
 java.util.List<HistoryEvent> selectEventListByDocument(int nDocumentId)
          Load the list of historyEvents
 java.util.Collection<HistoryEvent> selectEventListByUser(java.lang.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 -

selectEventListByDocument

public java.util.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 java.util.Collection<HistoryEvent> selectEventListByUser(java.lang.String strUserId)
Load the list of historyEvents

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.