|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.business.history.HistoryEventHome
public final class HistoryEventHome
This class provides instances management methods (create, find, ...) for HistoryEvent objects
Method Summary | |
---|---|
static HistoryEvent |
create(HistoryEvent historyEvent)
Creation of an instance of historyEvent |
static java.util.List<HistoryEvent> |
findByDocument(int nDocumentId,
java.util.Locale locale)
Returns a collection of historyEvents objects |
static java.util.Collection<HistoryEvent> |
findByUser(java.lang.String strUser,
java.util.Locale locale)
Returns a collection of historyEvents objects |
static void |
remove(int nDocumentId)
Remove the HistoryEvent whose identifier is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HistoryEvent create(HistoryEvent historyEvent)
historyEvent
- The instance of the historyEvent which contains the informations to store
public static void remove(int nDocumentId)
nDocumentId
- The document Idpublic static java.util.List<HistoryEvent> findByDocument(int nDocumentId, java.util.Locale locale)
nDocumentId
- The document Idlocale
- The current locale
public static java.util.Collection<HistoryEvent> findByUser(java.lang.String strUser, java.util.Locale locale)
strUser
- The user Idlocale
- The current locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |