| Package | Description |
|---|---|
| org.salespointframework.accountancy |
Accountancy subsystem.
|
| org.salespointframework.order |
The order subsystem.
|
| org.salespointframework.useraccount |
User account management.
|
| Modifier and Type | Method and Description |
|---|---|
UserAccount |
ProductPaymentEntry.getUserAccount()
The
UserAccount which this ProductPaymentEntry refers to. |
| Constructor and Description |
|---|
ProductPaymentEntry(OrderIdentifier orderIdentifier,
UserAccount userAccount,
javax.money.MonetaryAmount amount,
String description,
PaymentMethod paymentMethod)
A
ProductPaymentEntry is constructed for a specific OrderIdentifier attached to it. |
| Modifier and Type | Method and Description |
|---|---|
UserAccount |
Order.getUserAccount() |
| Modifier and Type | Method and Description |
|---|---|
Order |
Cart.createOrderFor(UserAccount user)
Creates a new Order for the given
UserAccount from the current Cart. |
org.springframework.data.util.Streamable<T> |
OrderManager.findBy(UserAccount userAccount)
Returns all
Orders of the given UserAccount. |
org.springframework.data.util.Streamable<T> |
OrderManager.findBy(UserAccount userAccount,
Interval interval)
Returns all
Orders from the given UserAccount in between the dates from and to,
including from and to. |
| Constructor and Description |
|---|
Order(UserAccount userAccount)
Creates a new Order
|
Order(UserAccount userAccount,
PaymentMethod paymentMethod)
|
| Modifier and Type | Method and Description |
|---|---|
UserAccount |
UserAccountManager.create(String userName,
String password,
Role... roles)
Creates a new
UserAccount and persists it right away. |
UserAccount |
UserAccountManager.save(UserAccount userAccount)
Saves the
UserAccount |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.util.Streamable<UserAccount> |
UserAccountManager.findAll()
Finds all
UserAccounts. |
Optional<UserAccount> |
UserAccountManager.findByUsername(String username)
Returns the user with the given user name.
|
org.springframework.data.util.Streamable<UserAccount> |
UserAccountManager.findDisabled()
Finds only disabled
UserAccounts. |
org.springframework.data.util.Streamable<UserAccount> |
UserAccountManager.findEnabled()
Finds only enabled
UserAccounts. |
Optional<UserAccount> |
UserAccountManager.get(UserAccountIdentifier userAccountIdentifier)
Returns an
UserAccount for a given identifier. |
Optional<UserAccount> |
AuthenticationManager.getCurrentUser()
Returns the
UserAccount of the currently logged in user or Optional.empty() if no-one is currently
logged in. |
| Modifier and Type | Method and Description |
|---|---|
void |
UserAccountManager.changePassword(UserAccount userAccount,
String password)
Changes the password of the
UserAccount. |
UserAccount |
UserAccountManager.save(UserAccount userAccount)
Saves the
UserAccount |
Copyright © 2018. All rights reserved.