Class AuthorizedUrlDAO

  • All Implemented Interfaces:
    IAuthorizedUrlDAO

    public final class AuthorizedUrlDAO
    extends java.lang.Object
    implements IAuthorizedUrlDAO
    This class provides Data Access methods for AuthorizedUrl 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
      void insert​(AuthorizedUrl authorizedUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      AuthorizedUrl load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<AuthorizedUrl> selectAuthorizedUrlsByApplicationCode​(java.lang.String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the authorizedUrl objects filtered by application codeand returns them as a list
      java.util.List<AuthorizedUrl> selectAuthorizedUrlsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the authorizedUrl objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectAuthorizedUrlsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the authorizedUrl objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdAuthorizedUrlsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the authorizedUrl objects and returns them as a list
      void store​(AuthorizedUrl authorizedUrl, 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

      • AuthorizedUrlDAO

        public AuthorizedUrlDAO()
    • Method Detail

      • insert

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

        public AuthorizedUrl load​(int nKey,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IAuthorizedUrlDAO
        Parameters:
        nKey - The identifier of the authorizedUrl
        plugin - the Plugin
        Returns:
        The instance of the authorizedUrl
      • 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 IAuthorizedUrlDAO
        Parameters:
        nKey - The identifier of the AuthorizedUrl to delete
        plugin - the Plugin
      • store

        public void store​(AuthorizedUrl authorizedUrl,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IAuthorizedUrlDAO
        Parameters:
        authorizedUrl - the reference of the AuthorizedUrl
        plugin - the Plugin
      • selectAuthorizedUrlsList

        public java.util.List<AuthorizedUrl> selectAuthorizedUrlsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the authorizedUrl objects and returns them as a list
        Specified by:
        selectAuthorizedUrlsList in interface IAuthorizedUrlDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the authorizedUrl objects
      • selectAuthorizedUrlsByApplicationCode

        public java.util.List<AuthorizedUrl> selectAuthorizedUrlsByApplicationCode​(java.lang.String strApplicationCode,
                                                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the authorizedUrl objects filtered by application codeand returns them as a list
        Specified by:
        selectAuthorizedUrlsByApplicationCode in interface IAuthorizedUrlDAO
        Parameters:
        strApplicationCode - the application code
        plugin - the Plugin
        Returns:
        The list which contains the data of all the authorizedUrl objects
      • selectIdAuthorizedUrlsList

        public java.util.List<java.lang.Integer> selectIdAuthorizedUrlsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the authorizedUrl objects and returns them as a list
        Specified by:
        selectIdAuthorizedUrlsList in interface IAuthorizedUrlDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the authorizedUrl objects
      • selectAuthorizedUrlsReferenceList

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