Interface IReferenceDAO

  • All Known Implementing Classes:
    ReferenceDAO

    public interface IReferenceDAO
    IReferenceDAO 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​(Reference reference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Reference load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      int loadByName​(java.lang.String referenceName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<java.lang.Integer> selectIdReferencesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the reference objects and returns them as a list
      java.util.List<Reference> selectReferencesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the reference objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectReferencesReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the reference objects and returns them as a referenceList
      void store​(Reference reference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

        Reference load​(int nKey,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the reference
        plugin - the Plugin
        Returns:
        The instance of the reference
      • loadByName

        int loadByName​(java.lang.String referenceName,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        referenceName - The name of the reference
        plugin - the Plugin
        Returns:
        The instance of the reference
      • selectReferencesList

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

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

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