Uses of Class
org.salespointframework.useraccount.UserAccount
Packages that use UserAccount
Package
Description
Accountancy subsystem.
The order subsystem.
User account management.
-
Uses of UserAccount in org.salespointframework.accountancy
Methods in org.salespointframework.accountancy that return UserAccountModifier and TypeMethodDescriptionProductPaymentEntry.getUserAccount()
TheUserAccount
which thisProductPaymentEntry
refers to.Constructors in org.salespointframework.accountancy with parameters of type UserAccountModifierConstructorDescriptionProductPaymentEntry
(Order.OrderIdentifier orderIdentifier, UserAccount userAccount, javax.money.MonetaryAmount amount, String description, PaymentMethod paymentMethod) AProductPaymentEntry
is constructed for a specificOrder.OrderIdentifier
attached to it. -
Uses of UserAccount in org.salespointframework.order
Methods in org.salespointframework.order that return UserAccountMethods in org.salespointframework.order with parameters of type UserAccountModifier and TypeMethodDescriptionCart.createOrderFor
(UserAccount user) Creates a new Order for the givenUserAccount
from the currentCart
.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.Constructors in org.salespointframework.order with parameters of type UserAccountModifierConstructorDescriptionOrder
(UserAccount userAccount) Creates a new OrderOrder
(UserAccount userAccount, PaymentMethod paymentMethod) -
Uses of UserAccount in org.salespointframework.useraccount
Methods in org.salespointframework.useraccount that return UserAccountModifier 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
.UserAccount.UserAccountCreated.getAccount()
UserAccountManagement.save
(UserAccount userAccount) Saves theUserAccount
UserAccount.setEnabled
(boolean enabled) UserAccount.setFirstname
(String firstname) UserAccount.setLastname
(String lastname) Methods in org.salespointframework.useraccount that return types with arguments of type UserAccountModifier 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.getCurrentUser()
Returns theUserAccount
of the currently logged in user orOptional.empty()
if no-one is currently logged in.Methods in org.salespointframework.useraccount with parameters of type UserAccountModifier and TypeMethodDescriptionvoid
UserAccountManagement.changePassword
(UserAccount userAccount, Password.UnencryptedPassword password) Changes the password of theUserAccount
.UserAccountManagement.delete
(UserAccount account) Deletes the givenUserAccount
.UserAccount.UserAccountCreated.of
(UserAccount account) UserAccountManagement.save
(UserAccount userAccount) Saves theUserAccount
void
AuthenticationManagement.updateAuthentication
(UserAccount account) Updates the current authentication to the givenUserAccount
.