public final class HistoryEventHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static HistoryEvent |
create(HistoryEvent historyEvent)
Creation of an instance of historyEvent
|
static List<HistoryEvent> |
findByDocument(int nDocumentId,
Locale locale)
Returns a collection of historyEvents objects
|
static Collection<HistoryEvent> |
findByUser(String strUser,
Locale locale)
Returns a collection of historyEvents objects
|
static void |
remove(int nDocumentId)
Remove the HistoryEvent whose identifier is specified in parameter
|
public static HistoryEvent create(HistoryEvent historyEvent)
historyEvent - The instance of the historyEvent which contains the informations to storepublic static void remove(int nDocumentId)
nDocumentId - The document Idpublic static List<HistoryEvent> findByDocument(int nDocumentId, Locale locale)
nDocumentId - The document Idlocale - The current localepublic static Collection<HistoryEvent> findByUser(String strUser, Locale locale)
strUser - The user Idlocale - The current localeCopyright © 2020 City of Paris. All rights reserved.