Interface ICacheUserAttributeDAO
-
- All Known Implementing Classes:
CacheUserAttributeDAO
public interface ICacheUserAttributeDAOICacheUserAttributeDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(CacheUserAttribute cacheUserAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<CacheUserAttribute>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Optional<CacheUserAttribute>loadByUserAndAttributeId(java.lang.String idUser, int idAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<CacheUserAttribute>selectByListUserIdsAndAttributeId(java.util.List<java.lang.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 attributejava.util.List<CacheUserAttribute>selectCacheUserAttributesListByUserKey(java.lang.String strUserKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the cacheUserAttribute objects and returns them as a listjava.util.List<java.lang.Integer>selectIdCacheUserAttributesListByUserKey(java.lang.String strUserKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the cacheUserAttribute objects and returns them as a listvoidstore(CacheUserAttribute cacheUserAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(CacheUserAttribute cacheUserAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
cacheUserAttribute- instance of the CacheUserAttribute object to insertplugin- the Plugin
-
store
void store(CacheUserAttribute cacheUserAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
cacheUserAttribute- the reference of the CacheUserAttributeplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the CacheUserAttribute to deleteplugin- the Plugin
-
load
java.util.Optional<CacheUserAttribute> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the cacheUserAttributeplugin- the Plugin- Returns:
- The instance of the cacheUserAttribute
-
selectCacheUserAttributesListByUserKey
java.util.List<CacheUserAttribute> selectCacheUserAttributesListByUserKey(java.lang.String strUserKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the cacheUserAttribute objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the cacheUserAttribute objects
-
selectIdCacheUserAttributesListByUserKey
java.util.List<java.lang.Integer> selectIdCacheUserAttributesListByUserKey(java.lang.String strUserKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the cacheUserAttribute objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the cacheUserAttribute objects
-
selectByListUserIdsAndAttributeId
java.util.List<CacheUserAttribute> selectByListUserIdsAndAttributeId(java.util.List<java.lang.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- Parameters:
listUserIds- the list of id usernAttributeId- the id attributeplugin- the Plugin- Returns:
- The list which contains the data of all the cacheUserAttribute objects
-
loadByUserAndAttributeId
java.util.Optional<CacheUserAttribute> loadByUserAndAttributeId(java.lang.String idUser, int idAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
idUser- the user ididAttribute- The identifier of the cacheUserAttributeplugin- the Plugin- Returns:
- The instance of the cacheUserAttribute
-
-