fr.paris.lutece.plugins.document.service.history
Class DocumentHistoryService

java.lang.Object
  extended by 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
static DocumentHistoryService getInstance()
          Returns the unique instance of the service
 void processDocumentEvent(DocumentEvent event)
          Process a document event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
processDocumentEvent in interface DocumentEventListener
Parameters:
event - The event to process
Throws:
DocumentException - Exception occurs when error in event or rule


Copyright © 2010 Mairie de Paris. All Rights Reserved.