source: gsdl/trunk/runtime-src/src/oaiservr/listsetsaction.h@ 16708

Last change on this file since 16708 was 15387, checked in by mdewsnip, 16 years ago

Quickly adding resumption token support to the ListSets action: this is part of the OAI specification but was never implemented in the code... no prizes for guessing who couldn't be bothered. By DL Consulting Ltd.

  • Property svn:keywords set to Author Date Id Revision
File size: 641 bytes
Line 
1#include "oaiaction.h"
2#include "resumptiontoken.h"
3
4class listsetsaction : public oaiaction
5{
6 public:
7 listsetsaction() : oaiaction("ListSets") { };
8 virtual bool validateAction(recptproto *protocol, oaiargs &params);
9 bool output_content(ostream &output, recptproto *protocol, text_tset &collections, oaiargs &params);
10 protected:
11 int setNumber;
12 int setsOutput;
13 ResumptionToken *replyToken;
14 bool output_content(ostream &output, recptproto *protocol, oaiargs &params);
15 void recurse_content(ostream &output, recptproto *protocol, text_t &collection, const text_t &classifier,
16 text_t setHierarchy, int startSet);
17};
Note: See TracBrowser for help on using the repository browser.