public interface OnboardingService
Modifier and Type | Method and Description |
---|---|
void |
completeFirstUseFlow(ApplicationUser user)
Mark the user as completing their first user flow
|
String |
getCurrentFirstUseFlowSequence(ApplicationUser user)
Get the current sequence key for the flow that the user is completing.
|
FirstUseFlow |
getFirstUseFlow(ApplicationUser user)
Checks whether the user should do an onboarding flow for the product.
|
String |
getStartedFirstUseFlowKey(ApplicationUser user)
Get the key of the flow that the user is completing.
|
boolean |
hasCompletedFirstUseFlow(ApplicationUser user) |
void |
setCurrentFirstUseFlowSequence(ApplicationUser user,
String sequenceKey)
Assign the user as beginning a current sequence in the flow
|
@Nullable FirstUseFlow getFirstUseFlow(@Nullable ApplicationUser user)
FirstUseFlow
if the user is eligible for one (and hasn't done one before), null otherwise.@Nullable String getStartedFirstUseFlowKey(@Nonnull ApplicationUser user)
user
- to check againstboolean hasCompletedFirstUseFlow(@Nonnull ApplicationUser user)
user
- to check againstvoid completeFirstUseFlow(@Nonnull ApplicationUser user)
user
- that the first flow has been completed forvoid setCurrentFirstUseFlowSequence(@Nonnull ApplicationUser user, @Nonnull String sequenceKey)
user
- that is completing the flowsequenceKey
- of the sequence being started@Nullable String getCurrentFirstUseFlowSequence(@Nonnull ApplicationUser user)
user
- that is completing flowCopyright © 2002-2017 Atlassian. All Rights Reserved.