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.LuteceServiceAttributeChangeListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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 change
-
-
-
Method Detail
-
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.IdentityStoreExceptionRegister 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
-
-