Class IdentityStoreNotifyListenerService
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.service.listeners.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 IdentityStoreNotifyListenerServiceinstance()Returns the unique instancevoidnotifyListenersAttributeChange(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 listenersvoidnotifyListenersIdentityChange(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
-
-
-
Method Detail
-
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, java.lang.String clientCode)Notify an attribute change to all registered listeners- Parameters:
changeType- the type of changeidentity- the identity to which the attribute belongsattributeStatus- the attribute statusauthor- the author of the changeclientCode- 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 changeidentity- the identity that changedstatusCode- the status code of the changestatusMessage- the messageauthor- the author of the changeclientCode- the client code that triggered the changemetadata- additional data
-
-