public final class IdentityStoreNotifyListenerService extends Object
Modifier and Type | Method and Description |
---|---|
static AttributeChange |
buildAttributeChange(Identity identity,
String strKey,
String strValue,
String strOldValue,
ChangeAuthor author,
AttributeCertificate certificate,
boolean bIsCreation)
create and return an AttributeChange from input params
|
static IdentityStoreNotifyListenerService |
instance()
Returns the unique instance
|
void |
notifyListenersAttributeChange(AttributeChange change)
Notify an attribute change to all registered listeners
|
void |
notifyListenersIdentityChange(IdentityChange identityChange)
Notify an identityChange to all registered listeners
|
public static IdentityStoreNotifyListenerService instance()
public void notifyListenersAttributeChange(AttributeChange change)
change
- The changepublic void notifyListenersIdentityChange(IdentityChange identityChange)
identityChange
- The identityChangepublic static AttributeChange buildAttributeChange(Identity identity, String strKey, String strValue, String strOldValue, ChangeAuthor author, AttributeCertificate certificate, boolean bIsCreation)
identity
- modified identitystrKey
- attribute key which is modifiedstrValue
- attribute new valuestrOldValue
- attribute old valueauthor
- author of changecertificate
- attribute certificate if it s a certification casebIsCreation
- true if attribute is a new one, false if it s an updateCopyright © 2018 City of Paris. All rights reserved.