Uses of Class
org.salespointframework.useraccount.UserAccount
-
Packages that use UserAccount Package Description org.salespointframework.accountancy Accountancy subsystem.org.salespointframework.order The order subsystem.org.salespointframework.useraccount User account management. -
-
Uses of UserAccount in org.salespointframework.accountancy
Methods in org.salespointframework.accountancy that return UserAccount Modifier and Type Method Description UserAccount
ProductPaymentEntry. getUserAccount()
TheUserAccount
which thisProductPaymentEntry
refers to.Constructors in org.salespointframework.accountancy with parameters of type UserAccount Constructor Description ProductPaymentEntry(OrderIdentifier orderIdentifier, UserAccount userAccount, javax.money.MonetaryAmount amount, String description, PaymentMethod paymentMethod)
AProductPaymentEntry
is constructed for a specificOrderIdentifier
attached to it. -
Uses of UserAccount in org.salespointframework.order
Methods in org.salespointframework.order that return UserAccount Modifier and Type Method Description UserAccount
Order. getUserAccount()
Methods in org.salespointframework.order with parameters of type UserAccount Modifier and Type Method Description Order
Cart. createOrderFor(UserAccount user)
Creates a new Order for the givenUserAccount
from the currentCart
.org.springframework.data.util.Streamable<T>
OrderManager. findBy(UserAccount userAccount)
Returns allOrder
s of the givenUserAccount
.org.springframework.data.util.Streamable<T>
OrderManager. 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 UserAccount Constructor Description Order(UserAccount userAccount)
Creates a new OrderOrder(UserAccount userAccount, PaymentMethod paymentMethod)
-
Uses of UserAccount in org.salespointframework.useraccount
Methods in org.salespointframework.useraccount that return UserAccount Modifier and Type Method Description UserAccount
UserAccountManager. create(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles)
Creates a newUserAccount
and persists it right away.UserAccount
UserAccountManager. create(String userName, Password.UnencryptedPassword password, Role... roles)
Creates a newUserAccount
and persists it right away.UserAccount
UserAccountManager. delete(UserAccount account)
Deletes the givenUserAccount
.UserAccount
UserAccountManager. save(UserAccount userAccount)
Saves theUserAccount
Methods in org.salespointframework.useraccount that return types with arguments of type UserAccount Modifier and Type Method Description org.springframework.data.util.Streamable<UserAccount>
UserAccountManager. findAll()
Finds allUserAccount
s.Optional<UserAccount>
UserAccountManager. findByUsername(String username)
Returns the user with the given user name.org.springframework.data.util.Streamable<UserAccount>
UserAccountManager. findDisabled()
Finds only disabledUserAccount
s.org.springframework.data.util.Streamable<UserAccount>
UserAccountManager. findEnabled()
Finds only enabledUserAccount
s.Optional<UserAccount>
UserAccountManager. get(UserAccountIdentifier userAccountIdentifier)
Returns anUserAccount
for a given identifier.Optional<UserAccount>
AuthenticationManager. 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 UserAccount Modifier and Type Method Description void
UserAccountManager. changePassword(UserAccount userAccount, Password.UnencryptedPassword password)
Changes the password of theUserAccount
.UserAccount
UserAccountManager. delete(UserAccount account)
Deletes the givenUserAccount
.UserAccount
UserAccountManager. save(UserAccount userAccount)
Saves theUserAccount
-