Class IdentityStoreNotifyListenerService

java.lang.Object
fr.paris.lutece.plugins.identitystore.service.listeners.IdentityStoreNotifyListenerService

public final class IdentityStoreNotifyListenerService extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    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, 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, String statusCode, String statusMessage, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author, String clientCode, Map<String,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 Details

    • instance

      public static IdentityStoreNotifyListenerService instance()
      Returns the unique instance
      Returns:
      The instance
    • 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, 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, String statusCode, String statusMessage, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author, String clientCode, Map<String,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