Interface ITemporaryCodeDAO

  • All Known Implementing Classes:
    TemporaryCodeDAO

    public interface ITemporaryCodeDAO
    ITemporaryCodeDAO 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
      void insert​(TemporaryCode temporaryCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<TemporaryCode> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<TemporaryCode> loadByCodeAndActionName​(java.lang.String strCode, java.lang.String strActionName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load temporary code by code and action name
      java.util.Optional<TemporaryCode> loadByUserAndActionName​(java.lang.String strUserId, java.lang.String strActionName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load temporary code bu user id and action name
      java.util.Optional<TemporaryCode> loadByUserIdAndCode​(java.lang.String strUserId, java.lang.String strCode, java.lang.String strActonName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table by user id and code
      java.util.List<java.lang.Integer> selectIdTemporaryCodesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the temporaryCode objects and returns them as a list
      java.util.List<TemporaryCode> selectTemporaryCodesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the temporaryCode objects and returns them as a list
      java.util.List<TemporaryCode> selectTemporaryCodesListByIds​(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 selectTemporaryCodesReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the temporaryCode objects and returns them as a referenceList
      void store​(TemporaryCode temporaryCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

        java.util.Optional<TemporaryCode> loadByUserIdAndCode​(java.lang.String strUserId,
                                                              java.lang.String strCode,
                                                              java.lang.String strActonName,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table by user id and code
        Parameters:
        strUserId - the user id
        strCode - the code
        strActionName - the action name
        plugin - the Plugin
        Returns:
        The instance of the temporaryCode
      • loadByUserAndActionName

        java.util.Optional<TemporaryCode> loadByUserAndActionName​(java.lang.String strUserId,
                                                                  java.lang.String strActionName,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load temporary code bu user id and action name
        Parameters:
        strUserId -
        strActionName -
        Returns:
        The instance of temporary code
      • loadByCodeAndActionName

        java.util.Optional<TemporaryCode> loadByCodeAndActionName​(java.lang.String strCode,
                                                                  java.lang.String strActionName,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load temporary code by code and action name
        Parameters:
        strCode -
        strActionName -
        Returns:
        The instance of temporary code
      • selectTemporaryCodesList

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

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

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

        java.util.List<TemporaryCode> selectTemporaryCodesListByIds​(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