All Known Implementing Classes:
CacheUserAttributeDAO

public interface ICacheUserAttributeDAO
ICacheUserAttributeDAO Interface
  • Method Details

    • 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 insert
      plugin - 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 CacheUserAttribute
      plugin - 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 delete
      plugin - the Plugin
    • load

      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 cacheUserAttribute
      plugin - the Plugin
      Returns:
      The instance of the cacheUserAttribute
    • selectCacheUserAttributesListByUserKey

      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
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the cacheUserAttribute objects
    • selectIdCacheUserAttributesListByUserKey

      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
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the cacheUserAttribute objects
    • selectByListUserIdsAndAttributeId

      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
      Parameters:
      listUserIds - the list of id user
      nAttributeId - the id attribute
      plugin - the Plugin
      Returns:
      The list which contains the data of all the cacheUserAttribute objects
    • loadByUserAndAttributeId

      Optional<CacheUserAttribute> loadByUserAndAttributeId(String idUser, int idAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      idUser - the user id
      idAttribute - The identifier of the cacheUserAttribute
      plugin - the Plugin
      Returns:
      The instance of the cacheUserAttribute