public final class IdentityAttributeDAO extends Object implements IIdentityAttributeDAO
BEAN_NAME| Constructor and Description |
|---|
IdentityAttributeDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeChangeHistory(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange attributeChange,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
add an historical change attribute entry
|
void |
delete(int nIdentityId,
int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteAllAttributes(int nIdentityId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all attributes matching the provided identityId
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange |
getAttributeChange(fr.paris.lutece.util.sql.DAOUtil daoUtil) |
List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange> |
getAttributeChangeHistory(int nIdentityId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return list of attribute change history for an identity attribute from the newest to the latest change
|
List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange> |
getAttributeChangeHistory(String customerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return list of attribute change history for an identity attribute from the newest to the latest change
|
IdentityAttribute |
getIdentityAttribute(fr.paris.lutece.util.sql.DAOUtil daoUtil) |
void |
insert(IdentityAttribute identityAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
List<IdentityAttribute> |
selectAllAttributesByIdentityList(List<Identity> listIdentity,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of a selection of attributes for a list of identity
|
Map<String,IdentityAttribute> |
selectAttributes(int nIdentityId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the identityAttribute objects and returns them as a list
|
void |
store(IdentityAttribute identityAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IIdentityAttributeDAOidentityAttribute - instance of the IdentityAttribute object to insertplugin - the Pluginpublic void delete(int nIdentityId,
int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IIdentityAttributeDAOnIdentityId - The identity IDnAttributeId - The Attribute IDplugin - the Pluginpublic void store(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IIdentityAttributeDAOidentityAttribute - the reference of the IdentityAttributeplugin - the Pluginpublic Map<String,IdentityAttribute> selectAttributes(int nIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributes in interface IIdentityAttributeDAOnIdentityId - The Identity IDplugin - the Pluginpublic List<IdentityAttribute> selectAllAttributesByIdentityList(List<Identity> listIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAllAttributesByIdentityList in interface IIdentityAttributeDAOlistIdentity - The list of identityplugin - the Pluginpublic void deleteAllAttributes(int nIdentityId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IIdentityAttributeDAOdeleteAllAttributes in interface IIdentityAttributeDAOnIdentityId - The identity IDplugin - the Pluginpublic void addAttributeChangeHistory(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange attributeChange,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
IIdentityAttributeDAOaddAttributeChangeHistory in interface IIdentityAttributeDAOattributeChange - attribute change desc objectplugin - the Pluginfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange> getAttributeChangeHistory(int nIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
IIdentityAttributeDAOgetAttributeChangeHistory in interface IIdentityAttributeDAOnIdentityId - identityIdplugin - pluginfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange> getAttributeChangeHistory(String customerId, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
IIdentityAttributeDAOgetAttributeChangeHistory in interface IIdentityAttributeDAOcustomerId - customerIdplugin - pluginfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic IdentityAttribute getIdentityAttribute(fr.paris.lutece.util.sql.DAOUtil daoUtil)
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange getAttributeChange(fr.paris.lutece.util.sql.DAOUtil daoUtil)
throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2023 City of Paris. All rights reserved.