public class StockEventsBuilder
extends java.lang.Object
| Constructor and Description |
|---|
StockEventsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildStockEvents(Item item)
builds the stock events for an item.
|
static void |
buildStockEvents(Manifestation document)
builds the stock events for all items of a given document.
|
static java.util.List<Event> |
getStockEvents(Item item)
retrieves the stock events for an item.
|
static java.util.List<Event> |
getStockEvents(java.util.List<Item> items)
retrieves the stock events for a list of item.
|
public static void buildStockEvents(Manifestation document) throws java.text.ParseException
document - the document holding the itemsjava.text.ParseException - exception parsing the date fieldpublic static void buildStockEvents(Item item) throws java.text.ParseException
item - the itemjava.text.ParseException - exception parsing the date fieldpublic static java.util.List<Event> getStockEvents(Item item) throws java.text.ParseException
item - the itemjava.text.ParseException - exception parsing the date fieldpublic static java.util.List<Event> getStockEvents(java.util.List<Item> items) throws java.text.ParseException
items - the list of itemsjava.text.ParseException - exception parsing the date field