public final class IdentityAttributeDAO extends Object implements IIdentityAttributeDAO
BEAN_NAME| Constructor and Description |
|---|
IdentityAttributeDAO() |
| 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
|
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 strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributes in interface IIdentityAttributeDAOnIdentityId - The identity IDstrApplicationCode - code of client applicationplugin - the Pluginpublic 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 strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttribute in interface IIdentityAttributeDAOnIdentityId - The identity IDstrAttributeKey - attribute keystrApplicationCode - 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(AttributeChange attributeChange, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IIdentityAttributeDAOaddAttributeChangeHistory in interface IIdentityAttributeDAOattributeChange - attribute change desc objectplugin - the Pluginpublic List<AttributeChange> getAttributeChangeHistory(int nIdentityId, String strAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IIdentityAttributeDAOgetAttributeChangeHistory in interface IIdentityAttributeDAOnIdentityId - identityIdstrAttributeKey - attributeKeyplugin - pluginpublic 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 © 2019 City of Paris. All rights reserved.