Index
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)
andAbstractEntity.hashCode()
. - AbstractEntity() - Constructor for class org.salespointframework.core.AbstractEntity
- Accountancy - Interface in org.salespointframework.accountancy
-
An application service to manage
AccountancyEntry
s and to create basic financial statistics. - 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
AccountancyEntry
with a specific value. - AccountancyEntry(MonetaryAmount, String) - Constructor for class org.salespointframework.accountancy.AccountancyEntry
-
Creates a new
AccountancyEntry
with a specific value and a user defined description. - AccountancyEntry.AccountancyEntryIdentifier - Class in org.salespointframework.accountancy
-
AccountancyEntry.AccountancyEntryIdentifier
serves as an identifier type and primary key forAccountancyEntry
objects. - AccountancyEntryCreated(AccountancyEntry) - Constructor for class org.salespointframework.accountancy.AccountancyEvents.AccountancyEntryCreated
- AccountancyEvents - Class in org.salespointframework.accountancy
-
All events published by the accountancy.
- AccountancyEvents() - Constructor for class org.salespointframework.accountancy.AccountancyEvents
- AccountancyEvents.AccountancyEntryCreated<T extends AccountancyEntry> - Class in org.salespointframework.accountancy
-
Published whenever an
AccountancyEntry
is created within the system. - AccountancyOrderEventListener - Class in org.salespointframework.accountancy
-
An
ApplicationListener
forOrderEvents.OrderCompleted
events to createOrderPaymentEntry
for theOrder
. - 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 theUserAccount
. - add(T) - Method in interface org.salespointframework.accountancy.Accountancy
-
Adds a new
AccountancyEntry
to thisAccountancy
. - 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 theOrder
. - addChargeLine(MonetaryAmount, String, int) - Method in class org.salespointframework.order.Order
-
Adds an
ChargeLine.AttachedChargeLine
with the given price and description to theOrderLine
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 givenOrderLine
. - 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
- addOrUpdateItem(Product, double) - Method in class org.salespointframework.order.Cart
- addOrUpdateItem(Product, long) - Method in class org.salespointframework.order.Cart
- addOrUpdateItem(Product, Quantity) - Method in class org.salespointframework.order.Cart
- 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.
B
- belongsTo(Order) - Method in class org.salespointframework.accountancy.OrderPaymentEntry
-
Returns whether the
OrderPaymentEntry
belongs to the givenOrder
. - belongsTo(OrderLine) - Method in class org.salespointframework.order.ChargeLine.AttachedChargeLine
-
Returns whether the
ChargeLine.AttachedChargeLine
belongs to the givenOrderLine
. - belongsTo(UserAccount.UserAccountIdentifier) - Method in class org.salespointframework.files.FileStored
-
Returns whether the file stored belongs to the
UserAccount
with the givenUserAccount.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
- CANCELED - 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
- 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
Product
s - 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 anOrderLine
. - ChargeLine.ChargeLineIdentifier - Class in org.salespointframework.order
-
ChargeLine.ChargeLineIdentifier
serves as an identifier type forChargeLine
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 beOrderStatus.PAID
. - ConsoleWritingMailSender - Class in org.salespointframework.support
-
MailSender
implementation writing theSimpleMailMessage
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 currentInterval
. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- createOrderFor(UserAccount.UserAccountIdentifier) - Method in class org.salespointframework.order.Cart
-
Creates a new Order for the given
UserAccount.UserAccountIdentifier
from the currentCart
. - createQuantity(double) - Method in class org.salespointframework.catalog.Product
- createQuantity(long) - Method in class org.salespointframework.catalog.Product
- 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 givenQuantity
. - 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.files.FileStorage
-
Deletes all files currently contained in the
FileStorage
. - deleteByName(String) - Method in interface org.salespointframework.files.FileStorage
-
Deletes the file with the given name.
- 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.accountancy.AccountancyEvents.AccountancyEntryCreated
- 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.files.FileStored
- 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.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 erroneousOrderLine
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 anOrder
that's marked as failed. - FAILED - Enum constant in enum class org.salespointframework.order.OrderCompletionReport.CompletionStatus
- FileStorage - Interface in org.salespointframework.files
-
An application service to store
NamedBinary
instances and obtain them asResource
s. - FileStored - Class in org.salespointframework.files
-
An event published when a
NamedBinary
gets stored. - find(Interval) - Method in interface org.salespointframework.accountancy.Accountancy
- find(Interval, Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntry
s of the given type for the givenInterval
. - find(Interval, TemporalAmount) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntry
s within the given interval, grouped by sub-intervals of the given duration. - find(Interval, TemporalAmount, Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntry
s of the given type within the given interval, grouped by sub-intervals of the given duration. - findAll() - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntry
s previously added to the accountancy. - findAll() - Method in interface org.salespointframework.core.SalespointRepository
-
Re-declaration of
CrudRepository.findAll()
to returnStreamable
instead ofIterable
for easier composition. - findAll() - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Finds all
UserAccount
s. - findAll(Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntry
instances of the given types, and the given types only. - findAll(Pageable) - Method in interface org.salespointframework.order.OrderManagement
- 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
- findBy(Interval) - Method in interface org.salespointframework.order.OrderManagement
- findBy(UserAccount) - Method in interface org.salespointframework.order.OrderManagement
-
Returns all
Order
s of the givenUserAccount
. - findBy(UserAccount, Interval) - Method in interface org.salespointframework.order.OrderManagement
-
Returns all
Order
s from the givenUserAccount
in between the datesfrom
andto
, 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
Product
s that are assigned to any of the given categories. - findByAnyCategory(Collection<String>) - Method in interface org.salespointframework.catalog.Catalog
-
Returns all
Product
s that are assigned to any of the given categories. - findByCategory(String) - Method in interface org.salespointframework.catalog.Catalog
-
Returns all
Product
s assigned to the given category. - findByName(String) - Method in interface org.salespointframework.catalog.Catalog
-
Returns the
Product
s with the given name. - findByProduct(Product) - Method in interface org.salespointframework.inventory.MultiInventory
-
Returns all
InventoryItems
available for a givenProduct
. - findByProduct(Product) - Method in interface org.salespointframework.inventory.UniqueInventory
-
Returns the
InventoryItem
for the givenProduct
. - findByProductIdentifier(Product.ProductIdentifier) - Method in interface org.salespointframework.inventory.MultiInventory
-
Returns all
InventoryItems
available for a givenProduct.ProductIdentifier
. - findByProductIdentifier(Product.ProductIdentifier) - Method in interface org.salespointframework.inventory.UniqueInventory
-
Returns the
InventoryItem
for the givenProduct.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
UserAccount
s. - findEnabled() - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Finds only enabled
UserAccount
s. - findItemsOutOfStock() - Method in interface org.salespointframework.inventory.Inventory
-
Returns all
UniqueInventoryItem
s that are out of stock (i.e. - forCompletions(Order, Iterable<OrderCompletionReport.OrderLineCompletion>) - Static method in class org.salespointframework.order.OrderCompletionReport
-
Creates a new
OrderCompletionReport
for the givenOrder
andOrderCompletionReport.OrderLineCompletion
s. - forUser(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.files.FileStorage
-
Returns the
FileStorage
for theUserAccount
identified by the givenUserAccount.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
identified by the givenAccountancyEntry.AccountancyEntryIdentifier
, if it exists. - get(AccountancyEntry.AccountancyEntryIdentifier, Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns the
AccountancyEntry
identified by the givenAccountancyEntry.AccountancyEntryIdentifier
of the given type, if it exists. - 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
- 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.files.FileStorage
-
Returns all stored
Resource
s. - 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 currentOrder
. - getChargeLines(int) - Method in class org.salespointframework.order.Order
-
Returns all
ChargeLine.AttachedChargeLine
s for theOrderLine
with the given index. - getChargeLines(OrderLine) - Method in class org.salespointframework.order.Order
-
Returns all
ChargeLine.AttachedChargeLine
s for the givenOrderLine
. - 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.
- getCurrentlyLoggedInUserAccounts() - Method in interface org.salespointframework.useraccount.AuthenticationManagement
-
Returns all
UserAccount
s for the users currently logged into the system. - 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 orOptional.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
-
Returns the date this entry was posted.
- 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
. - getEntry() - Method in class org.salespointframework.accountancy.AccountancyEvents.AccountancyEntryCreated
- 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
-
Returns the unique identifier of this
AccountancyEntry
. - getId() - Method in class org.salespointframework.catalog.Product
-
Returns the unique id of this
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
-
Returns the unique identifier of this
ChargeLine
. - getId() - Method in class org.salespointframework.order.Order
-
Returns the unique id of this
Order
. - getId() - Method in class org.salespointframework.order.OrderLine
-
Returns the unique identifier of this
OrderLine
. - getId() - Method in class org.salespointframework.useraccount.UserAccount
-
Returns the unique identifier of this
UserAccount
. - getInputStream() - Method in interface org.salespointframework.files.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.files.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.OrderPaymentEntry
-
The
Order.OrderIdentifier
which thisOrderPaymentEntry
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
- getOrderLines(Product) - Method in class org.salespointframework.order.Order
- 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.OrderPaymentEntry
-
The
PaymentMethod
chosen for the order belonging to thisOrderPaymentEntry
. - 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
thisInventoryItem
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
- 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
- getQuantity(Product.ProductIdentifier) - Method in class org.salespointframework.order.Cart
-
Returns the quantity for the given
Product.ProductIdentifier
currently contained in theCart
. - getReason() - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
- getReport() - Method in exception org.salespointframework.order.OrderCompletionFailure
- getResolvableType() - Method in class org.salespointframework.accountancy.AccountancyEvents.AccountancyEntryCreated
- getResource() - Method in class org.salespointframework.files.FileStored
-
The
Resource
for the file just stored. - getResource(String) - Method in interface org.salespointframework.files.FileStorage
-
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
SimpleMailMessage
s 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 thisTotalable
. - getTotalQuantity() - Method in class org.salespointframework.inventory.InventoryItems
-
Returns the total quantity of all the
InventoryItem
s contained. - getUserAccountIdentifier() - Method in class org.salespointframework.accountancy.OrderPaymentEntry
-
The identifier of the
UserAccount
which thisOrderPaymentEntry
refers to. - getUserAccountIdentifier() - Method in class org.salespointframework.files.FileStored
-
The
UserAccount.UserAccountIdentifier
in case the file was stored in the context of aUserAccount
. - getUserAccountIdentifier() - Method in class org.salespointframework.order.Order
- getUserAccountIdentifier() - Method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
- getUsername() - Method in class org.salespointframework.useraccount.UserAccount
- 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 allOrderLine
s. - handleNone() - Static method in interface org.salespointframework.inventory.LineItemFilter
-
Returns a
LineItemFilter
that does not consider anyOrderLine
s. - hasDate() - Method in class org.salespointframework.accountancy.AccountancyEntry
-
Returns whether this entry 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.accountancy.AccountancyEvents.AccountancyEntryCreated
- hashCode() - Method in class org.salespointframework.catalog.Product.ProductIdentifier
- hashCode() - Method in class org.salespointframework.core.AbstractEntity
- hashCode() - Method in class org.salespointframework.files.FileStored
- 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.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 specificRole
- 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 givenQuantity
. - 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
Interval
s. - 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 inInventoryProperties
. - InventoryItem<T extends InventoryItem<T>> - Class in org.salespointframework.inventory
-
An
InventoryItem
associates a product with aQuantity
to keep track of how many items per product are available. - InventoryItem(Product, Quantity) - Constructor for class org.salespointframework.inventory.InventoryItem
- InventoryItem.InventoryItemIdentifier - Class in org.salespointframework.inventory
-
InventoryItemIdentifier
serves as an identifier type forUniqueInventoryItem
objects. - InventoryItems<T extends InventoryItem<?>> - Class in org.salespointframework.inventory
-
An abstraction over a collection of
InventoryItem
s. - isCanceled() - Method in class org.salespointframework.order.Order
-
Convenience method for checking if an order has the status CANCELED
- 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
- 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.files.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 givenProduct
. - KILOGRAM - Enum constant in enum class org.salespointframework.quantity.Metric
L
- LineItemFilter - Interface in org.salespointframework.inventory
- 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 storesMultiInventoryItem
s, i.e. - MultiInventoryItem - Class in org.salespointframework.inventory
-
An
MultiInventoryItem
that establishes a many-to-one relationship to aProduct
instance, i.e. - MultiInventoryItem(Product, Quantity) - Constructor for class org.salespointframework.inventory.MultiInventoryItem
N
- NamedBinary - Interface in org.salespointframework.files
-
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
- 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
- of(Streamable<T>) - Static method in class org.salespointframework.inventory.InventoryItems
- of(Iterable<T>) - Static method in interface org.salespointframework.order.Totalable
- 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
-
Creates a new unencrypted password.
- 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.files.NamedBinary
-
Creates a new
NamedBinary
for the givenPath
. - 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.OrderPaymentEntry
-
Creates a new
OrderPaymentEntry
for the givenOrder
and description. - of(Order, String) - Static method in class org.salespointframework.order.OrderEvents.OrderCanceled
- of(UserAccount.UserAccountIdentifier) - Static method in class org.salespointframework.useraccount.UserAccount.UserAccountCreated
- of(Resource) - Static method in interface org.salespointframework.files.NamedBinary
-
Creates a new
NamedBinary
for the givenResource
. - of(Resource, Optional<UserAccount.UserAccountIdentifier>) - Static method in class org.salespointframework.files.FileStored
- of(MultipartFile) - Static method in interface org.salespointframework.files.NamedBinary
-
Creates a new
NamedBinary
for the givenMultipartFile
. - on(OrderEvents.OrderCanceled) - Method in class org.salespointframework.accountancy.AccountancyOrderEventListener
-
Creates a counter
OrderPaymentEntry
for the order that is canceled 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
OrderPaymentEntry
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 theOrderCompletionReport.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
-
Deprecated, for removal: This API element is subject to removal in a future version.since 9.0. Use
Order(UserAccountIdentifier)
instead. - Order(UserAccount.UserAccountIdentifier) - Constructor for class org.salespointframework.order.Order
-
Creates a new Order for the given
UserAccount.UserAccountIdentifier
. - Order(UserAccount.UserAccountIdentifier, PaymentMethod) - Constructor for class org.salespointframework.order.Order
- Order(UserAccount, PaymentMethod) - Constructor for class org.salespointframework.order.Order
-
Deprecated, for removal: This API element is subject to removal in a future version.since 9.0. Use
Order(UserAccountIdentifier, PaymentMethod)
instead. - Order.OrderIdentifier - Class in org.salespointframework.order
-
Order.OrderIdentifier
serves as an identifier type forOrder
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 givenOrderCompletionReport
. - OrderCompletionFailure(Order, String) - Constructor for exception org.salespointframework.order.OrderCompletionFailure
-
Creates a new
OrderCompletionFailure
for the givenOrder
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
- OrderManagement<T extends Order> - Interface in org.salespointframework.order
-
A service to manage
Order
s. - OrderPaymentEntry - Class in org.salespointframework.accountancy
-
A
OrderPaymentEntry
is used to store information of payments of orders. - OrderPaymentEntry(Order.OrderIdentifier, UserAccount.UserAccountIdentifier, MonetaryAmount, String, PaymentMethod) - Constructor for class org.salespointframework.accountancy.OrderPaymentEntry
-
A
ProductPaymentEntry
is constructed for a specificOrder.OrderIdentifier
attached to it. - 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 with services for accounting and bookkeeping.
- org.salespointframework.catalog - package org.salespointframework.catalog
- org.salespointframework.core - package org.salespointframework.core
-
Core Salespoint types.
- org.salespointframework.files - package org.salespointframework.files
-
The storage subsystem.
- 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.support - package org.salespointframework.support
-
Infrastructure 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
-
An encrypted password.
- Password.UnencryptedPassword - Class in org.salespointframework.useraccount
-
An unencrypted password.
- 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
- 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
- Product.ProductIdentifier - Class in org.salespointframework.catalog
-
{link ProductIdentifier} serves as an identifier type for
Product
objects.
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 allSimpleMailMessage
s that have been sent. - RecordingMailSender() - Constructor for class org.salespointframework.support.RecordingMailSender
- refersTo(Product) - Method in class org.salespointframework.order.OrderLine
- refersTo(Product.ProductIdentifier) - Method in class org.salespointframework.order.OrderLine
- 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 the given
ChargeLine
from theOrder
- remove(ChargeLine.AttachedChargeLine) - Method in class org.salespointframework.order.Order
-
Removes the given
ChargeLine.AttachedChargeLine
from theOrder
. - remove(OrderLine) - Method in class org.salespointframework.order.Order
-
Removes the given
OrderLine
as well as allChargeLine.AttachedChargeLine
associated with it. - remove(Role) - Method in class org.salespointframework.useraccount.UserAccount
-
Removes a
Role
from aUserAccount
. - removeCategory(String) - Method in class org.salespointframework.catalog.Product
- removeChargeLinesFor(OrderLine) - Method in class org.salespointframework.order.Order
-
Removes all
ChargeLine.AttachedChargeLine
s attached to the givenOrderLine
. - 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.OrderPaymentEntry
-
Creates a new
OrderPaymentEntry
that rolls back the payment for the givenOrder
.
S
- 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
- salesVolume(Interval, TemporalAmount) - Method in interface org.salespointframework.accountancy.Accountancy
-
Computes the sales volume, i.e., the sum of
AccountancyEntry.getValue()
, for allAccountancyEntry
s within the given interval, grouped by sub-intervals of the given duration. - 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
-
Sets the given
PaymentMethod
for theOrder
- setPrice(MonetaryAmount) - Method in class org.salespointframework.catalog.Product
- setUsername(String) - Method in class org.salespointframework.useraccount.UserAccount
- shouldBeHandled(OrderLine, Collection<LineItemFilter>) - Static method in interface org.salespointframework.inventory.LineItemFilter
-
Returns whether the given
OrderLine
should be handled considering the givenLineItemFilter
s. - size() - Method in class org.salespointframework.order.Cart
-
Returns the size of the
Cart
, in other words, the number of items in it. - skipped(OrderLine) - Static method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
- SQUARE_METER - Enum constant in enum class org.salespointframework.quantity.Metric
- store(NamedBinary) - Method in interface org.salespointframework.files.FileStorage
-
Stores the given
NamedBinary
. - streamAll() - Method in interface org.salespointframework.inventory.Inventory
-
Returns all
InventoryItem
s asStreamable
usually to concatenate with otherStreamable
s ofInventoryItem
s. - 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 givenOrder
. - success(OrderLine) - Static method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
-
Creates an
OrderCompletionReport.OrderLineCompletion
representing the successful completion of anOrderLine
. - supports(Quantity) - Method in class org.salespointframework.catalog.Product
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
- toString() - Method in class org.salespointframework.accountancy.AccountancyEntry.AccountancyEntryIdentifier
- toString() - Method in class org.salespointframework.accountancy.AccountancyEntry
- toString() - Method in class org.salespointframework.accountancy.AccountancyEvents.AccountancyEntryCreated
- toString() - Method in class org.salespointframework.accountancy.OrderPaymentEntry
- toString() - Method in class org.salespointframework.catalog.Product.ProductIdentifier
- toString() - Method in class org.salespointframework.catalog.Product
- toString() - Method in class org.salespointframework.files.FileStored
- 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.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 of
Streamable
ofPriced
objects that expose aTotalable.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
U
- UniqueInventory<T extends UniqueInventoryItem> - Interface in org.salespointframework.inventory
-
A
UniqueInventory
managesUniqueInventoryItem
s, i.e. - UniqueInventoryItem - Class in org.salespointframework.inventory
-
An
InventoryItem
that requires a unique one-to-one relationship to aProduct
instance. - UniqueInventoryItem(Product, Quantity) - Constructor for class org.salespointframework.inventory.UniqueInventoryItem
- 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 forUserAccount
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
W
- withLength(TemporalAmount) - Method in class org.salespointframework.time.Interval.IntervalBuilder
-
Creates a new
Interval
from the current start time adding the givenTemporalAmount
to it. - withName(String) - Method in interface org.salespointframework.files.NamedBinary
-
Creates a new
NamedBinary
instance with the given name.
Z
- ZERO_EURO - Static variable in interface org.salespointframework.core.Currencies
All Classes and Interfaces|All Packages|Serialized Form
Cart.createOrderFor(UserAccountIdentifier)
instead.