Interface IUserAcceptedDAO

  • All Known Implementing Classes:
    UserAcceptedDAO

    public interface IUserAcceptedDAO
    IUserAcceptedDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      boolean existsAcceptedVersionEntry​(int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Checks whether the specified version entry has been accepted at least once.
      void insert​(UserAccepted userAccepted, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<UserAccepted> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<UserAccepted> loadByGuid​(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<UserAccepted> loadByGuidAndIdEntryAndVersion​(java.lang.String strGuid, int nIdEntry, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<java.lang.Integer> selectIdUserAcceptedsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the userAccepted objects and returns them as a list
      java.util.List<UserAccepted> selectUserAcceptedsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the userAccepted objects and returns them as a list
      java.util.List<UserAccepted> selectUserAcceptedsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectUserAcceptedsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the userAccepted objects and returns them as a referenceList
      void store​(UserAccepted userAccepted, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

        void insert​(UserAccepted userAccepted,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        userAccepted - instance of the UserAccepted object to insert
        plugin - the Plugin
      • store

        void store​(UserAccepted userAccepted,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        userAccepted - the reference of the UserAccepted
        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 UserAccepted to delete
        plugin - the Plugin
      • load

        java.util.Optional<UserAccepted> load​(int nKey,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the userAccepted
        plugin - the Plugin
        Returns:
        The instance of the userAccepted
      • loadByGuid

        java.util.Optional<UserAccepted> loadByGuid​(java.lang.String strGuid,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the userAccepted
        plugin - the Plugin
        Returns:
        The instance of the userAccepted
      • loadByGuidAndIdEntryAndVersion

        java.util.Optional<UserAccepted> loadByGuidAndIdEntryAndVersion​(java.lang.String strGuid,
                                                                        int nIdEntry,
                                                                        int nVersion,
                                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        strGuid - The guid
        nIdEntry - The id entry
        nVersion - The version of entry
        plugin - the Plugin
        Returns:
        The instance of the userAccepted
      • selectUserAcceptedsList

        java.util.List<UserAccepted> selectUserAcceptedsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the userAccepted objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the userAccepted objects
      • selectIdUserAcceptedsList

        java.util.List<java.lang.Integer> selectIdUserAcceptedsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the userAccepted objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the userAccepted objects
      • selectUserAcceptedsReferenceList

        fr.paris.lutece.util.ReferenceList selectUserAcceptedsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the userAccepted objects and returns them as a referenceList
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the userAccepted objects
      • selectUserAcceptedsListByIds

        java.util.List<UserAccepted> selectUserAcceptedsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                  java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • existsAcceptedVersionEntry

        boolean existsAcceptedVersionEntry​(int nVersion,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Checks whether the specified version entry has been accepted at least once.
        Parameters:
        nVersion -
        plugin -
        Returns:
        true if the version entry has already been accepted at least once, false otherwise