public class DefaultUserProfileContext extends Object implements UserProfileContext
Modifier and Type | Method and Description |
---|---|
static DefaultUserProfileContext |
forAccountService(UserModel currentUser) |
static DefaultUserProfileContext |
forIdpReview(SerializedBrokeredIdentityContext currentUser) |
static DefaultUserProfileContext |
forRegistrationProfile() |
static DefaultUserProfileContext |
forRegistrationUserCreation() |
static DefaultUserProfileContext |
forUpdateProfile(UserModel currentUser) |
static DefaultUserProfileContext |
forUserResource(UserModel currentUser) |
UserProfile |
getCurrentProfile() |
UserUpdateEvent |
getUpdateEvent() |
public static DefaultUserProfileContext forIdpReview(SerializedBrokeredIdentityContext currentUser)
public static DefaultUserProfileContext forUpdateProfile(UserModel currentUser)
public static DefaultUserProfileContext forAccountService(UserModel currentUser)
public static DefaultUserProfileContext forRegistrationUserCreation()
public static DefaultUserProfileContext forRegistrationProfile()
public static DefaultUserProfileContext forUserResource(UserModel currentUser)
currentUser
- if this is null, then we're creating new user. If it is not null, we're updating existing userpublic UserProfile getCurrentProfile()
getCurrentProfile
in interface UserProfileContext
public UserUpdateEvent getUpdateEvent()
getUpdateEvent
in interface UserProfileContext
Copyright © 2021 JBoss by Red Hat. All rights reserved.