Class IdentityStoreNotifyListenerService


  • public final class IdentityStoreNotifyListenerService
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static IdentityStoreNotifyListenerService instance()
      Returns the unique instance
      void notifyListenersAttributeChange​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChangeType changeType, Identity identity, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus attributeStatus, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author, java.lang.String clientCode)
      Notify an attribute change to all registered listeners
      void notifyListenersIdentityChange​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType identityChangeType, Identity identity, java.lang.String statusCode, java.lang.String statusMessage, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author, java.lang.String clientCode, java.util.Map<java.lang.String,​java.lang.String> metadata)
      Notify an identityChange to all registered listeners
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • notifyListenersAttributeChange

        public void notifyListenersAttributeChange​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChangeType changeType,
                                                   Identity identity,
                                                   fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus attributeStatus,
                                                   fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author,
                                                   java.lang.String clientCode)
        Notify an attribute change to all registered listeners
        Parameters:
        changeType - the type of change
        identity - the identity to which the attribute belongs
        attributeStatus - the attribute status
        author - the author of the change
        clientCode - the client code that triggered the change
      • notifyListenersIdentityChange

        public void notifyListenersIdentityChange​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType identityChangeType,
                                                  Identity identity,
                                                  java.lang.String statusCode,
                                                  java.lang.String statusMessage,
                                                  fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author,
                                                  java.lang.String clientCode,
                                                  java.util.Map<java.lang.String,​java.lang.String> metadata)
        Notify an identityChange to all registered listeners
        Parameters:
        identityChangeType - the type of change
        identity - the identity that changed
        statusCode - the status code of the change
        statusMessage - the message
        author - the author of the change
        clientCode - the client code that triggered the change
        metadata - additional data