Class ClientApplicationDAO

    • Constructor Detail

      • ClientApplicationDAO

        public ClientApplicationDAO()
    • Method Detail

      • insert

        public void insert​(ClientApplication clientApplication,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IClientApplicationDAO
        Parameters:
        clientApplication - instance of the ClientApplication object to insert
        plugin - the Plugin
      • load

        public ClientApplication load​(int nKey,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IClientApplicationDAO
        Parameters:
        nKey - The identifier of the ClientApplication
        plugin - the Plugin
        Returns:
        The instance of the ClientApplication
      • delete

        public void delete​(int nKey,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IClientApplicationDAO
        Parameters:
        nKey - The identifier of the ClientApplication to delete
        plugin - the Plugin
      • store

        public void store​(ClientApplication clientApplication,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IClientApplicationDAO
        Parameters:
        clientApplication - the reference of the ClientApplication
        plugin - the Plugin
      • selectClientApplicationList

        public List<ClientApplication> selectClientApplicationList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the ClientApplication objects and returns them as a list
        Specified by:
        selectClientApplicationList in interface IClientApplicationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the ClientApplication objects
      • selectIdClientApplicationList

        public List<Integer> selectIdClientApplicationList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the ClientApplication objects and returns them as a list
        Specified by:
        selectIdClientApplicationList in interface IClientApplicationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the ClientApplication objects
      • selectClientApplicationReferenceList

        public fr.paris.lutece.util.ReferenceList selectClientApplicationReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the ClientApplication objects and returns them as a referenceList
        Specified by:
        selectClientApplicationReferenceList in interface IClientApplicationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the ClientApplication objects
      • selectByClientCode

        public ClientApplication selectByClientCode​(String strClientCode,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Select a ClientApplication by its code
        Specified by:
        selectByClientCode in interface IClientApplicationDAO
        Parameters:
        strClientCode - The code
        plugin - The plugin
        Returns:
        The ClientApplication
      • getClientApplications

        public List<ClientApplication> getClientApplications​(String strCertifier,
                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Retrieve ClientApplication allowed for a given certifier
        Specified by:
        getClientApplications in interface IClientApplicationDAO
        Parameters:
        strCertifier - The identifier of the certifier
        plugin - The plugin
        Returns:
        list of allowed ClientApplication