Interface PulpRedirectDao

All Known Implementing Classes:
PulpRedirectDaoImpl

@ParametersAreNonnullByDefault public interface PulpRedirectDao
DAO for keeping a record of redirects to the post-upgrade landing page (PULP).
Since:
7.4
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addRedirect(ApplicationUser user, int jiraBuildNumber)
    Records the given user as having been redirected to the PULP for the given version of JIRA.
    int
    getRedirectCount(int jiraBuildNumber)
    Returns the number of users who have been redirected to the PULP for the given version of JIRA.
  • Method Details

    • addRedirect

      boolean addRedirect(ApplicationUser user, int jiraBuildNumber)
      Records the given user as having been redirected to the PULP for the given version of JIRA.
      Parameters:
      user - the user who was redirected
      jiraBuildNumber - the JIRA build number
      Returns:
      true iff the user has not previously seen the PULP
      See Also:
    • getRedirectCount

      int getRedirectCount(int jiraBuildNumber)
      Returns the number of users who have been redirected to the PULP for the given version of JIRA.
      Parameters:
      jiraBuildNumber - the JIRA application build number
      Returns:
      see above