Uses of Class
org.salespointframework.useraccount.UserAccount
Package
Description
The order subsystem.
User account management.
-
Uses of UserAccount in org.salespointframework.order
Modifier and TypeMethodDescriptionCart.createOrderFor
(UserAccount user) Deprecated, for removal: This API element is subject to removal in a future version.OrderManagement.findBy
(UserAccount userAccount) Returns allOrder
s of the givenUserAccount
.OrderManagement.findBy
(UserAccount userAccount, Interval interval) Returns allOrder
s from the givenUserAccount
in between the datesfrom
andto
, including from and to.ModifierConstructorDescriptionOrder
(UserAccount userAccount) Deprecated, for removal: This API element is subject to removal in a future version.since 9.0.Order
(UserAccount userAccount, PaymentMethod paymentMethod) Deprecated, for removal: This API element is subject to removal in a future version.since 9.0. -
Uses of UserAccount in org.salespointframework.useraccount
Modifier and TypeMethodDescriptionUserAccountManagement.create
(String userName, Password.UnencryptedPassword password, Iterable<Role> roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
and roles.UserAccountManagement.create
(String userName, Password.UnencryptedPassword password, String emailAddress, Iterable<Role> roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
, email address and roles.UserAccountManagement.create
(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
, email address and roles.UserAccountManagement.create
(String userName, Password.UnencryptedPassword password, Role... roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
and roles.UserAccountManagement.delete
(UserAccount account) Deletes the givenUserAccount
.UserAccountManagement.save
(UserAccount userAccount) Saves theUserAccount
UserAccount.setEnabled
(boolean enabled) UserAccount.setFirstname
(String firstname) UserAccount.setLastname
(String lastname) UserAccount.setUsername
(String username) Modifier and TypeMethodDescriptionUserAccountManagement.findAll()
Finds allUserAccount
s.UserAccountManagement.findByUsername
(String username) Returns the user with the given user name.UserAccountManagement.findDisabled()
Finds only disabledUserAccount
s.UserAccountManagement.findEnabled()
Finds only enabledUserAccount
s.UserAccountManagement.get
(UserAccount.UserAccountIdentifier userAccountIdentifier) Returns anUserAccount
for a given identifier.AuthenticationManagement.getCurrentlyLoggedInUserAccounts()
Returns allUserAccount
s for the users currently logged into the system.AuthenticationManagement.getCurrentUser()
Returns theUserAccount
of the currently logged in user orOptional.empty()
if no-one is currently logged in.Modifier and TypeMethodDescriptionvoid
UserAccountManagement.changePassword
(UserAccount userAccount, Password.UnencryptedPassword password) Changes the password of theUserAccount
.UserAccountManagement.delete
(UserAccount account) Deletes the givenUserAccount
.UserAccountManagement.save
(UserAccount userAccount) Saves theUserAccount
void
AuthenticationManagement.updateAuthentication
(UserAccount account) Updates the current authentication to the givenUserAccount
.
Cart.createOrderFor(UserAccountIdentifier)
instead.