Interface IClusterDAO

  • All Known Implementing Classes:
    ClusterDAO

    public interface IClusterDAO
    IClusterDAO 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​(Cluster cluster, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Cluster load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<Cluster> selectClustersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the cluster objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectClustersReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the cluster objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdClustersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the cluster objects and returns them as a list
      void store​(Cluster cluster, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

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

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

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