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
|
int |
getLastIdHistory(String strConnectionId,
String strCertifierCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return last id of history change for a given connection_id and certifier_name USE for gru_certifier id generation
|
void |
insert(IdentityAttribute identityAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
IdentityAttribute |
load(int nIdentityId,
int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<IdentityAttribute> |
selectAllAttributesByIdentityList(List<Identity> listIdentity,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
IdentityAttribute |
selectAttribute(int nIdentityId,
String strAttributeKey,
String strClientCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of an attribute for a given identity ID and attribute key which is allowed for the client application provided
|
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
|
Map<String,IdentityAttribute> |
selectAttributes(int nIdentityId,
String strClientCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all attributes for a given identity ID which are alowed for the client application provided
|
List<IdentityAttribute> |
selectAttributesByIdentityList(List<Identity> listIdentity,
List<String> listAttributeKeyNames,
String strClientCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of a selection of attributes that are allowed for the client application provided for a list of identity
|
fr.paris.lutece.util.ReferenceList |
selectIdentityAttributesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the identityAttribute objects and returns them as a referenceList
|
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 IdentityAttribute load(int nIdentityId, int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IIdentityAttributeDAOnIdentityId - The identity IDnAttributeId - The Attribute IDplugin - 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 Map<String,IdentityAttribute> selectAttributes(int nIdentityId, String strClientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributes in interface IIdentityAttributeDAOnIdentityId - The identity IDstrClientCode - code of client applicationplugin - the Pluginpublic List<IdentityAttribute> selectAttributesByIdentityList(List<Identity> listIdentity, List<String> listAttributeKeyNames, String strClientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributesByIdentityList in interface IIdentityAttributeDAOlistIdentity - The list of identitylistAttributeKeyNames - The list of attributes to loadstrClientCode - code of client applicationplugin - the Pluginpublic List<IdentityAttribute> selectAllAttributesByIdentityList(List<Identity> listIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAllAttributesByIdentityList in interface IIdentityAttributeDAOpublic fr.paris.lutece.util.ReferenceList selectIdentityAttributesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdentityAttributesReferenceList in interface IIdentityAttributeDAOplugin - the Pluginpublic IdentityAttribute selectAttribute(int nIdentityId, String strAttributeKey, String strClientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttribute in interface IIdentityAttributeDAOnIdentityId - The identity IDstrAttributeKey - attribute keystrClientCode - code of client applicationplugin - 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 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.JsonProcessingExceptionpublic int getLastIdHistory(String strConnectionId, String strCertifierCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getLastIdHistory in interface IIdentityAttributeDAOstrConnectionId - connection id of the identitystrCertifierCode - code of the certifierplugin - pluginCopyright © 2023 City of Paris. All rights reserved.