public final class CacheUserAttributeDAO extends Object implements ICacheUserAttributeDAO
| Constructor and Description |
|---|
CacheUserAttributeDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(CacheUserAttribute cacheUserAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Optional<CacheUserAttribute> |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Optional<CacheUserAttribute> |
loadByUserAndAttributeId(String idUser,
int idAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<CacheUserAttribute> |
selectByListUserIdsAndAttributeId(List<String> listUserIds,
int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the cacheUserAttribute objects by list id user and id attribute
|
List<CacheUserAttribute> |
selectCacheUserAttributesListByUserKey(String strUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the cacheUserAttribute objects and returns them as a list
|
List<Integer> |
selectIdCacheUserAttributesListByUserKey(String strUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the cacheUserAttribute objects and returns them as a list
|
void |
store(CacheUserAttribute cacheUserAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(CacheUserAttribute cacheUserAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ICacheUserAttributeDAOcacheUserAttribute - instance of the CacheUserAttribute object to insertplugin - the Pluginpublic Optional<CacheUserAttribute> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ICacheUserAttributeDAOnKey - The identifier of the cacheUserAttributeplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ICacheUserAttributeDAOnKey - The identifier of the CacheUserAttribute to deleteplugin - the Pluginpublic void store(CacheUserAttribute cacheUserAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ICacheUserAttributeDAOcacheUserAttribute - the reference of the CacheUserAttributeplugin - the Pluginpublic List<CacheUserAttribute> selectCacheUserAttributesListByUserKey(String strUserKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCacheUserAttributesListByUserKey in interface ICacheUserAttributeDAOplugin - the Pluginpublic List<Integer> selectIdCacheUserAttributesListByUserKey(String strUserKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdCacheUserAttributesListByUserKey in interface ICacheUserAttributeDAOplugin - the Pluginpublic Optional<CacheUserAttribute> loadByUserAndAttributeId(String idUser, int idAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByUserAndAttributeId in interface ICacheUserAttributeDAOidUser - the user ididAttribute - The identifier of the cacheUserAttributeplugin - the Pluginpublic List<CacheUserAttribute> selectByListUserIdsAndAttributeId(List<String> listUserIds, int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByListUserIdsAndAttributeId in interface ICacheUserAttributeDAOlistUserIds - the list of id usernAttributeId - the id attributeplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.