public interface IIdentityAttributeDAO
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeChangeHistory(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
|
List<AttributeChange> |
getAttributeChangeHistory(int nIdentityId,
String strAttributeKey,
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
|
IdentityAttribute |
selectAttribute(int nIdentityId,
String strAttributeKey,
String strApplicationCode,
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 strApplicationCode,
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 strApplicationCode,
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
|
static final String BEAN_NAME
void insert(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
identityAttribute - instance of the IdentityAttribute object to insertplugin - the Pluginvoid store(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
identityAttribute - the reference of the IdentityAttributeplugin - the Pluginvoid delete(int nIdentityId,
int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - The identity IDnAttributeId - The Attribute IDplugin - the PluginIdentityAttribute load(int nIdentityId, int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - The identity IDnAttributeId - The Attribute IDplugin - the PluginMap<String,IdentityAttribute> selectAttributes(int nIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - The Identity IDplugin - the PluginMap<String,IdentityAttribute> selectAttributes(int nIdentityId, String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - The identity IDstrApplicationCode - code of client applicationplugin - the PluginList<IdentityAttribute> selectAttributesByIdentityList(List<Identity> listIdentity, List<String> listAttributeKeyNames, String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdentity - The list of identitylistAttributeKeyNames - The list of attributes to loadstrApplicationCode - code of client applicationplugin - the Pluginfr.paris.lutece.util.ReferenceList selectIdentityAttributesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginIdentityAttribute selectAttribute(int nIdentityId, String strAttributeKey, String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - The identity IDstrApplicationCode - code of client applicationstrAttributeKey - attribute keyplugin - the Pluginvoid deleteAllAttributes(int nIdentityId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - The identity IDplugin - the Pluginvoid addAttributeChangeHistory(AttributeChange attributeChange, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attributeChange - attribute change desc objectplugin - the PluginList<AttributeChange> getAttributeChangeHistory(int nIdentityId, String strAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdentityId - identityIdstrAttributeKey - attributeKeyplugin - pluginint getLastIdHistory(String strConnectionId, String strCertifierCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strConnectionId - connection id of the identitystrCertifierCode - code of the certifierplugin - pluginCopyright © 2022 City of Paris. All rights reserved.