Index

A B C D E F G H I K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractAggregateRoot<ID extends org.jmolecules.ddd.types.Identifier> - Class in org.salespointframework.core
Base class for Aggregate root entities.
AbstractAggregateRoot() - Constructor for class org.salespointframework.core.AbstractAggregateRoot
 
AbstractEntity<ID extends org.jmolecules.ddd.types.Identifier> - Class in org.salespointframework.core
Base class for Salespoint entities to uniquely define AbstractEntity.equals(Object) and AbstractEntity.hashCode().
AbstractEntity() - Constructor for class org.salespointframework.core.AbstractEntity
 
Accountancy - Interface in org.salespointframework.accountancy
The Accountancy interface is implemented by classes offering a basic accounting service.
AccountancyEntry - Class in org.salespointframework.accountancy
This class represents an accountancy entry.
AccountancyEntry() - Constructor for class org.salespointframework.accountancy.AccountancyEntry
Deprecated.
AccountancyEntry(MonetaryAmount) - Constructor for class org.salespointframework.accountancy.AccountancyEntry
Creates a new PersistentAccountancyEntry with a specific value.
AccountancyEntry(MonetaryAmount, String) - Constructor for class org.salespointframework.accountancy.AccountancyEntry
Creates a new PersistentAccountancyEntry with a specific value and a user defined description.
AccountancyEntry.AccountancyEntryIdentifier - Class in org.salespointframework.accountancy
AccountancyEntry.AccountancyEntryIdentifier serves as an identifier type for AccountancyEntry objects.
AccountancyOrderEventListener - Class in org.salespointframework.accountancy
AccountancyOrderEventListener(Accountancy) - Constructor for class org.salespointframework.accountancy.AccountancyOrderEventListener
 
add(Quantity) - Method in class org.salespointframework.quantity.Quantity
Adds the given Quantity to the current one.
add(Role) - Method in class org.salespointframework.useraccount.UserAccount
Adds a Role to the UserAccount.
add(T) - Method in interface org.salespointframework.accountancy.Accountancy
Adds a new AccountancyEntry to this Accountancy.
addCategory(String) - Method in class org.salespointframework.catalog.Product
Adds the Product to the given category.
addChargeLine(MonetaryAmount, String) - Method in class org.salespointframework.order.Order
Adds a ChargeLine with the given price and description to the Order.
addChargeLine(MonetaryAmount, String, int) - Method in class org.salespointframework.order.Order
Adds an ChargeLine.AttachedChargeLine with the given price and description to the OrderLine with the given index.
addChargeLine(MonetaryAmount, String, OrderLine) - Method in class org.salespointframework.order.Order
Adds an ChargeLine.AttachedChargeLine with the given price and description to the given OrderLine.
addItemsTo(Order) - Method in class org.salespointframework.order.Cart
Adds all items currently contained in this cart to the given Order.
addOrderLine(Product, Quantity) - Method in class org.salespointframework.order.Order
Adds an OrderLine for the given with the given Quantity.
addOrUpdateItem(Product, double) - Method in class org.salespointframework.order.Cart
Creates a CartItem for the given Product and amount.
addOrUpdateItem(Product, long) - Method in class org.salespointframework.order.Cart
Creates a CartItem for the given Product and amount.
addOrUpdateItem(Product, Quantity) - Method in class org.salespointframework.order.Cart
Creates a CartItem for the given Product and Quantity.
and(Iterable<? extends T>) - Method in interface org.salespointframework.order.Totalable
Creates a new Totalable with the given one added to the current one.
AuthenticationManagement - Interface in org.salespointframework.useraccount
Application component for authentication related use cases.
authenticationManagerBean() - Method in class org.salespointframework.SalespointSecurityConfiguration
Overridden to expose the AuthenticationManager as a Spring bean.

B

belongsTo(Order) - Method in class org.salespointframework.accountancy.ProductPaymentEntry
Returns whether the ProductPaymentEntry belongs to the given Order.
belongsTo(OrderLine) - Method in class org.salespointframework.order.ChargeLine.AttachedChargeLine
Returns whether the ChargeLine.AttachedChargeLine belongs to the given OrderLine.
belongsTo(UserAccount.UserAccountIdentifier) - Method in class org.salespointframework.storage.FileStored
Returns whether the file stored belongs to the UserAccount with the given UserAccount.UserAccountIdentifier.
BusinessTime - Interface in org.salespointframework.time
Component to allow access to the current business time.
BusinessTime.DayHasPassed - Class in org.salespointframework.time
A DomainEvent published on each day.
BusinessTime.MonthHasPassed - Class in org.salespointframework.time
A DomainEvent published on the last day of the month.

C

CANCELLED - Enum constant in enum class org.salespointframework.order.OrderStatus
 
cancelOrder(T, String) - Method in interface org.salespointframework.order.OrderManagement
Cancels an Order, no matter what state it is in.
canEqual(Object) - Method in class org.salespointframework.accountancy.AccountancyEntry.AccountancyEntryIdentifier
 
canEqual(Object) - Method in class org.salespointframework.catalog.Product.ProductIdentifier
 
canEqual(Object) - Method in class org.salespointframework.inventory.InventoryItem.InventoryItemIdentifier
 
canEqual(Object) - Method in class org.salespointframework.order.CartItem
 
canEqual(Object) - Method in class org.salespointframework.order.Order.OrderIdentifier
 
canEqual(Object) - Method in exception org.salespointframework.order.OrderCompletionFailure
 
canEqual(Object) - Method in class org.salespointframework.order.OrderCompletionReport
 
canEqual(Object) - Method in class org.salespointframework.payment.Cash
 
canEqual(Object) - Method in class org.salespointframework.payment.Cheque
 
canEqual(Object) - Method in class org.salespointframework.payment.CreditCard
 
canEqual(Object) - Method in class org.salespointframework.payment.DebitCard
 
canEqual(Object) - Method in class org.salespointframework.payment.PaymentCard
 
canEqual(Object) - Method in class org.salespointframework.payment.PaymentMethod
 
canEqual(Object) - Method in class org.salespointframework.quantity.Quantity
 
canEqual(Object) - Method in class org.salespointframework.useraccount.Password.EncryptedPassword
 
canEqual(Object) - Method in class org.salespointframework.useraccount.Password.UnencryptedPassword
 
canEqual(Object) - Method in class org.salespointframework.useraccount.UserAccount.UserAccountIdentifier
 
Cart - Class in org.salespointframework.order
Abstraction of a shopping cart.
Cart() - Constructor for class org.salespointframework.order.Cart
 
CartItem - Class in org.salespointframework.order
A CartItem consists of a Product and a Quantity.
Cash - Class in org.salespointframework.payment
The cash PaymentMethod is used to designate all payments made in cash.
CASH - Static variable in class org.salespointframework.payment.Cash
A convenience instance Cash.CASH is defined in this class, which can be reused, instead of instantiating a new instance every time one is needed.
Catalog<T extends Product> - Interface in org.salespointframework.catalog
Repository interface for Products
changePassword(UserAccount, Password.UnencryptedPassword) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Changes the password of the UserAccount.
ChargeLine - Class in org.salespointframework.order
A charge line represents extra expenses, such as shipping, for an Order as a whole.
ChargeLine(MonetaryAmount, String) - Constructor for class org.salespointframework.order.ChargeLine
 
ChargeLine.AttachedChargeLine - Class in org.salespointframework.order
A ChargeLine that's attached to an OrderLine.
ChargeLine.ChargeLineIdentifier - Class in org.salespointframework.order
ChargeLine.ChargeLineIdentifier serves as an identifier type for ChargeLine objects.
Cheque - Class in org.salespointframework.payment
A is a written bill of exchange (or draft), a written order by the drawer (the writer of the cheque) to the drawee (usually the bank), to pay a specified amount of money to a payee.
Cheque(String, String, String, String, LocalDateTime, String, String, String) - Constructor for class org.salespointframework.payment.Cheque
Instantiate a new Cheque instance.
clear() - Method in class org.salespointframework.order.Cart
Clears the cart.
compareTo(Product) - Method in class org.salespointframework.catalog.Product
 
compareTo(Role) - Method in class org.salespointframework.useraccount.Role
 
COMPLETED - Enum constant in enum class org.salespointframework.order.OrderStatus
 
completeOrder(T) - Method in interface org.salespointframework.order.OrderManagement
Tries to complete this order, the OrderStatus has to be OrderStatus.PAID.
configure(AuthenticationManagerBuilder) - Method in class org.salespointframework.SalespointSecurityConfiguration
 
configure(WebSecurity) - Method in class org.salespointframework.SalespointSecurityConfiguration
Allow anonymous access to resources by default.
ConsoleWritingMailSender - Class in org.salespointframework.support
MailSender implementation writing the SimpleMailMessage to be sent into the logs.
ConsoleWritingMailSender() - Constructor for class org.salespointframework.support.ConsoleWritingMailSender
 
contains(LocalDateTime) - Method in class org.salespointframework.time.Interval
Returns whether the given LocalDateTime is contained in the current Interval.
contains(Order.OrderIdentifier) - Method in interface org.salespointframework.order.OrderManagement
Checks if this OrderManagement contains an order.
contains(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Checks if an UserAccount exists.
create(String, Password.UnencryptedPassword, Iterable<Role>) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Creates a new UserAccount from the given username, Password.UnencryptedPassword and roles.
create(String, Password.UnencryptedPassword, String, Iterable<Role>) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Creates a new UserAccount from the given username, Password.UnencryptedPassword, email address and roles.
create(String, Password.UnencryptedPassword, String, Role...) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Creates a new UserAccount from the given username, Password.UnencryptedPassword, email address and roles.
create(String, Password.UnencryptedPassword, Role...) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Creates a new UserAccount from the given username, Password.UnencryptedPassword and roles.
createOrderFor(UserAccount) - Method in class org.salespointframework.order.Cart
Creates a new Order for the given UserAccount from the current Cart.
createQuantity(double) - Method in class org.salespointframework.catalog.Product
Creates a Quantity of the given amount and the current Product's underlying Metric.
createQuantity(long) - Method in class org.salespointframework.catalog.Product
Creates a Quantity of the given amount and the current Product's underlying Metric.
CreditCard - Class in org.salespointframework.payment
A credit card.
CreditCard(String, String, String, String, String, LocalDateTime, LocalDateTime, String, MonetaryAmount, MonetaryAmount) - Constructor for class org.salespointframework.payment.CreditCard
Instantiates a specific credit card.
CreditCard(String, String, String, String, LocalDateTime, LocalDateTime, String, MonetaryAmount, MonetaryAmount) - Constructor for class org.salespointframework.payment.CreditCard
Instantiates a generic credit card.
Currencies - Interface in org.salespointframework.core
Interface to contain CurrencyUnit constants.

D

DataInitializer - Interface in org.salespointframework.core
Callback interface for components that shall be initialized on application startup.
DebitCard - Class in org.salespointframework.payment
A debit card provides the holder with electronic access to his or her bank account.
DebitCard(String, String, String, String, String, LocalDateTime, LocalDateTime, String, MonetaryAmount) - Constructor for class org.salespointframework.payment.DebitCard
Instantiates a specific type of debit card.
DebitCard(String, String, String, String, LocalDateTime, LocalDateTime, String, MonetaryAmount) - Constructor for class org.salespointframework.payment.DebitCard
Instantiates a generic debit card.
decreaseQuantity(Quantity) - Method in class org.salespointframework.inventory.InventoryItem
Decreases the quantity of the current InventoryItem by the given Quantity.
delete(UserAccount) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Deletes the given UserAccount.
delete(T) - Method in interface org.salespointframework.order.OrderManagement
Deletes the given Order.
deleteAll() - Method in interface org.salespointframework.storage.Storage
Deletes all files currently contained in the Storage.
disable(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Disables the UserAccount.
divide(Interval, TemporalAmount) - Static method in class org.salespointframework.time.Intervals
Divides the given Interval into smaller intervals of the given duration.

E

enable(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Enables the UserAccount.
EnableSalespoint - Annotation Interface in org.salespointframework
Annotation to enable Salespoint for a Spring Boot application.
EnableSalespoint.SalespointSecurityAutoConfiguration - Class in org.salespointframework
 
equals(Object) - Method in class org.salespointframework.accountancy.AccountancyEntry.AccountancyEntryIdentifier
 
equals(Object) - Method in class org.salespointframework.catalog.Product.ProductIdentifier
 
equals(Object) - Method in class org.salespointframework.core.AbstractEntity
 
equals(Object) - Method in class org.salespointframework.inventory.InventoryItem.InventoryItemIdentifier
 
equals(Object) - Method in class org.salespointframework.order.CartItem
 
equals(Object) - Method in class org.salespointframework.order.ChargeLine.ChargeLineIdentifier
 
equals(Object) - Method in class org.salespointframework.order.Order.OrderIdentifier
 
equals(Object) - Method in exception org.salespointframework.order.OrderCompletionFailure
 
equals(Object) - Method in class org.salespointframework.order.OrderCompletionReport
 
equals(Object) - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
equals(Object) - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
 
equals(Object) - Method in class org.salespointframework.order.OrderEvents.OrderCompleted
 
equals(Object) - Method in class org.salespointframework.order.OrderEvents.OrderPaid
 
equals(Object) - Method in class org.salespointframework.payment.Cash
 
equals(Object) - Method in class org.salespointframework.payment.Cheque
 
equals(Object) - Method in class org.salespointframework.payment.CreditCard
 
equals(Object) - Method in class org.salespointframework.payment.DebitCard
 
equals(Object) - Method in class org.salespointframework.payment.PaymentCard
 
equals(Object) - Method in class org.salespointframework.payment.PaymentMethod
 
equals(Object) - Method in class org.salespointframework.quantity.Quantity
 
equals(Object) - Method in class org.salespointframework.storage.FileStored
 
equals(Object) - Method in class org.salespointframework.time.BusinessTime.DayHasPassed
 
equals(Object) - Method in class org.salespointframework.time.BusinessTime.MonthHasPassed
 
equals(Object) - Method in class org.salespointframework.time.Interval
 
equals(Object) - Method in class org.salespointframework.useraccount.Password.EncryptedPassword
 
equals(Object) - Method in class org.salespointframework.useraccount.Password.UnencryptedPassword
 
equals(Object) - Method in class org.salespointframework.useraccount.Role
 
equals(Object) - Method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
 
equals(Object) - Method in class org.salespointframework.useraccount.UserAccount.UserAccountIdentifier
 
error(OrderLine, String) - Static method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
Creates an OrderCompletionReport.OrderLineCompletion representing an erroneous OrderLine alongside an error message.
EURO - Static variable in interface org.salespointframework.core.Currencies
 

F

failed(Order) - Static method in class org.salespointframework.order.OrderCompletionReport
Creates an OrderCompletionReport for an Order that's marked as failed.
FAILED - Enum constant in enum class org.salespointframework.order.OrderCompletionReport.CompletionStatus
 
FileStored - Class in org.salespointframework.storage
An event published when a NamedBinary gets stored.
find(Interval) - Method in interface org.salespointframework.accountancy.Accountancy
Returns all AccountancyEntrys that were created in the given Interval.
find(Interval, TemporalAmount) - Method in interface org.salespointframework.accountancy.Accountancy
Returns all AccountancyEntrys which have their date within the given Interval.
findAll() - Method in interface org.salespointframework.accountancy.Accountancy
Returns all AccountancyEntrys of the specified type clazz and all sub-types, previously added to the accountancy.
findAll() - Method in interface org.salespointframework.core.SalespointRepository
Re-declaration of CrudRepository.findAll() to return Streamable instead of Iterable for easier composition.
findAll() - Method in interface org.salespointframework.useraccount.UserAccountManagement
Finds all UserAccounts.
findAll(Pageable) - Method in interface org.salespointframework.order.OrderManagement
Returns the Page of orders specified by the given Pageable.
findAll(Sort) - Method in interface org.salespointframework.core.SalespointRepository
 
findAllById(Iterable<ID>) - Method in interface org.salespointframework.core.SalespointRepository
 
findBy(OrderStatus) - Method in interface org.salespointframework.order.OrderManagement
Returns all Orders having the OrderStatus status.
findBy(Interval) - Method in interface org.salespointframework.order.OrderManagement
Returns all Orders in between the Interval.
findBy(UserAccount) - Method in interface org.salespointframework.order.OrderManagement
Returns all Orders of the given UserAccount.
findBy(UserAccount, Interval) - Method in interface org.salespointframework.order.OrderManagement
Returns all Orders from the given UserAccount in between the dates from and to, including from and to.
findByAllCategories(String...) - Method in interface org.salespointframework.catalog.Catalog
Returns all Product that are assigned to all given categories.
findByAllCategories(Collection<String>) - Method in interface org.salespointframework.catalog.Catalog
Returns all Product that are assigned to all given categories.
findByAnyCategory(String...) - Method in interface org.salespointframework.catalog.Catalog
Returns all Products that are assigned to any of the given categories.
findByAnyCategory(Collection<String>) - Method in interface org.salespointframework.catalog.Catalog
Returns all Products that are assigned to any of the given categories.
findByCategory(String) - Method in interface org.salespointframework.catalog.Catalog
Returns all Products assigned to the given category.
findByName(String) - Method in interface org.salespointframework.catalog.Catalog
Returns the Products with the given name.
findByProduct(Product) - Method in interface org.salespointframework.inventory.MultiInventory
Returns all InventoryItems available for a given Product.
findByProduct(Product) - Method in interface org.salespointframework.inventory.UniqueInventory
Returns the InventoryItem for the given Product.
findByProductIdentifier(Product.ProductIdentifier) - Method in interface org.salespointframework.inventory.MultiInventory
Returns all InventoryItems available for a given Product.ProductIdentifier.
findByProductIdentifier(Product.ProductIdentifier) - Method in interface org.salespointframework.inventory.UniqueInventory
Returns the InventoryItem for the given Product.ProductIdentifier.
findByUsername(String) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Returns the user with the given user name.
findDisabled() - Method in interface org.salespointframework.useraccount.UserAccountManagement
Finds only disabled UserAccounts.
findEnabled() - Method in interface org.salespointframework.useraccount.UserAccountManagement
Finds only enabled UserAccounts.
findItemsOutOfStock() - Method in interface org.salespointframework.inventory.Inventory
Returns all UniqueInventoryItems that are out of stock (i.e.
forCompletions(Order, Iterable<OrderCompletionReport.OrderLineCompletion>) - Static method in class org.salespointframework.order.OrderCompletionReport
forUser(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.storage.Storage
Returns the Storage for the UserAccount identified by the given UserAccount.UserAccountIdentifier.
forward(Duration) - Method in interface org.salespointframework.time.BusinessTime
Forwards the current time with the given Duration.
from(String) - Static method in enum class org.salespointframework.quantity.Metric
Returns the Metric for the given abbreviation.
from(LocalDateTime) - Static method in class org.salespointframework.time.Interval
Starts building a new Interval with the given start time.

G

get(AccountancyEntry.AccountancyEntryIdentifier) - Method in interface org.salespointframework.accountancy.Accountancy
Returns the AccountancyEntry of type clazz and all sub-types, identified by AccountancyEntry.AccountancyEntryIdentifier.
get(Order.OrderIdentifier) - Method in interface org.salespointframework.order.OrderManagement
Returns the order identified by an Order.OrderIdentifier
get(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Returns an UserAccount for a given identifier.
getAbbreviation() - Method in enum class org.salespointframework.quantity.Metric
 
getAbbreviations() - Method in enum class org.salespointframework.quantity.Metric
 
getAccount() - Method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
 
getAccountName() - Method in class org.salespointframework.payment.Cheque
Name of the account holder.
getAccountNumber() - Method in class org.salespointframework.payment.Cheque
Number of the account on which the cheque is drawn.
getAllChargeLines() - Method in class org.salespointframework.order.Order
Returns all ChargeLine instances, i.e.
getAllResources() - Method in interface org.salespointframework.storage.Storage
Returns all stored Resources.
getAmount() - Method in class org.salespointframework.quantity.Quantity
The amount of the Quantity.
getBankAddress() - Method in class org.salespointframework.payment.Cheque
Address of the bank, that issued the cheque.
getBankIdentificationNumber() - Method in class org.salespointframework.payment.Cheque
Unique identification number of this bank.
getBankName() - Method in class org.salespointframework.payment.Cheque
Name of the bank, that issued the cheque.
getBillingAddress() - Method in class org.salespointframework.payment.PaymentCard
The billing address registered with this card.
getCardAssociationName() - Method in class org.salespointframework.payment.PaymentCard
The name of the card association.
getCardNumber() - Method in class org.salespointframework.payment.PaymentCard
The number uniquely identifying this payment card.
getCardVerificationCode() - Method in class org.salespointframework.payment.PaymentCard
The verification code of this card.
getCategories() - Method in class org.salespointframework.catalog.Product
Returns the categories the Product is assigned to.
getChargeLineIdentifier() - Method in class org.salespointframework.order.ChargeLine
 
getChargeLines() - Method in class org.salespointframework.order.Order
Returns all ChargeLine instances registered for the current Order.
getChargeLines(int) - Method in class org.salespointframework.order.Order
Returns all ChargeLine.AttachedChargeLines for the OrderLine with the given index.
getChargeLines(OrderLine) - Method in class org.salespointframework.order.Order
Returns all ChargeLine.AttachedChargeLines for the given OrderLine.
getChequeNumber() - Method in class org.salespointframework.payment.Cheque
Number uniquely identifying this cheque.
getCreditLimit() - Method in class org.salespointframework.payment.CreditCard
Line of credit extended by the issuing association to the card holder.
getCurrentQuantity() - Method in class org.salespointframework.inventory.InventoryEvents.StockShort
 
getCurrentUser() - Method in interface org.salespointframework.useraccount.AuthenticationManagement
Returns the UserAccount of the currently logged in user or Optional.empty() if no-one is currently logged in.
getDailyWithdrawalLimit() - Method in class org.salespointframework.payment.CreditCard
The maximum amount of money, the card holder can dispose of within a day.
getDailyWithdrawalLimit() - Method in class org.salespointframework.payment.DebitCard
Amount of money, the card holder can dispose of within a day.
getDate() - Method in class org.salespointframework.accountancy.AccountancyEntry
 
getDate() - Method in class org.salespointframework.time.BusinessTime.DayHasPassed
The day that has just passed.
getDateCreated() - Method in class org.salespointframework.order.Order
 
getDateWritten() - Method in class org.salespointframework.payment.Cheque
Date on which the cheque was written.
getDescription() - Method in class org.salespointframework.accountancy.AccountancyEntry
 
getDescription() - Method in class org.salespointframework.order.ChargeLine
 
getDuration() - Method in class org.salespointframework.time.Interval
Returns the duration of the interval, with the end excluded.
getEmail() - Method in class org.salespointframework.useraccount.UserAccount
 
getEnd() - Method in class org.salespointframework.time.Interval
The end date of the Interval.
getExpiryDate() - Method in class org.salespointframework.payment.PaymentCard
The date on which the card expires.
getFirstname() - Method in class org.salespointframework.useraccount.UserAccount
 
getId() - Method in class org.salespointframework.accountancy.AccountancyEntry
 
getId() - Method in class org.salespointframework.catalog.Product
 
getId() - Method in class org.salespointframework.inventory.InventoryItem
 
getId() - Method in class org.salespointframework.order.CartItem
 
getId() - Method in class org.salespointframework.order.ChargeLine.ChargeLineIdentifier
 
getId() - Method in class org.salespointframework.order.ChargeLine
 
getId() - Method in class org.salespointframework.order.Order
 
getId() - Method in class org.salespointframework.order.OrderLine
 
getId() - Method in class org.salespointframework.useraccount.UserAccount
Get the unique identifier of this UserAccount.
getInputStream() - Method in interface org.salespointframework.storage.NamedBinary
The actual file content.
getItem(String) - Method in class org.salespointframework.order.Cart
Returns the CartItem for the given identifier.
getLastname() - Method in class org.salespointframework.useraccount.UserAccount
 
getLength() - Method in class org.salespointframework.useraccount.Password.UnencryptedPassword
Returns the length of the password.
getMessage() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
getMetric() - Method in class org.salespointframework.quantity.Quantity
The metric of the Quantity.
getMonth() - Method in class org.salespointframework.time.BusinessTime.MonthHasPassed
 
getName() - Method in class org.salespointframework.catalog.Product
 
getName() - Method in interface org.salespointframework.storage.NamedBinary
The name of the file to be stored.
getName() - Method in class org.salespointframework.useraccount.Role
The name of the role.
getNameOnCard() - Method in class org.salespointframework.payment.PaymentCard
The name of the party to which the card was issued to.
getNumberOfItems() - Method in class org.salespointframework.order.Cart
Returns the number of items currently in the cart.
getOffset() - Method in interface org.salespointframework.time.BusinessTime
Returns the current offset between the real time and the virtual one created by calling BusinessTime.forward(Duration).
getOrder() - Method in exception org.salespointframework.order.OrderCompletionFailure
 
getOrder() - Method in class org.salespointframework.order.OrderCompletionReport
 
getOrder() - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
 
getOrder() - Method in class org.salespointframework.order.OrderEvents.OrderCompleted
 
getOrder() - Method in class org.salespointframework.order.OrderEvents.OrderPaid
 
getOrderIdentifier() - Method in class org.salespointframework.accountancy.ProductPaymentEntry
The Order.OrderIdentifier which this ProductPaymentEntry refers to.
getOrderLine() - Method in class org.salespointframework.order.ChargeLine.AttachedChargeLine
 
getOrderLine() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
getOrderLines() - Method in class org.salespointframework.order.Order
Returns all OrderLines of the Order.
getOrderLines(Product) - Method in class org.salespointframework.order.Order
Returns all OrderLine instances that refer to the given Product.
getOrderStatus() - Method in class org.salespointframework.order.Order
 
getPassword() - Method in class org.salespointframework.useraccount.UserAccount
 
getPayee() - Method in class org.salespointframework.payment.Cheque
Name of the payee.
getPaymentMethod() - Method in class org.salespointframework.accountancy.ProductPaymentEntry
The PaymentMethod chosen for the order belonging to this ProductPaymentEntry
getPaymentMethod() - Method in class org.salespointframework.order.Order
 
getPrice() - Method in class org.salespointframework.catalog.Product
 
getPrice() - Method in class org.salespointframework.order.Cart
 
getPrice() - Method in class org.salespointframework.order.CartItem
 
getPrice() - Method in class org.salespointframework.order.ChargeLine
 
getPrice() - Method in class org.salespointframework.order.OrderLine
 
getProduct() - Method in class org.salespointframework.inventory.InventoryItem
Returns the Product this InventoryItem belongs to.
getProduct() - Method in class org.salespointframework.inventory.MultiInventoryItem
 
getProduct() - Method in class org.salespointframework.inventory.UniqueInventoryItem
 
getProduct() - Method in class org.salespointframework.order.CartItem
 
getProductId() - Method in class org.salespointframework.inventory.InventoryEvents.StockShort
 
getProductIdentifier() - Method in class org.salespointframework.order.OrderLine
 
getProductName() - Method in class org.salespointframework.order.CartItem
Returns the name of the Product associated with the CartItem.
getProductName() - Method in class org.salespointframework.order.OrderLine
 
getQuantity() - Method in class org.salespointframework.inventory.InventoryItem
 
getQuantity() - Method in class org.salespointframework.order.CartItem
 
getQuantity() - Method in class org.salespointframework.order.OrderLine
 
getQuantity(Product) - Method in class org.salespointframework.order.Cart
Returns the quantity for the given Product currently contained in the Cart.
getQuantity(Product.ProductIdentifier) - Method in class org.salespointframework.order.Cart
Returns the quantity for the given Product.ProductIdentifier currently contained in the Cart.
getReason() - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
 
getReport() - Method in exception org.salespointframework.order.OrderCompletionFailure
 
getResource() - Method in class org.salespointframework.storage.FileStored
The Resource for the file just stored.
getResource(String) - Method in interface org.salespointframework.storage.Storage
Returns the Resource for the given file name.
getRoles() - Method in class org.salespointframework.useraccount.UserAccount
 
getSentMessages() - Method in class org.salespointframework.support.RecordingMailSender
Returns all SimpleMailMessages that have been recorded so far.
getStart() - Method in class org.salespointframework.time.Interval
The start date of the Interval.
getStatus() - Method in class org.salespointframework.order.OrderCompletionReport
 
getStatus() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
getThreshold() - Method in class org.salespointframework.inventory.InventoryEvents.StockShort
 
getTime() - Method in interface org.salespointframework.time.BusinessTime
Returns the current business time.
getTotal() - Method in class org.salespointframework.order.Order
Returns the total price of the Order.
getTotal() - Method in interface org.salespointframework.order.Totalable
Returns the total of all the Priced elements contained in this Totalable.
getTotalQuantity() - Method in class org.salespointframework.inventory.InventoryItems
Returns the total quantity of all the InventoryItems contained.
getUserAccount() - Method in class org.salespointframework.accountancy.ProductPaymentEntry
The UserAccount which this ProductPaymentEntry refers to.
getUserAccount() - Method in class org.salespointframework.order.Order
 
getUserAccountIdentifier() - Method in class org.salespointframework.storage.FileStored
The UserAccount.UserAccountIdentifier in case the file was stored in the context of a UserAccount.
getUsername() - Method in class org.salespointframework.useraccount.UserAccount
Returns the user's username.
getValidFrom() - Method in class org.salespointframework.payment.PaymentCard
The date from which on the card is valid.
getValue() - Method in class org.salespointframework.accountancy.AccountancyEntry
 

H

handleAll() - Static method in interface org.salespointframework.inventory.LineItemFilter
Returns a LineItemFilter that accepts all OrderLines.
handleNone() - Static method in interface org.salespointframework.inventory.LineItemFilter
Returns a LineItemFilter that does not consider any OrderLines.
hasDate() - Method in class org.salespointframework.accountancy.AccountancyEntry
Returns whether the AccountancyEntry already has a Date set.
hasErrors() - Method in class org.salespointframework.order.OrderCompletionReport
Returns whether there report contains any errors.
hashCode() - Method in class org.salespointframework.accountancy.AccountancyEntry.AccountancyEntryIdentifier
 
hashCode() - Method in class org.salespointframework.catalog.Product.ProductIdentifier
 
hashCode() - Method in class org.salespointframework.core.AbstractEntity
 
hashCode() - Method in class org.salespointframework.inventory.InventoryItem.InventoryItemIdentifier
 
hashCode() - Method in class org.salespointframework.order.CartItem
 
hashCode() - Method in class org.salespointframework.order.ChargeLine.ChargeLineIdentifier
 
hashCode() - Method in class org.salespointframework.order.Order.OrderIdentifier
 
hashCode() - Method in exception org.salespointframework.order.OrderCompletionFailure
 
hashCode() - Method in class org.salespointframework.order.OrderCompletionReport
 
hashCode() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
hashCode() - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
 
hashCode() - Method in class org.salespointframework.order.OrderEvents.OrderCompleted
 
hashCode() - Method in class org.salespointframework.order.OrderEvents.OrderPaid
 
hashCode() - Method in class org.salespointframework.payment.Cash
 
hashCode() - Method in class org.salespointframework.payment.Cheque
 
hashCode() - Method in class org.salespointframework.payment.CreditCard
 
hashCode() - Method in class org.salespointframework.payment.DebitCard
 
hashCode() - Method in class org.salespointframework.payment.PaymentCard
 
hashCode() - Method in class org.salespointframework.payment.PaymentMethod
 
hashCode() - Method in class org.salespointframework.quantity.Quantity
 
hashCode() - Method in class org.salespointframework.storage.FileStored
 
hashCode() - Method in class org.salespointframework.time.BusinessTime.DayHasPassed
 
hashCode() - Method in class org.salespointframework.time.BusinessTime.MonthHasPassed
 
hashCode() - Method in class org.salespointframework.time.Interval
 
hashCode() - Method in class org.salespointframework.useraccount.Password.EncryptedPassword
 
hashCode() - Method in class org.salespointframework.useraccount.Password.UnencryptedPassword
 
hashCode() - Method in class org.salespointframework.useraccount.Role
 
hashCode() - Method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
 
hashCode() - Method in class org.salespointframework.useraccount.UserAccount.UserAccountIdentifier
 
hasId(ID) - Method in class org.salespointframework.core.AbstractEntity
Returns whether the entity has the given identifier.
hasRole(Role) - Method in class org.salespointframework.useraccount.UserAccount
Checks if a UserAccount has a specific Role
hasSufficientQuantity(Quantity) - Method in class org.salespointframework.inventory.InventoryItem
Returns whether the InventoryItem is available in exactly or more of the given quantity.

I

increaseQuantity(Quantity) - Method in class org.salespointframework.inventory.InventoryItem
Increases the quantity of the current InventoryItem by the given Quantity.
initialize() - Method in interface org.salespointframework.core.DataInitializer
Called on application startup to trigger data initialization.
Interval - Class in org.salespointframework.time
Simple value object to represent time intervals.
Interval.IntervalBuilder - Class in org.salespointframework.time
 
Intervals - Class in org.salespointframework.time
Value object to represent a list o Intervals.
Inventory<T extends InventoryItem<?>> - Interface in org.salespointframework.inventory
Base interface for InventoryItem implementations.
InventoryEvents - Class in org.salespointframework.inventory
Events published by the inventory module.
InventoryEvents() - Constructor for class org.salespointframework.inventory.InventoryEvents
 
InventoryEvents.StockShort - Class in org.salespointframework.inventory
Event being thrown if the stock for particular Product falls below the threshold configured in InventoryProperties.
InventoryItem<T extends InventoryItem<T>> - Class in org.salespointframework.inventory
An InventoryItem associates a product with a Quantity to keep track of how many items per product are available.
InventoryItem(Product, Quantity) - Constructor for class org.salespointframework.inventory.InventoryItem
Creates a new InventoryItem for the given Product and Quantity.
InventoryItem.InventoryItemIdentifier - Class in org.salespointframework.inventory
InventoryItemIdentifier serves as an identifier type for UniqueInventoryItem objects.
InventoryItems<T extends InventoryItem<?>> - Class in org.salespointframework.inventory
An abstraction over a collection of InventoryItems.
inventoryLineItemFilter() - Method in class org.salespointframework.Salespoint
 
isCanceled() - Method in class org.salespointframework.order.Order
Convenience method for checking if an order has the status CANCELLED
isCompatibleWith(Metric) - Method in enum class org.salespointframework.quantity.Metric
Returns whether the given Metric is
isCompatibleWith(Metric) - Method in class org.salespointframework.quantity.Quantity
Returns whether the Quantity is compatible with the given Metric.
isCompleted() - Method in class org.salespointframework.order.Order
Convenience method for checking if an order has the status COMPLETED
isEmpty() - Method in class org.salespointframework.order.Cart
Returns whether the Cart is currently empty.
isEnabled() - Method in class org.salespointframework.useraccount.UserAccount
 
isEqualTo(Quantity) - Method in class org.salespointframework.quantity.Quantity
Returns whether the current Quantity is equal to the given one negelecting potential differences in precision of the underlying amount.
isExpense() - Method in class org.salespointframework.accountancy.AccountancyEntry
Returns whether the entry is considered expense, i.e.
isFailure() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
Returns whether the OrderCompletionReport.OrderLineCompletion represents a failure.
isGreaterThan(Quantity) - Method in class org.salespointframework.quantity.Quantity
Returns whether the given Quantity is greater than the current one.
isGreaterThanOrEqualTo(Quantity) - Method in class org.salespointframework.quantity.Quantity
Returns whether the given Quantity is greater than or equal to the current one.
isLessThan(Quantity) - Method in class org.salespointframework.quantity.Quantity
Returns whether the given Quantity is less than the current one.
isNegative() - Method in class org.salespointframework.quantity.Quantity
Returns whether the current Quantity is negative.
isNew() - Method in class org.salespointframework.core.AbstractEntity
 
isOpen() - Method in class org.salespointframework.order.Order
Convenience method for checking if an order has the status OPEN
isPaid() - Method in class org.salespointframework.order.Order
Convenience method for checking if an order has the status PAID
isPositive() - Method in class org.salespointframework.quantity.Quantity
Returns whether the current Quantity is positive.
isRevenue() - Method in class org.salespointframework.accountancy.AccountancyEntry
Returns whether the entry is considered revenue, i.e.
isUserFile() - Method in class org.salespointframework.storage.FileStored
Returns whether the file stored is a user-specific file.
isZeroOrNegative() - Method in class org.salespointframework.quantity.Quantity
Returns whether the current Quantity is zero or negative.
isZeroOrPositive() - Method in class org.salespointframework.quantity.Quantity
Returns whether the current Quantity is zero or positive.
iterator() - Method in class org.salespointframework.inventory.InventoryItems
 
iterator() - Method in class org.salespointframework.order.Cart
 
iterator() - Method in class org.salespointframework.order.OrderCompletionReport
 
iterator() - Method in class org.salespointframework.time.Intervals
 

K

keepsTrackOf(Product) - Method in class org.salespointframework.inventory.InventoryItem
Returns whether the InventoryItem belongs to the given Product.
KILOGRAM - Enum constant in enum class org.salespointframework.quantity.Metric
 

L

LineItemFilter - Interface in org.salespointframework.inventory
A Predicate to allow defining whether the OrderLines should be post processed by the InventoryListeners.InventoryOrderEventListener.
LITER - Enum constant in enum class org.salespointframework.quantity.Metric
 
LoggedIn - Annotation Interface in org.salespointframework.useraccount.web
Annotation to mark the method parameter with that shall get the UserAccount of the currently logged in user injected.

M

matches(Password.UnencryptedPassword, Password.EncryptedPassword) - Method in interface org.salespointframework.useraccount.AuthenticationManagement
Returns whether the given candidate Password matches the given existing one.
METER - Enum constant in enum class org.salespointframework.quantity.Metric
 
Metric - Enum Class in org.salespointframework.quantity
All available metrics.
MetricMismatchException - Exception in org.salespointframework.quantity
 
MetricMismatchException(String) - Constructor for exception org.salespointframework.quantity.MetricMismatchException
 
MetricMismatchException(String, Metric, Metric) - Constructor for exception org.salespointframework.quantity.MetricMismatchException
 
MetricMismatchException(Metric, Metric) - Constructor for exception org.salespointframework.quantity.MetricMismatchException
 
MultiInventory<T extends MultiInventoryItem> - Interface in org.salespointframework.inventory
An Inventory that stores MultiInventoryItems, i.e.
MultiInventoryItem - Class in org.salespointframework.inventory
An MultiInventoryItem that establishes a many-to-one relationship to a Product instance, i.e.
MultiInventoryItem() - Constructor for class org.salespointframework.inventory.MultiInventoryItem
 
MultiInventoryItem(Product, Quantity) - Constructor for class org.salespointframework.inventory.MultiInventoryItem
Creates a new MultiInventoryItem for the given Product and Quantity.

N

NamedBinary - Interface in org.salespointframework.storage
An abstraction for files originating from different sources.
negate() - Method in class org.salespointframework.quantity.Quantity
Returns the negated Quantity.
NONE - Static variable in class org.salespointframework.quantity.Quantity
 

O

of(double) - Static method in class org.salespointframework.quantity.Quantity
Creates a new Quantity of the given amount.
of(double, Metric) - Static method in class org.salespointframework.quantity.Quantity
Creates a new Quantity of the given amount and Metric.
of(long) - Static method in class org.salespointframework.quantity.Quantity
Creates a new Quantity of the given amount.
of(long, Metric) - Static method in class org.salespointframework.quantity.Quantity
Creates a new Quantity of the given amount and Metric.
of(Streamable<T>) - Static method in class org.salespointframework.inventory.InventoryItems
 
of(Iterable<T>) - Static method in interface org.salespointframework.order.Totalable
Creates a new Totalable for the given Iterable of Priced elements.
of(String) - Static method in class org.salespointframework.accountancy.AccountancyEntry.AccountancyEntryIdentifier
 
of(String) - Static method in class org.salespointframework.catalog.Product.ProductIdentifier
 
of(String) - Static method in class org.salespointframework.inventory.InventoryItem.InventoryItemIdentifier
 
of(String) - Static method in class org.salespointframework.order.ChargeLine.ChargeLineIdentifier
 
of(String) - Static method in class org.salespointframework.order.Order.OrderIdentifier
 
of(String) - Static method in class org.salespointframework.useraccount.Password.UnencryptedPassword
 
of(String) - Static method in class org.salespointframework.useraccount.Role
Creates a new Role instance with the given name.
of(String) - Static method in class org.salespointframework.useraccount.UserAccount.UserAccountIdentifier
 
of(Path) - Static method in interface org.salespointframework.storage.NamedBinary
Creates a new NamedBinary for the given Path.
of(LocalDate) - Static method in class org.salespointframework.time.BusinessTime.DayHasPassed
 
of(YearMonth) - Static method in class org.salespointframework.time.BusinessTime.MonthHasPassed
 
of(Order) - Static method in class org.salespointframework.order.OrderEvents.OrderCompleted
 
of(Order) - Static method in class org.salespointframework.order.OrderEvents.OrderPaid
 
of(Order, String) - Static method in class org.salespointframework.accountancy.ProductPaymentEntry
 
of(Order, String) - Static method in class org.salespointframework.order.OrderEvents.OrderCanceled
 
of(UserAccount) - Static method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
 
of(Resource) - Static method in interface org.salespointframework.storage.NamedBinary
Creates a new NamedBinary for the given Resource.
of(Resource, Optional<UserAccount.UserAccountIdentifier>) - Static method in class org.salespointframework.storage.FileStored
 
of(MultipartFile) - Static method in interface org.salespointframework.storage.NamedBinary
Creates a new NamedBinary for the given MultipartFile.
on(OrderEvents.OrderCanceled) - Method in class org.salespointframework.accountancy.AccountancyOrderEventListener
Creates a counter ProductPaymentEntry for the order that is cancelled if there's a revenue entry for the given order already, i.e.
on(OrderEvents.OrderPaid) - Method in class org.salespointframework.accountancy.AccountancyOrderEventListener
Creates a new revenue ProductPaymentEntry for the order that has been paid.
onError(Function<OrderCompletionReport, ? extends RuntimeException>) - Method in class org.salespointframework.order.OrderCompletionReport
Applies the given Function to produce an exception in case the report has errors.
onSuccess(Consumer<OrderLine>) - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
Applies the given Consumer in case the OrderCompletionReport.OrderLineCompletion is successful.
OPEN - Enum constant in enum class org.salespointframework.order.OrderStatus
 
Order - Class in org.salespointframework.order
 
Order() - Constructor for class org.salespointframework.order.Order
Deprecated.
Order(UserAccount) - Constructor for class org.salespointframework.order.Order
Creates a new Order
Order(UserAccount, PaymentMethod) - Constructor for class org.salespointframework.order.Order
Creates a new Order for the given UserAccount and PaymentMethod.
Order.OrderIdentifier - Class in org.salespointframework.order
Order.OrderIdentifier serves as an identifier type for Order objects.
OrderCompletionFailure - Exception in org.salespointframework.order
Exception to be thrown if a listener for OrderEvents.OrderCompleted event wants to indicate failure of the completion.
OrderCompletionFailure(OrderCompletionReport) - Constructor for exception org.salespointframework.order.OrderCompletionFailure
Creates a new OrderCompletionFailure for the given OrderCompletionReport.
OrderCompletionFailure(Order, String) - Constructor for exception org.salespointframework.order.OrderCompletionFailure
Creates a new OrderCompletionFailure for the given Order and message.
OrderCompletionReport - Class in org.salespointframework.order
 
OrderCompletionReport.CompletionStatus - Enum Class in org.salespointframework.order
The status of a completion.
OrderCompletionReport.OrderLineCompletion - Class in org.salespointframework.order
The completion status of an OrderLine.
OrderEvents - Class in org.salespointframework.order
Events published by the order module.
OrderEvents() - Constructor for class org.salespointframework.order.OrderEvents
 
OrderEvents.OrderCanceled - Class in org.salespointframework.order
 
OrderEvents.OrderCompleted - Class in org.salespointframework.order
 
OrderEvents.OrderPaid - Class in org.salespointframework.order
 
OrderLine - Class in org.salespointframework.order
An order line represents the price and the Quantity of a Product that is intended to be purchased as part of an Order.
OrderManagement<T extends Order> - Interface in org.salespointframework.order
A service to manage Orders.
OrderStatus - Enum Class in org.salespointframework.order
 
org.salespointframework - package org.salespointframework
The core framework package.
org.salespointframework.accountancy - package org.salespointframework.accountancy
Accountancy subsystem.
org.salespointframework.catalog - package org.salespointframework.catalog
A Catalog maintaining Products.
org.salespointframework.core - package org.salespointframework.core
Core Salespoint types.
org.salespointframework.inventory - package org.salespointframework.inventory
The inventory subsystem.
org.salespointframework.order - package org.salespointframework.order
The order subsystem.
org.salespointframework.payment - package org.salespointframework.payment
The payment subsystem with domain types to capture payment information (credit cards etc.).
org.salespointframework.quantity - package org.salespointframework.quantity
Domain types to work with quantities.
org.salespointframework.storage - package org.salespointframework.storage
The storage subsystem.
org.salespointframework.support - package org.salespointframework.support
Infrastrcuture support classes.
org.salespointframework.time - package org.salespointframework.time
The time subsystem abstracting the concept of business time.
org.salespointframework.useraccount - package org.salespointframework.useraccount
User account management.
org.salespointframework.useraccount.web - package org.salespointframework.useraccount.web
Web related API for the user account management.
overlaps(Interval) - Method in class org.salespointframework.time.Interval
Returns whether the current Interval overlaps with the given one.

P

PAID - Enum constant in enum class org.salespointframework.order.OrderStatus
 
Password - Class in org.salespointframework.useraccount
 
Password() - Constructor for class org.salespointframework.useraccount.Password
 
Password.EncryptedPassword - Class in org.salespointframework.useraccount
 
Password.UnencryptedPassword - Class in org.salespointframework.useraccount
An unencrypted password.
passwordEncoder() - Method in class org.salespointframework.Salespoint
 
PaymentCard - Class in org.salespointframework.payment
A PaymentCard is used to charge the cost of goods or services to an account, belonging to the party identified on the card.
PaymentCard(String, String, String, String, String, LocalDateTime, LocalDateTime, String) - Constructor for class org.salespointframework.payment.PaymentCard
Instantiates a PaymentCard.
PaymentMethod - Class in org.salespointframework.payment
A PaymentMethod specifies a medium by which a payment has or will be made.
PaymentMethod(String) - Constructor for class org.salespointframework.payment.PaymentMethod
 
payOrder(T) - Method in interface org.salespointframework.order.OrderManagement
Pays the Order, OrderStatus must be OrderStatus.OPEN and PaymentMethod must be set.
Product - Class in org.salespointframework.catalog
A product.
Product() - Constructor for class org.salespointframework.catalog.Product
Deprecated.
Product(String, MonetaryAmount) - Constructor for class org.salespointframework.catalog.Product
Creates a new Product with the given name and price.
Product(String, MonetaryAmount, Metric) - Constructor for class org.salespointframework.catalog.Product
Creates a new Product with the given name, price and Metric.
Product.ProductIdentifier - Class in org.salespointframework.catalog
{link ProductIdentifier} serves as an identifier type for Product objects.
ProductPaymentEntry - Class in org.salespointframework.accountancy
A ProductPaymentEntry is used to store information of payments of orders.
ProductPaymentEntry(Order.OrderIdentifier, UserAccount, MonetaryAmount, String, PaymentMethod) - Constructor for class org.salespointframework.accountancy.ProductPaymentEntry
A ProductPaymentEntry is constructed for a specific Order.OrderIdentifier attached to it.

Q

Quantity - Class in org.salespointframework.quantity
A value object to represent a quantity.

R

RecordingMailSender - Class in org.salespointframework.support
A MailSender implementation that allows looking up all SimpleMailMessages that have been sent.
RecordingMailSender() - Constructor for class org.salespointframework.support.RecordingMailSender
 
refersTo(Product) - Method in class org.salespointframework.order.OrderLine
Returns whether the OrderLine refers to the given Product.
refersTo(Product.ProductIdentifier) - Method in class org.salespointframework.order.OrderLine
Returns whether the OrderLine refers to the Product with the given identifier.
registerEvent(T) - Method in class org.salespointframework.core.AbstractAggregateRoot
Registers the given event with the aggregate root for publication on persisting, i.e.
remove(ChargeLine) - Method in class org.salespointframework.order.Order
 
remove(ChargeLine.AttachedChargeLine) - Method in class org.salespointframework.order.Order
Removes the given ChargeLine.AttachedChargeLine from the Order.
remove(OrderLine) - Method in class org.salespointframework.order.Order
Removes the given OrderLine as well as all ChargeLine.AttachedChargeLine associated with it.
remove(Role) - Method in class org.salespointframework.useraccount.UserAccount
Removes a Role from a UserAccount.
removeCategory(String) - Method in class org.salespointframework.catalog.Product
 
removeChargeLinesFor(OrderLine) - Method in class org.salespointframework.order.Order
Removes all ChargeLine.AttachedChargeLines attached to the given OrderLine.
removeItem(String) - Method in class org.salespointframework.order.Cart
Removes the CartItem with the given identifier.
reset() - Method in interface org.salespointframework.time.BusinessTime
Undoes any forwarding.
Role - Class in org.salespointframework.useraccount
A Role is only identified by a name.
rollback(Order, String) - Static method in class org.salespointframework.accountancy.ProductPaymentEntry
Creates a new ProductPaymentEntry that rolls back the payment for the given Order.

S

Salespoint - Class in org.salespointframework
Application configuration for Salespoint.
Salespoint() - Constructor for class org.salespointframework.Salespoint
 
SalespointRepository<T,ID extends org.jmolecules.ddd.types.Identifier> - Interface in org.salespointframework.core
Base interface for repositories.
SalespointSecurityAutoConfiguration() - Constructor for class org.salespointframework.EnableSalespoint.SalespointSecurityAutoConfiguration
 
SalespointSecurityConfiguration - Class in org.salespointframework
Basic Salespoint security configuration setting up the AuthenticationManagerBuilder to work with the UserDetailsService implementation as well as the PasswordEncoder we provide.
SalespointSecurityConfiguration() - Constructor for class org.salespointframework.SalespointSecurityConfiguration
 
salesVolume(Interval, TemporalAmount) - Method in interface org.salespointframework.accountancy.Accountancy
Returns the sum of the field amount of all AccountancyEntrys which have their date within (including) from and to.
save(UserAccount) - Method in interface org.salespointframework.useraccount.UserAccountManagement
Saves the UserAccount
save(T) - Method in interface org.salespointframework.order.OrderManagement
Saves the given Order or persists changes to it.
saveAll(Iterable<S>) - Method in interface org.salespointframework.core.SalespointRepository
 
send(SimpleMailMessage) - Method in class org.salespointframework.support.ConsoleWritingMailSender
 
send(SimpleMailMessage) - Method in class org.salespointframework.support.RecordingMailSender
 
send(SimpleMailMessage...) - Method in class org.salespointframework.support.ConsoleWritingMailSender
 
setEmail(String) - Method in class org.salespointframework.useraccount.UserAccount
 
setEnabled(boolean) - Method in class org.salespointframework.useraccount.UserAccount
 
setFirstname(String) - Method in class org.salespointframework.useraccount.UserAccount
 
setLastname(String) - Method in class org.salespointframework.useraccount.UserAccount
 
setName(String) - Method in class org.salespointframework.catalog.Product
 
setPaymentMethod(PaymentMethod) - Method in class org.salespointframework.order.Order
 
setPrice(MonetaryAmount) - Method in class org.salespointframework.catalog.Product
 
shouldBeHandled(OrderLine, Collection<LineItemFilter>) - Static method in interface org.salespointframework.inventory.LineItemFilter
Returns whether the given OrderLine should be handled considering the given LineItemFilters.
skipped(OrderLine) - Static method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
SQUARE_METER - Enum constant in enum class org.salespointframework.quantity.Metric
 
Storage - Interface in org.salespointframework.storage
An application service to store NamedBinary instances and obtain them as Resources.
store(NamedBinary) - Method in interface org.salespointframework.storage.Storage
Stores the given NamedBinary.
streamAll() - Method in interface org.salespointframework.inventory.Inventory
Returns all InventoryItems as Streamable usually to concatenate with other Streamables of InventoryItems.
subtract(Quantity) - Method in class org.salespointframework.quantity.Quantity
Subtracts the given Quantity from the current one.
SUCCEEDED - Enum constant in enum class org.salespointframework.order.OrderCompletionReport.CompletionStatus
 
success(Order) - Static method in class org.salespointframework.order.OrderCompletionReport
Creates an OrderCompletionReport representing a successful verification of the given Order.
success(OrderLine) - Static method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
Creates an OrderCompletionReport.OrderLineCompletion representing the successful completion of an OrderLine.
supports(Quantity) - Method in class org.salespointframework.catalog.Product
Returns whether the Product supports the given Quantity.

T

times(int) - Method in class org.salespointframework.quantity.Quantity
Creates a new Quantity of the current one multiplied with the given int.
times(long) - Method in class org.salespointframework.quantity.Quantity
Creates a new Quantity of the current one multiplied with the given long.
to(LocalDateTime) - Method in class org.salespointframework.time.Interval.IntervalBuilder
Creates an Interval from the current start time until the given end time.
toDuration() - Method in class org.salespointframework.time.Interval
Returns the Duration represented by the given Interval, with the end excluded.
toString() - Method in class org.salespointframework.accountancy.AccountancyEntry.AccountancyEntryIdentifier
 
toString() - Method in class org.salespointframework.accountancy.AccountancyEntry
 
toString() - Method in class org.salespointframework.accountancy.ProductPaymentEntry
 
toString() - Method in class org.salespointframework.catalog.Product.ProductIdentifier
 
toString() - Method in class org.salespointframework.catalog.Product
 
toString() - Method in class org.salespointframework.inventory.InventoryItem.InventoryItemIdentifier
 
toString() - Method in class org.salespointframework.inventory.InventoryItem
 
toString() - Method in class org.salespointframework.order.CartItem
 
toString() - Method in class org.salespointframework.order.ChargeLine.ChargeLineIdentifier
 
toString() - Method in class org.salespointframework.order.ChargeLine
 
toString() - Method in class org.salespointframework.order.Order.OrderIdentifier
 
toString() - Method in class org.salespointframework.order.Order
 
toString() - Method in exception org.salespointframework.order.OrderCompletionFailure
 
toString() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
 
toString() - Method in class org.salespointframework.order.OrderCompletionReport
 
toString() - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
 
toString() - Method in class org.salespointframework.order.OrderEvents.OrderCompleted
 
toString() - Method in class org.salespointframework.order.OrderEvents.OrderPaid
 
toString() - Method in class org.salespointframework.order.OrderLine
 
toString() - Method in class org.salespointframework.payment.Cash
 
toString() - Method in class org.salespointframework.payment.Cheque
 
toString() - Method in class org.salespointframework.payment.CreditCard
 
toString() - Method in class org.salespointframework.payment.DebitCard
 
toString() - Method in class org.salespointframework.payment.PaymentCard
 
toString() - Method in class org.salespointframework.payment.PaymentMethod
 
toString() - Method in class org.salespointframework.quantity.Quantity
 
toString() - Method in class org.salespointframework.storage.FileStored
 
toString() - Method in class org.salespointframework.time.BusinessTime.DayHasPassed
 
toString() - Method in class org.salespointframework.time.BusinessTime.MonthHasPassed
 
toString() - Method in class org.salespointframework.time.Interval
 
toString() - Method in class org.salespointframework.useraccount.Password.EncryptedPassword
 
toString() - Method in class org.salespointframework.useraccount.Password.UnencryptedPassword
 
toString() - Method in class org.salespointframework.useraccount.Role
 
toString() - Method in class org.salespointframework.useraccount.UserAccount
 
toString() - Method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
 
toString() - Method in class org.salespointframework.useraccount.UserAccount.UserAccountIdentifier
 
Totalable<T extends org.salespointframework.order.Priced> - Interface in org.salespointframework.order
An extension ofStreamable of Priced objects that expose a Totalable.getTotal() method so that the combined price can be calculated easily.
toUnit() - Method in class org.salespointframework.quantity.Quantity
Returns the current Quantity as units, flattening all non unit metrics into a single unit.
toZero() - Method in class org.salespointframework.quantity.Quantity
Returns a new Quantity of zero with the Metric of the current one.

U

UniqueInventory<T extends UniqueInventoryItem> - Interface in org.salespointframework.inventory
UniqueInventoryItem - Class in org.salespointframework.inventory
An InventoryItem that requires a unique one-to-one relationship to a Product instance.
UniqueInventoryItem() - Constructor for class org.salespointframework.inventory.UniqueInventoryItem
 
UniqueInventoryItem(Product, Quantity) - Constructor for class org.salespointframework.inventory.UniqueInventoryItem
Creates a new UniqueInventoryItem for the given Product and Quantity.
UNIT - Enum constant in enum class org.salespointframework.quantity.Metric
 
updateAuthentication(UserAccount) - Method in interface org.salespointframework.useraccount.AuthenticationManagement
Updates the current authentication to the given UserAccount.
UserAccount - Class in org.salespointframework.useraccount
A user account aggregate.
UserAccount.UserAccountCreated - Class in org.salespointframework.useraccount
 
UserAccount.UserAccountIdentifier - Class in org.salespointframework.useraccount
UserAccount.UserAccountIdentifier serves as an identifier type for UserAccount objects.
UserAccountManagement - Interface in org.salespointframework.useraccount
Central service to manager UserAccount instances.

V

value() - Element in annotation interface org.salespointframework.EnableSalespoint
 
valueOf(String) - Static method in enum class org.salespointframework.order.OrderCompletionReport.CompletionStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.salespointframework.order.OrderStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.salespointframework.quantity.Metric
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.salespointframework.order.OrderCompletionReport.CompletionStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.salespointframework.order.OrderStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.salespointframework.quantity.Metric
Returns an array containing the constants of this enum class, in the order they are declared.
verify(Quantity) - Method in class org.salespointframework.catalog.Product
Verifies the given Quantity to match the one supported by the current Product.

W

withLength(TemporalAmount) - Method in class org.salespointframework.time.Interval.IntervalBuilder
Creates a new Interval from the current start time adding the given TemporalAmount to it.

Z

ZERO_EURO - Static variable in interface org.salespointframework.core.Currencies
 
A B C D E F G H I K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Serialized Form