Uses of Class
org.salespointframework.useraccount.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
.Streamable<T>
OrderManagement. findBy(UserAccount userAccount)
Returns allOrder
s of the givenUserAccount
.Streamable<T>
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 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
UserAccountManagement. create(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles)
Creates a newUserAccount
from the given username,Password.UnencryptedPassword
, email address and roles.UserAccount
UserAccountManagement. create(String userName, Password.UnencryptedPassword password, Role... roles)
Creates a newUserAccount
from the given username,Password.UnencryptedPassword
and roles.UserAccount
UserAccountManagement. delete(UserAccount account)
Deletes the givenUserAccount
.UserAccount
UserAccount.UserAccountCreated. getAccount()
UserAccount
UserAccountManagement. save(UserAccount userAccount)
Saves theUserAccount
UserAccount
UserAccount. setEmail(String email)
UserAccount
UserAccount. setEnabled(boolean enabled)
UserAccount
UserAccount. setFirstname(String firstname)
UserAccount
UserAccount. setLastname(String lastname)
Methods in org.salespointframework.useraccount that return types with arguments of type UserAccount Modifier and Type Method Description Streamable<UserAccount>
UserAccountManagement. findAll()
Finds allUserAccount
s.Optional<UserAccount>
UserAccountManagement. findByUsername(String username)
Returns the user with the given user name.Streamable<UserAccount>
UserAccountManagement. findDisabled()
Finds only disabledUserAccount
s.Streamable<UserAccount>
UserAccountManagement. findEnabled()
Finds only enabledUserAccount
s.Optional<UserAccount>
UserAccountManagement. get(UserAccountIdentifier userAccountIdentifier)
Returns anUserAccount
for a given identifier.Optional<UserAccount>
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 UserAccount Modifier and Type Method Description void
UserAccountManagement. changePassword(UserAccount userAccount, Password.UnencryptedPassword password)
Changes the password of theUserAccount
.UserAccount
UserAccountManagement. delete(UserAccount account)
Deletes the givenUserAccount
.static UserAccount.UserAccountCreated
UserAccount.UserAccountCreated. of(UserAccount account)
UserAccount
UserAccountManagement. save(UserAccount userAccount)
Saves theUserAccount