Interface AttributeChangeListener
- All Superinterfaces:
fr.paris.lutece.portal.service.util.LuteceService
- All Known Implementing Classes:
AttributeHistoryListener,LoggingListener
public interface AttributeChangeListener
extends fr.paris.lutece.portal.service.util.LuteceService
AttributeChangeListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChangebuildAttributeChange(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) create and return an AttributeChange from input paramsvoidprocessAttributeChange(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) Register an attribute changeMethods inherited from interface fr.paris.lutece.portal.service.util.LuteceService
getName
-
Method Details
-
processAttributeChange
void processAttributeChange(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) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException Register an attribute change- 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- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
buildAttributeChange
default fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange buildAttributeChange(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) create and return an AttributeChange from input params- Parameters:
changeType-identity-attributeStatus-author-clientCode-- Returns:
- AttributeChange from input params
-