Interface IIdentityAttributeDAO
- All Known Implementing Classes:
IdentityAttributeDAO
public interface IIdentityAttributeDAO
IIdentityAttributeDAO Interface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributeChangeHistory(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 entryvoiddelete(int nIdentityId, int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteAllAttributes(int nIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete all attributes matching the provided identityIdList<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 changeList<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 changevoidinsert(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.selectAllAttributesByIdentityList(List<Identity> listIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of a selection of attributes for a list of identityselectAttributes(int nIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the identityAttribute objects and returns them as a listvoidstore(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Method Details
-
insert
void insert(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
identityAttribute- instance of the IdentityAttribute object to insertplugin- the Plugin
-
store
void store(IdentityAttribute identityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Parameters:
identityAttribute- the reference of the IdentityAttributeplugin- the Plugin
-
delete
void delete(int nIdentityId, int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdentityId- The identity IDnAttributeId- The Attribute IDplugin- the Plugin
-
selectAttributes
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- Parameters:
nIdentityId- The Identity IDplugin- the Plugin- Returns:
- The map which contains the data of all the identityAttribute objects
-
selectAllAttributesByIdentityList
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- Parameters:
listIdentity- The list of identityplugin- the Plugin- Returns:
- the list which contains the data of the identityAttribute objects
-
deleteAllAttributes
void deleteAllAttributes(int nIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete all attributes matching the provided identityId- Parameters:
nIdentityId- The identity IDplugin- the Plugin
-
addAttributeChangeHistory
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 add an historical change attribute entry- Parameters:
attributeChange- attribute change desc objectplugin- the Plugin- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getAttributeChangeHistory
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 return list of attribute change history for an identity attribute from the newest to the latest change- Parameters:
nIdentityId- identityIdplugin- plugin- Returns:
- list of attribute change history for an identity attribute
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getAttributeChangeHistory
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 return list of attribute change history for an identity attribute from the newest to the latest change- Parameters:
customerId- customerIdplugin- plugin- Returns:
- list of attribute change history for an identity attribute
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-