Class DocumentHistoryService
- java.lang.Object
-
- fr.paris.lutece.plugins.document.service.history.DocumentHistoryService
-
- All Implemented Interfaces:
DocumentEventListener,java.util.EventListener
public class DocumentHistoryService extends java.lang.Object implements DocumentEventListener
This service logs document changes history
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentHistoryServicegetInstance()Returns the unique instance of the servicevoidprocessDocumentEvent(DocumentEvent event)Process a document event
-
-
-
Method Detail
-
getInstance
public static DocumentHistoryService getInstance()
Returns the unique instance of the service- Returns:
- The unique instance of the service
-
processDocumentEvent
public void processDocumentEvent(DocumentEvent event) throws DocumentException
Process a document event- Specified by:
processDocumentEventin interfaceDocumentEventListener- Parameters:
event- The event to process- Throws:
DocumentException- Exception occurs when error in event or rule
-
-