Last change
on this file since 16710 was 16710, checked in by mdewsnip, 16 years ago |
Completely tidied up abstractlistaction::validateAction() to handle the resumptionToken argument properly, and to structure the checking code more consistently.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
692 bytes
|
Line | |
---|
1 | #include "listrecsaction.h"
|
---|
2 |
|
---|
3 | #include "oaitools.h"
|
---|
4 | #include "recordaction.h"
|
---|
5 |
|
---|
6 | bool listrecsaction::validateAction(recptproto *protocol, oaiargs ¶ms)
|
---|
7 | {
|
---|
8 | return abstractlistaction::validateAction(protocol, params);
|
---|
9 | }
|
---|
10 |
|
---|
11 | //-----------------------------------------------------------------------------------------------
|
---|
12 |
|
---|
13 | bool listrecsaction::output_document(ostream &output, recptproto *protocol, const text_t &collection,
|
---|
14 | const text_t &OID, const text_t &metadataPrefix)
|
---|
15 | {
|
---|
16 | this->record_action->output_record(output, protocol, collection, OID, metadataPrefix);
|
---|
17 | return true;
|
---|
18 | }
|
---|
19 |
|
---|
20 | //-----------------------------------------------------------------------------------------------
|
---|
21 |
|
---|
22 |
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.