public class EventGetter
extends java.lang.Object
| Constructor and Description |
|---|
EventGetter(AlephConnection connection,
ItemFilter filter)
uses a given connection to Aleph database to retrieve all events
connected to items, that match the filter conditions
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvents(Manifestation document)
adds loan and request events to an existing document
|
void |
addLoans(Manifestation document)
adds loan events to an existing document
|
void |
addRequests(Manifestation document)
adds request events to an existing document
|
java.util.List<Event> |
getEvents()
retrieves all events from the Aleph database.
|
public EventGetter(AlephConnection connection, ItemFilter filter) throws java.sql.SQLException
connection - an AlephConnection-objectfilter - an ItemFilter-object limiting the collections and
materials to be collectedjava.sql.SQLException - exception querying the Aleph databasepublic java.util.List<Event> getEvents()
public void addEvents(Manifestation document) throws java.lang.Exception
document - an existing documentjava.lang.Exception - general exceptionpublic void addLoans(Manifestation document) throws java.lang.Exception
document - an existing documentjava.lang.Exception - general exceptionpublic void addRequests(Manifestation document) throws java.lang.Exception
document - an existing documentjava.lang.Exception - general exception