Class PurgeIdentityDaemon

  • All Implemented Interfaces:
    LoggingTask, java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doTask()
      • 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 Detail

      • PurgeIdentityDaemon

        public PurgeIdentityDaemon()