Package com.atlassian.jira.pulp
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 TypeMethodDescriptionbooleanaddRedirect(ApplicationUser user, int jiraBuildNumber) Records the given user as having been redirected to the PULP for the given version of JIRA.intgetRedirectCount(int jiraBuildNumber) Returns the number of users who have been redirected to the PULP for the given version of JIRA.
-
Method Details
-
addRedirect
Records the given user as having been redirected to the PULP for the given version of JIRA.- Parameters:
user- the user who was redirectedjiraBuildNumber- the JIRA build number- Returns:
trueiff 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
-