Interface IClientApplicationDAO

  • All Known Implementing Classes:
    ClientApplicationDAO

    public interface IClientApplicationDAO
    IClientApplicationDAO Interface
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_NAME  
    • 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
      java.util.List<ClientApplication> getClientApplications​(java.lang.String strCertifier, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Retrieve ClientApplication allowed for a given certifier
      void insert​(ClientApplication clientApp, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      ClientApplication load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<ClientApplication> selectByApplicationCode​(java.lang.String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      ClientApplication selectByClientCode​(java.lang.String strClientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select a ClientApplication by its code
      ClientApplication selectByContractId​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      java.util.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
      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
      java.util.List<java.lang.Integer> selectIdClientApplicationList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the ClientApplication objects and returns them as a list
      void store​(ClientApplication clientApp, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

        void store​(ClientApplication clientApp,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        clientApp - the reference of the ClientApplication
        plugin - the Plugin
      • selectByContractId

        ClientApplication selectByContractId​(int nKey,
                                             fr.paris.lutece.portal.service.plugin.Plugin 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 ClientApplication to delete
        plugin - the Plugin
      • load

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

        java.util.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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the ClientApplication objects
      • selectIdClientApplicationList

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

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the ClientApplication objects
      • selectByClientCode

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

        java.util.List<ClientApplication> getClientApplications​(java.lang.String strCertifier,
                                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Retrieve ClientApplication allowed for a given certifier
        Parameters:
        strCertifier - The identifier of the certifier
        plugin - The plugin
        Returns:
        list of allowed ClientApplication
      • selectByApplicationCode

        java.util.List<ClientApplication> selectByApplicationCode​(java.lang.String strApplicationCode,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)