Class AuthorizedUrlDAO

java.lang.Object
fr.paris.lutece.plugins.verifybackurl.business.AuthorizedUrlDAO
All Implemented Interfaces:
IAuthorizedUrlDAO

@ApplicationScoped public final class AuthorizedUrlDAO extends Object implements IAuthorizedUrlDAO
This class provides Data Access methods for AuthorizedUrl objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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.
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectAuthorizedUrlsByApplicationCode(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
    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
    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 Details

    • AuthorizedUrlDAO

      public AuthorizedUrlDAO()
  • Method Details

    • 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 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 List<AuthorizedUrl> selectAuthorizedUrlsByApplicationCode(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 List<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