Interface PulpRedirectDao
-
- All Known Implementing Classes:
PulpRedirectDaoImpl
@ParametersAreNonnullByDefault public interface PulpRedirectDaoDAO for keeping a record of redirects to the post-upgrade landing page (PULP).- Since:
- 7.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddRedirect(ConfluenceUser user, String confluenceVersionNumber)Records the given user as having been redirected to the PULP for the given version of Confluence.intgetRedirectCount(String confluenceVersionNumber)Returns the number of users who have been redirected to the PULP for the given version of Confluence.booleanhasBeenRedirected(ConfluenceUser user, String confluenceVersionNumber)Returns whether the user has been redirected to the PULP for this given version of Confluence.
-
-
-
Method Detail
-
addRedirect
boolean addRedirect(ConfluenceUser user, String confluenceVersionNumber)
Records the given user as having been redirected to the PULP for the given version of Confluence.- Parameters:
user- the user who was redirectedconfluenceVersionNumber- the Confluence version number- Returns:
trueiff the user has not previously seen the PULP- See Also:
()
-
getRedirectCount
int getRedirectCount(String confluenceVersionNumber)
Returns the number of users who have been redirected to the PULP for the given version of Confluence.- Parameters:
confluenceVersionNumber- the Confluence application version number- Returns:
- see above
-
hasBeenRedirected
boolean hasBeenRedirected(ConfluenceUser user, String confluenceVersionNumber)
Returns whether the user has been redirected to the PULP for this given version of Confluence.- Parameters:
user- the userconfluenceVersionNumber- the Confluence application version number- Returns:
- see above
-
-