Last change
on this file since 20890 was 20590, checked in by mdewsnip, 15 years ago |
Completely rewrote the resumption token support, as its buginess finally tipped the "I can't stand it any more" scale...
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
941 bytes
|
Line | |
---|
1 | #ifndef _ABSTRACTLISTACTION_H_
|
---|
2 | #define _ABSTRACTLISTACTION_H_
|
---|
3 |
|
---|
4 | #include "oaiaction.h"
|
---|
5 | #include "resumptiontoken.h"
|
---|
6 |
|
---|
7 | class abstractlistaction : public oaiaction
|
---|
8 | {
|
---|
9 | public:
|
---|
10 | abstractlistaction(const text_t &name) : oaiaction(name) { }
|
---|
11 |
|
---|
12 | virtual bool output_document(ostream &output, recptproto *protocol, const text_t &collection,
|
---|
13 | const text_t &OID, const text_t &metadataPrefix) = 0;
|
---|
14 |
|
---|
15 | virtual bool output_content(ostream &output, recptproto *protocol, oaiargs ¶ms);
|
---|
16 |
|
---|
17 | virtual bool output_content_for_set(ostream &output, recptproto *protocol, oaiargs ¶ms, text_t collection_name, text_t gsdl_classifier_OID, text_t set_name);
|
---|
18 |
|
---|
19 |
|
---|
20 | protected:
|
---|
21 | int output_docs;
|
---|
22 |
|
---|
23 | bool check_classifier(recptproto *protocol, const text_t &collection, const text_t &set_name);
|
---|
24 |
|
---|
25 | bool in_date_range(ostream &output, recptproto *protocol, oaiargs ¶ms,
|
---|
26 | text_t& collection, text_t oai_OID, text_t from, text_t until);
|
---|
27 | };
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.