Class ClientApplicationDAO

  • All Implemented Interfaces:
    IClientApplicationDAO

    public final class ClientApplicationDAO
    extends java.lang.Object
    implements IClientApplicationDAO
    This class provides Data Access methods for ClientApplication objects
    • Method Summary

      All Methods Instance Methods Concrete 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 clientApplication, 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 clientApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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
        Specified by:
        selectClientApplicationList in interface IClientApplicationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the ClientApplication objects
      • selectIdClientApplicationList

        public 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
        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​(java.lang.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 java.util.List<ClientApplication> getClientApplications​(java.lang.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