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 |
---|---|
Streamable<T> |
OrderManager.findBy(UserAccount userAccount)
Returns all
Order s of the given UserAccount . |
Streamable<T> |
PersistentOrderManager.findBy(UserAccount userAccount) |
Streamable<T> |
OrderManager.findBy(UserAccount userAccount,
Interval interval)
Returns all
Order s from the given UserAccount in between the dates from and to ,
including from and to. |
Streamable<T> |
PersistentOrderManager.findBy(UserAccount userAccount,
Interval interval) |
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)
|
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 |
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 |
---|---|
Streamable<UserAccount> |
UserAccountManager.findAll()
Finds all
UserAccount s. |
Streamable<UserAccount> |
PersistentUserAccountManager.findAll() |
Iterable<UserAccount> |
UserAccountRepository.findByEnabledFalse()
Returns all disabled
UserAccount s. |
Iterable<UserAccount> |
UserAccountRepository.findByEnabledTrue()
Returns all enabled
UserAccount s. |
Optional<UserAccount> |
UserAccountManager.findByUsername(String username)
Returns the user with the given user name.
|
Optional<UserAccount> |
PersistentUserAccountManager.findByUsername(String username) |
Streamable<UserAccount> |
UserAccountManager.findDisabled()
Finds only disabled
UserAccount s. |
Streamable<UserAccount> |
PersistentUserAccountManager.findDisabled() |
Streamable<UserAccount> |
UserAccountManager.findEnabled()
Finds only enabled
UserAccount s. |
Streamable<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 password 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 © 2018 Pivotal Software, Inc.. All rights reserved.