Class 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 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 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