| Package | Description |
|---|---|
| org.salespointframework.order |
The order subsystem.
|
| org.salespointframework.useraccount |
User account management.
|
| Modifier and Type | Method and Description |
|---|---|
UserAccount |
ProductPaymentEntry.getUserAccount() |
UserAccount |
Order.getUserAccount() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<T> |
PersistentOrderManager.find(UserAccount userAccount) |
Iterable<T> |
OrderManager.find(UserAccount userAccount)
Returns all
Orders of the given UserAccount. |
Iterable<T> |
PersistentOrderManager.find(UserAccount userAccount,
LocalDateTime from,
LocalDateTime to) |
Iterable<T> |
OrderManager.find(UserAccount userAccount,
LocalDateTime from,
LocalDateTime to)
Returns all
Orders from the given UserAccount in between the dates from and to,
including from and to. |
Iterable<T> |
OrderRepository.findByUserAccount(UserAccount userAccount) |
Iterable<T> |
OrderRepository.findByUserAccountAndDateCreatedBetween(UserAccount userAccount,
LocalDateTime from,
LocalDateTime to) |
| Constructor and Description |
|---|
Order(UserAccount userAccount)
Creates a new Order
|
Order(UserAccount userAccount,
PaymentMethod paymentMethod)
|
ProductPaymentEntry(OrderIdentifier orderIdentifier,
UserAccount userAccount,
org.joda.money.Money amount,
String description,
PaymentMethod paymentMethod)
A
ProductPaymentEntry is constructed for a specific OrderIdentifier attached to it. |
| Modifier and Type | Method and Description |
|---|---|
UserAccount |
UserAccountManager.create(String userName,
String password,
Role... roles)
Creates a new
UserAccount. |
UserAccount |
PersistentUserAccountManager.create(String userName,
String password,
Role... roles) |
UserAccount |
UserAccountManager.save(UserAccount userAccount)
Saves the
UserAccount |
UserAccount |
PersistentUserAccountManager.save(UserAccount userAccount) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<UserAccount> |
UserAccountManager.findAll()
Finds all
UserAccounts. |
Iterable<UserAccount> |
PersistentUserAccountManager.findAll() |
Iterable<UserAccount> |
UserAccountRepository.findByEnabledFalse()
Returns all disabled
UserAccounts. |
Iterable<UserAccount> |
UserAccountRepository.findByEnabledTrue()
Returns all enabled
UserAccounts. |
Optional<UserAccount> |
UserAccountManager.findByUsername(String username)
Returns the user with the given user name.
|
Optional<UserAccount> |
PersistentUserAccountManager.findByUsername(String username) |
Iterable<UserAccount> |
UserAccountManager.findDisabled()
Finds only disabled
UserAccounts. |
Iterable<UserAccount> |
PersistentUserAccountManager.findDisabled() |
Iterable<UserAccount> |
UserAccountManager.findEnabled()
Finds only enabled
UserAccounts. |
Iterable<UserAccount> |
PersistentUserAccountManager.findEnabled() |
Optional<UserAccount> |
UserAccountManager.get(UserAccountIdentifier userAccountIdentifier)
Returns an
UserAccount for a given identifier. |
Optional<UserAccount> |
PersistentUserAccountManager.get(UserAccountIdentifier userAccountIdentifier) |
Optional<UserAccount> |
SpringSecurityAuthenticationManager.getCurrentUser() |
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 passwort of the
UserAccount. |
void |
PersistentUserAccountManager.changePassword(UserAccount userAccount,
String password) |
UserAccount |
UserAccountManager.save(UserAccount userAccount)
Saves the
UserAccount |
UserAccount |
PersistentUserAccountManager.save(UserAccount userAccount) |
| Constructor and Description |
|---|
UserAccountDetails(UserAccount userAccount) |
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.