Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractAggregateRoot<ID> - Class in org.salespointframework.core
-
Base class for Aggregate root entities.
- AbstractAggregateRoot() - Constructor for class org.salespointframework.core.AbstractAggregateRoot
- AbstractEntity<ID> - 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
AccountancyEntrys 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
AccountancyEntrywith a specific value. - AccountancyEntry(MonetaryAmount, String) - Constructor for class org.salespointframework.accountancy.AccountancyEntry
-
Creates a new
AccountancyEntrywith a specific value and a user defined description. - AccountancyEntry.AccountancyEntryIdentifier - Class in org.salespointframework.accountancy
-
AccountancyEntry.AccountancyEntryIdentifierserves as an identifier type and primary key forAccountancyEntryobjects. - AccountancyOrderEventListener - Class in org.salespointframework.accountancy
-
An
ApplicationListenerforOrderEvents.OrderCompletedevents to createOrderPaymentEntryfor theOrder. - AccountancyOrderEventListener(Accountancy) - Constructor for class org.salespointframework.accountancy.AccountancyOrderEventListener
- add(Quantity) - Method in class org.salespointframework.quantity.Quantity
-
Adds the given
Quantityto the current one. - add(Role) - Method in class org.salespointframework.useraccount.UserAccount
-
Adds a
Roleto theUserAccount. - add(T) - Method in interface org.salespointframework.accountancy.Accountancy
-
Adds a new
AccountancyEntryto thisAccountancy. - addCategory(String) - Method in class org.salespointframework.catalog.Product
-
Adds the
Productto the given category. - addChargeLine(MonetaryAmount, String) - Method in class org.salespointframework.order.Order
-
Adds a
ChargeLinewith the given price and description to theOrder. - addChargeLine(MonetaryAmount, String, int) - Method in class org.salespointframework.order.Order
-
Adds an
ChargeLine.AttachedChargeLinewith the given price and description to theOrderLinewith the given index. - addChargeLine(MonetaryAmount, String, OrderLine) - Method in class org.salespointframework.order.Order
-
Adds an
ChargeLine.AttachedChargeLinewith 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
Totalablewith 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
OrderPaymentEntrybelongs to the givenOrder. - belongsTo(OrderLine) - Method in class org.salespointframework.order.ChargeLine.AttachedChargeLine
-
Returns whether the
ChargeLine.AttachedChargeLinebelongs to the givenOrderLine. - belongsTo(UserAccount.UserAccountIdentifier) - Method in class org.salespointframework.files.FileStored
-
Returns whether the file stored belongs to the
UserAccountwith 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
DomainEventpublished on each day. - BusinessTime.MonthHasPassed - Class in org.salespointframework.time
-
A
DomainEventpublished 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 class 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
PaymentMethodis used to designate all payments made in cash. - CASH - Static variable in class org.salespointframework.payment.Cash
-
A convenience instance
Cash.CASHis defined in this class, which can be reused, instead of instantiating a new instance every time one is needed. - Catalog<T> - 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
Orderas a whole. - ChargeLine(MonetaryAmount, String) - Constructor for class org.salespointframework.order.ChargeLine
- ChargeLine.AttachedChargeLine - Class in org.salespointframework.order
-
A
ChargeLinethat's attached to anOrderLine. - ChargeLine.ChargeLineIdentifier - Class in org.salespointframework.order
-
ChargeLine.ChargeLineIdentifierserves as an identifier type forChargeLineobjects. - 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
Chequeinstance. - 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
OrderStatushas to beOrderStatus.PAID. - ConsoleWritingMailSender - Class in org.salespointframework.support
-
MailSenderimplementation writing theSimpleMailMessageto 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
LocalDateTimeis contained in the currentInterval. - contains(Order.OrderIdentifier) - Method in interface org.salespointframework.order.OrderManagement
-
Checks if this
OrderManagementcontains an order. - contains(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Checks if an
UserAccountexists. - create(String, Password.UnencryptedPassword, Iterable<Role>) - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Creates a new
UserAccountfrom the given username,Password.UnencryptedPasswordand roles. - create(String, Password.UnencryptedPassword, String, Iterable<Role>) - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Creates a new
UserAccountfrom 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
UserAccountfrom the given username,Password.UnencryptedPassword, email address and roles. - create(String, Password.UnencryptedPassword, Role...) - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Creates a new
UserAccountfrom the given username,Password.UnencryptedPasswordand 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.UserAccountIdentifierfrom 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
CurrencyUnitconstants.
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
InventoryItemby 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
Intervalinto 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.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 class 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.OrderLineCompletionrepresenting an erroneousOrderLinealongside 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
OrderCompletionReportfor anOrderthat'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
NamedBinaryinstances and obtain them asResources. - FileStored - Class in org.salespointframework.files
-
An event published when a
NamedBinarygets stored. - find(Interval) - Method in interface org.salespointframework.accountancy.Accountancy
- find(Interval, Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntrys of the given type for the givenInterval. - find(Interval, TemporalAmount) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntrys 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
AccountancyEntrys 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
AccountancyEntrys previously added to the accountancy. - findAll() - Method in interface org.salespointframework.core.SalespointRepository
-
Re-declaration of
CrudRepository.findAll()to returnStreamableinstead ofIterablefor easier composition. - findAll() - Method in interface org.salespointframework.useraccount.UserAccountManagement
-
Finds all
UserAccounts. - findAll(Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns all
AccountancyEntryinstances 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
Orders of the givenUserAccount. - findBy(UserAccount, Interval) - Method in interface org.salespointframework.order.OrderManagement
-
Returns all
Orders from the givenUserAccountin between the datesfromandto, including from and to. - findByAllCategories(String...) - Method in interface org.salespointframework.catalog.Catalog
-
Returns all
Productthat are assigned to all given categories. - findByAllCategories(Collection<String>) - Method in interface org.salespointframework.catalog.Catalog
-
Returns all
Productthat 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
InventoryItemsavailable for a givenProduct. - findByProduct(Product) - Method in interface org.salespointframework.inventory.UniqueInventory
-
Returns the
InventoryItemfor the givenProduct. - findByProductIdentifier(Product.ProductIdentifier) - Method in interface org.salespointframework.inventory.MultiInventory
-
Returns all
InventoryItemsavailable for a givenProduct.ProductIdentifier. - findByProductIdentifier(Product.ProductIdentifier) - Method in interface org.salespointframework.inventory.UniqueInventory
-
Returns the
InventoryItemfor 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
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. theQuantity's amount is equal or less than zero). - forCompletions(Order, Iterable<OrderCompletionReport.OrderLineCompletion>) - Static method in class org.salespointframework.order.OrderCompletionReport
-
Creates a new
OrderCompletionReportfor the givenOrderandOrderCompletionReport.OrderLineCompletions. - forUser(UserAccount.UserAccountIdentifier) - Method in interface org.salespointframework.files.FileStorage
-
Returns the
FileStoragefor theUserAccountidentified 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
Metricfor the given abbreviation. - from(LocalDateTime) - Static method in class org.salespointframework.time.Interval
-
Starts building a new
Intervalwith the given start time.
G
- get(AccountancyEntry.AccountancyEntryIdentifier) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns the
AccountancyEntryidentified by the givenAccountancyEntry.AccountancyEntryIdentifier, if it exists. - get(AccountancyEntry.AccountancyEntryIdentifier, Class<T>) - Method in interface org.salespointframework.accountancy.Accountancy
-
Returns the
AccountancyEntryidentified by the givenAccountancyEntry.AccountancyEntryIdentifierof 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
UserAccountfor 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
ChargeLineinstances, i.e. both standard ones andChargeLine.AttachedChargeLines. - getAllResources() - Method in interface org.salespointframework.files.FileStorage
-
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
Productis assigned to. - getChargeLineIdentifier() - Method in class org.salespointframework.order.ChargeLine
- getChargeLines() - Method in class org.salespointframework.order.Order
-
Returns all
ChargeLineinstances registered for the currentOrder. - getChargeLines(int) - Method in class org.salespointframework.order.Order
-
Returns all
ChargeLine.AttachedChargeLines for theOrderLinewith the given index. - getChargeLines(OrderLine) - Method in class org.salespointframework.order.Order
-
Returns all
ChargeLine.AttachedChargeLines 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
UserAccounts 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
UserAccountof 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. - 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
-
The month that has just passed.
- 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 class 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.OrderIdentifierwhich thisOrderPaymentEntryrefers 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
PaymentMethodchosen 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
ProductthisInventoryItembelongs 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.ProductIdentifiercurrently contained in theCart. - getReason() - Method in class org.salespointframework.order.OrderEvents.OrderCanceled
- getReport() - Method in exception class org.salespointframework.order.OrderCompletionFailure
- getResource() - Method in class org.salespointframework.files.FileStored
-
The
Resourcefor the file just stored. - getResource(String) - Method in interface org.salespointframework.files.FileStorage
-
Returns the
Resourcefor 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
Pricedelements contained in thisTotalable. - getTotalQuantity() - Method in class org.salespointframework.inventory.InventoryItems
-
Returns the total quantity of all the
InventoryItems contained. - getUserAccountIdentifier() - Method in class org.salespointframework.accountancy.OrderPaymentEntry
-
The identifier of the
UserAccountwhich thisOrderPaymentEntryrefers to. - getUserAccountIdentifier() - Method in class org.salespointframework.files.FileStored
-
The
UserAccount.UserAccountIdentifierin 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
LineItemFilterthat accepts allOrderLines. - handleNone() - Static method in interface org.salespointframework.inventory.LineItemFilter
-
Returns a
LineItemFilterthat does not consider anyOrderLines. - hasDate() - Method in class org.salespointframework.accountancy.AccountancyEntry
-
Returns whether this entry already has a
dateset. - 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.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 class 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
UserAccounthas a specificRole - hasSufficientQuantity(Quantity) - Method in class org.salespointframework.inventory.InventoryItem
-
Returns whether the
InventoryItemis 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
InventoryItemby 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
Intervals. - Inventory<T> - Interface in org.salespointframework.inventory
-
Base interface for
InventoryItemimplementations. - 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
Productfalls below the threshold configured inInventoryProperties. - InventoryItem<T> - Class in org.salespointframework.inventory
-
An
InventoryItemassociates a product with aQuantityto 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
-
InventoryItemIdentifierserves as an identifier type forUniqueInventoryItemobjects. - InventoryItems<T> - Class in org.salespointframework.inventory
-
An abstraction over a collection of
InventoryItems. - 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
Metricis - 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
Cartis currently empty. - isEnabled() - Method in class org.salespointframework.useraccount.UserAccount
- isEqualTo(Quantity) - Method in class org.salespointframework.quantity.Quantity
-
Returns whether the current
Quantityis 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. its value is negative.
- isFailure() - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
-
Returns whether the
OrderCompletionReport.OrderLineCompletionrepresents a failure. - isGreaterThan(Quantity) - Method in class org.salespointframework.quantity.Quantity
-
Returns whether the given
Quantityis greater than the current one. - isGreaterThanOrEqualTo(Quantity) - Method in class org.salespointframework.quantity.Quantity
-
Returns whether the given
Quantityis greater than or equal to the current one. - isLessThan(Quantity) - Method in class org.salespointframework.quantity.Quantity
-
Returns whether the given
Quantityis less than the current one. - isNegative() - Method in class org.salespointframework.quantity.Quantity
-
Returns whether the current
Quantityis 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
Quantityis positive. - isRevenue() - Method in class org.salespointframework.accountancy.AccountancyEntry
-
Returns whether the entry is considered revenue, i.e. its value is zero or positive.
- 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
Quantityis zero or negative. - isZeroOrPositive() - Method in class org.salespointframework.quantity.Quantity
-
Returns whether the current
Quantityis 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
InventoryItembelongs 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
UserAccountof the currently logged in user injected.
M
- matches(Password.UnencryptedPassword, Password.EncryptedPassword) - Method in interface org.salespointframework.useraccount.AuthenticationManagement
-
Returns whether the given candidate
Passwordmatches 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 Class in org.salespointframework.quantity
- MetricMismatchException(String) - Constructor for exception class org.salespointframework.quantity.MetricMismatchException
- MetricMismatchException(String, Metric, Metric) - Constructor for exception class org.salespointframework.quantity.MetricMismatchException
- MetricMismatchException(Metric, Metric) - Constructor for exception class org.salespointframework.quantity.MetricMismatchException
- MultiInventory<T> - Interface in org.salespointframework.inventory
-
An
Inventorythat storesMultiInventoryItems, i.e. - MultiInventoryItem - Class in org.salespointframework.inventory
-
An
MultiInventoryItemthat establishes a many-to-one relationship to aProductinstance, i.e. it can be used to keep track of stock for products in e.g. multiple warehouses etc. - 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
Quantityof 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
Quantityof the given amount. - of(long, Metric) - Static method in class org.salespointframework.quantity.Quantity
- 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
Roleinstance 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
NamedBinaryfor the givenPath. - of(LocalDate) - Static method in class org.salespointframework.time.BusinessTime.DayHasPassed
-
Creates a new
DayHasPassedinstance. - of(YearMonth) - Static method in class org.salespointframework.time.BusinessTime.MonthHasPassed
-
Creates a new
MonthHasPassedinstance. - 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
OrderPaymentEntryfor the givenOrderand 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
NamedBinaryfor the givenResource. - of(Resource, Optional<UserAccount.UserAccountIdentifier>) - Static method in class org.salespointframework.files.FileStored
-
Creates a new
FileStoredinstance. - of(Streamable<T>) - Static method in class org.salespointframework.inventory.InventoryItems
- of(MultipartFile) - Static method in interface org.salespointframework.files.NamedBinary
-
Creates a new
NamedBinaryfor the givenMultipartFile. - on(OrderEvents.OrderCanceled) - Method in class org.salespointframework.accountancy.AccountancyOrderEventListener
-
Creates a counter
OrderPaymentEntryfor the order that is canceled if there's a revenue entry for the given order already, i.e. the order has been paid before. - on(OrderEvents.OrderPaid) - Method in class org.salespointframework.accountancy.AccountancyOrderEventListener
-
Creates a new revenue
OrderPaymentEntryfor the order that has been paid. - onError(Function<OrderCompletionReport, ? extends RuntimeException>) - Method in class org.salespointframework.order.OrderCompletionReport
-
Applies the given
Functionto produce an exception in case the report has errors. - onSuccess(Consumer<OrderLine>) - Method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
-
Applies the given
Consumerin case theOrderCompletionReport.OrderLineCompletionis 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.OrderIdentifierserves as an identifier type forOrderobjects. - OrderCompletionFailure - Exception Class in org.salespointframework.order
-
Exception to be thrown if a listener for
OrderEvents.OrderCompletedevent wants to indicate failure of the completion. - OrderCompletionFailure(OrderCompletionReport) - Constructor for exception class org.salespointframework.order.OrderCompletionFailure
-
Creates a new
OrderCompletionFailurefor the givenOrderCompletionReport. - OrderCompletionFailure(Order, String) - Constructor for exception class org.salespointframework.order.OrderCompletionFailure
-
Creates a new
OrderCompletionFailurefor the givenOrderand 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
-
Signals an
Orderbeing canceled. - OrderEvents.OrderCompleted - Class in org.salespointframework.order
-
Signals the processing of an
Orderhaving been completed, i.e. goods having been sent our, services delivered etc. - OrderEvents.OrderPaid - Class in org.salespointframework.order
-
Signals an order having been paid.
- OrderLine - Class in org.salespointframework.order
- OrderManagement<T> - Interface in org.salespointframework.order
-
A service to manage
Orders. - OrderPaymentEntry - Class in org.salespointframework.accountancy
-
A
OrderPaymentEntryis used to store information of payments of orders. - OrderPaymentEntry(Order.OrderIdentifier, UserAccount.UserAccountIdentifier, MonetaryAmount, String, PaymentMethod) - Constructor for class org.salespointframework.accountancy.OrderPaymentEntry
-
A
ProductPaymentEntryis constructed for a specificOrder.OrderIdentifierattached 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
Intervaloverlaps 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
PaymentCardis 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
PaymentMethodspecifies a medium by which a payment has or will be made. - PaymentMethod(String) - Constructor for class org.salespointframework.payment.PaymentMethod
-
Creates a new
PaymentMethodinstance. - 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
Productwith 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
Productobjects.
Q
- Quantity - Class in org.salespointframework.quantity
-
A value object to represent a quantity.
R
- RecordingMailSender - Class in org.salespointframework.support
-
A
MailSenderimplementation that allows looking up allSimpleMailMessages 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
ChargeLinefrom theOrder - remove(ChargeLine.AttachedChargeLine) - Method in class org.salespointframework.order.Order
-
Removes the given
ChargeLine.AttachedChargeLinefrom theOrder. - remove(OrderLine) - Method in class org.salespointframework.order.Order
-
Removes the given
OrderLineas well as allChargeLine.AttachedChargeLineassociated with it. - remove(Role) - Method in class org.salespointframework.useraccount.UserAccount
-
Removes a
Rolefrom aUserAccount. - 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 givenOrderLine. - removeItem(String) - Method in class org.salespointframework.order.Cart
-
Removes the
CartItemwith 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
OrderPaymentEntrythat rolls back the payment for the givenOrder.
S
- SalespointRepository<T,
ID> - 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 allAccountancyEntrys 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
Orderor 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
PaymentMethodfor 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
OrderLineshould be handled considering the givenLineItemFilters. - 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
InventoryItems asStreamableusually to concatenate with otherStreamables ofInventoryItems. - 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
OrderCompletionReportrepresenting a successful verification of the givenOrder. - success(OrderLine) - Static method in class org.salespointframework.order.OrderCompletionReport.OrderLineCompletion
-
Creates an
OrderCompletionReport.OrderLineCompletionrepresenting 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
Quantityof the current one multiplied with the given int. - times(long) - Method in class org.salespointframework.quantity.Quantity
-
Creates a new
Quantityof the current one multiplied with the given long. - to(LocalDateTime) - Method in class org.salespointframework.time.Interval.IntervalBuilder
-
Creates an
Intervalfrom 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.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 class 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> - Interface in org.salespointframework.order
-
An extension of
StreamableofPricedobjects 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
Quantityas units, flattening all non unit metrics into a single unit. - toZero() - Method in class org.salespointframework.quantity.Quantity
U
- UniqueInventory<T> - Interface in org.salespointframework.inventory
-
A
UniqueInventorymanagesUniqueInventoryItems, i.e. only a singleInventoryItemcan exist perProduct. - UniqueInventoryItem - Class in org.salespointframework.inventory
-
An
InventoryItemthat requires a unique one-to-one relationship to aProductinstance. - 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
-
Signals a new
UserAccounthaving been created. - UserAccount.UserAccountIdentifier - Class in org.salespointframework.useraccount
-
UserAccount.UserAccountIdentifierserves as an identifier type forUserAccountobjects. - UserAccountManagement - Interface in org.salespointframework.useraccount
-
Central service to manager
UserAccountinstances.
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
Intervalfrom the current start time adding the givenTemporalAmountto it. - withName(String) - Method in interface org.salespointframework.files.NamedBinary
-
Creates a new
NamedBinaryinstance 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.