public class NRequestsGetter
extends java.lang.Object
| Constructor and Description |
|---|
NRequestsGetter(AlephConnection connection)
uses a given connection to Aleph database to build an instance of the
NRequestsGetter-object |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NRequests> |
getAllNRequests()
retrieves all requests
|
java.util.List<NRequests> |
getNRequests(java.lang.String notations)
retrieves the number of Requests for the documents with an arbitrary
notations string
|
java.util.List<NRequests> |
getNRequestsForNotation(java.lang.String notation)
retrieves the number of Requests for the documents with the defined
notations
|
java.util.List<NRequests> |
getNRequestsForRange(java.lang.String notations)
retrieves the number of Requests for the documents in the region defined
by the notations
|
public NRequestsGetter(AlephConnection connection) throws java.sql.SQLException
NRequestsGetter-objectconnection - an AlephConnection-objectjava.sql.SQLException - exception connecting to the Aleph databasepublic java.util.List<NRequests> getNRequestsForRange(java.lang.String notations) throws java.lang.Exception
notations - a region of notations separated by '-'NRequestjava.lang.Exception - general exceptionpublic java.util.List<NRequests> getNRequestsForNotation(java.lang.String notation) throws java.lang.Exception
notation - a single notationNRequestjava.lang.Exception - general exceptionpublic java.util.List<NRequests> getNRequests(java.lang.String notations) throws java.lang.Exception
notations - a string holding notations and notations ranges, separated by
','NRequestjava.lang.Exception - general exceptionpublic java.util.List<NRequests> getAllNRequests() throws java.lang.Exception
NRequestjava.lang.Exception - general exception