@ParametersAreNonnullByDefault
public interface PulpRedirectDao
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRedirect(ConfluenceUser user,
String confluenceVersionNumber)
Records the given user as having been redirected to the PULP for the given version of Confluence.
|
int |
getRedirectCount(String confluenceVersionNumber)
Returns the number of users who have been redirected to the PULP for the given version of Confluence.
|
boolean |
hasBeenRedirected(ConfluenceUser user,
String confluenceVersionNumber)
Returns whether the user has been redirected to the PULP for this given version of Confluence.
|
boolean addRedirect(ConfluenceUser user, String confluenceVersionNumber)
user - the user who was redirectedconfluenceVersionNumber - the Confluence version numbertrue iff the user has not previously seen the PULP()int getRedirectCount(String confluenceVersionNumber)
confluenceVersionNumber - the Confluence application version numberboolean hasBeenRedirected(ConfluenceUser user, String confluenceVersionNumber)
user - the userconfluenceVersionNumber - the Confluence application version numberCopyright © 2003–2022 Atlassian. All rights reserved.