Package | Description |
---|---|
org.salespointframework.accountancy |
Accountancy subsystem.
|
org.salespointframework.order |
The order subsystem.
|
org.salespointframework.time |
The time subsystem abstracting the concept of business time.
|
Modifier and Type | Method and Description |
---|---|
Map<Interval,Streamable<AccountancyEntry>> |
Accountancy.find(Interval interval,
TemporalAmount duration)
|
Map<Interval,Streamable<AccountancyEntry>> |
PersistentAccountancy.find(Interval interval,
TemporalAmount duration) |
Map<Interval,javax.money.MonetaryAmount> |
Accountancy.salesVolume(Interval interval,
TemporalAmount duration)
Returns the sum of the field
amount of all AccountancyEntry s which have their date within
(including) from and to . |
Map<Interval,javax.money.MonetaryAmount> |
PersistentAccountancy.salesVolume(Interval interval,
TemporalAmount duration) |
Modifier and Type | Method and Description |
---|---|
Streamable<AccountancyEntry> |
Accountancy.find(Interval interval)
Returns all
AccountancyEntry s that were created in the given Interval . |
Streamable<AccountancyEntry> |
PersistentAccountancy.find(Interval interval) |
Map<Interval,Streamable<AccountancyEntry>> |
Accountancy.find(Interval interval,
TemporalAmount duration)
|
Map<Interval,Streamable<AccountancyEntry>> |
PersistentAccountancy.find(Interval interval,
TemporalAmount duration) |
default Iterable<AccountancyEntry> |
AccountancyEntryRepository.findByDateIn(Interval interval)
Returns all
AccountancyEntry s within the given Interval . |
Map<Interval,javax.money.MonetaryAmount> |
Accountancy.salesVolume(Interval interval,
TemporalAmount duration)
Returns the sum of the field
amount of all AccountancyEntry s which have their date within
(including) from and to . |
Map<Interval,javax.money.MonetaryAmount> |
PersistentAccountancy.salesVolume(Interval interval,
TemporalAmount duration) |
Modifier and Type | Method and Description |
---|---|
Streamable<T> |
OrderManager.findBy(Interval interval)
|
Streamable<T> |
PersistentOrderManager.findBy(Interval interval) |
Streamable<T> |
OrderManager.findBy(UserAccount userAccount,
Interval interval)
Returns all
Order s from the given UserAccount in between the dates from and to ,
including from and to. |
Streamable<T> |
PersistentOrderManager.findBy(UserAccount userAccount,
Interval interval) |
Modifier and Type | Method and Description |
---|---|
Interval |
Interval.IntervalBuilder.to(LocalDateTime end)
Creates an
Interval from the current start time until the given end time. |
Interval |
Interval.IntervalBuilder.withLength(TemporalAmount amount)
Creates a new
Interval from the current start time adding the given TemporalAmount to it. |
Modifier and Type | Method and Description |
---|---|
Iterator<Interval> |
Intervals.iterator() |
Modifier and Type | Method and Description |
---|---|
static Intervals |
Intervals.divide(Interval interval,
TemporalAmount duration)
Divides the given
Interval into smaller intervals of the given duration. |
boolean |
Interval.overlaps(Interval reference)
Returns whether the current
Interval overlaps with the given one. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.