Class PulpRedirectDaoImpl

java.lang.Object
com.atlassian.jira.pulp.impl.PulpRedirectDaoImpl
All Implemented Interfaces:
PulpRedirectDao

@Named @ParametersAreNonnullByDefault public class PulpRedirectDaoImpl extends Object implements PulpRedirectDao
A PulpRedirectDao that is backed by the ApplicationProperties API.
Since:
7.4
  • Constructor Details

  • Method Details

    • addRedirect

      public boolean addRedirect(ApplicationUser user, int jiraBuildNumber)
      Description copied from interface: PulpRedirectDao
      Records the given user as having been redirected to the PULP for the given version of JIRA.
      Specified by:
      addRedirect in interface PulpRedirectDao
      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

      public int getRedirectCount(int jiraBuildNumber)
      Description copied from interface: PulpRedirectDao
      Returns the number of users who have been redirected to the PULP for the given version of JIRA.
      Specified by:
      getRedirectCount in interface PulpRedirectDao
      Parameters:
      jiraBuildNumber - the JIRA application build number
      Returns:
      see above