Class PurgeIdentityDaemon

java.lang.Object
fr.paris.lutece.portal.service.daemon.Daemon
fr.paris.lutece.plugins.identitystore.service.daemon.LoggingDaemon
fr.paris.lutece.plugins.identitystore.service.daemon.PurgeIdentityDaemon
All Implemented Interfaces:
LoggingTask, Runnable

public class PurgeIdentityDaemon extends LoggingDaemon
This daemon is used to purge expired Identity.
Those identities are the ones that reached or exceeded their expiration date, and that are also NOT :
  • Associated with a MonParis account
  • Merged to a primary Identity
For each of those expired identities, their GRU notifications are fetched :
  • If there are notifications, a new expiration date for the identity is calculated starting from the date of the last notification.
  • If the new expiration date is after the current date, the treatment for this identity is stopped.
  • If the new expiration date is still before the current date, the identity is purged.
The purge consist of, for the identity and all of its potential merged identities : The identity's history is kept.
  • Field Summary

    Fields inherited from class fr.paris.lutece.portal.service.daemon.Daemon

    RESULT_FAILED, RESULT_PROCESSING, RESULT_SUCCESS, RESULT_UNKNOWN, STATUS_RUNNING, STATUS_STOPPED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Methods inherited from class fr.paris.lutece.plugins.identitystore.service.daemon.LoggingDaemon

    debug, error, info, run

    Methods inherited from class fr.paris.lutece.portal.service.daemon.Daemon

    appendLastRunLogs, getLastRunLogs, getPluginName, getResult, setLastRunLogs, setPluginName, setResult

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PurgeIdentityDaemon

      public PurgeIdentityDaemon()
  • Method Details