source: gsdl/trunk/runtime-src/src/oaiservr/recordaction.h@ 18888

Last change on this file since 18888 was 18888, checked in by kjdon, 15 years ago

constructor now takes a text_tset containing a list of metadata set names. Only those listed will be used

  • Property svn:keywords set to Author Date Id Revision
File size: 809 bytes
Line 
1#ifndef _RECORDACTION_H_
2#define _RECORDACTION_H_
3#include "oaiaction.h"
4
5#include <map>
6
7#include "comtypes.h"
8
9#include "metaformat.h"
10
11class recordaction : public oaiaction
12{
13 private:
14 metaformat_map formatMap;
15 FilterResponse_t gsdlResponse;
16
17 public:
18 recordaction(text_tset &metadataset);
19 ~recordaction();
20
21 virtual bool validateAction(recptproto *protocol, oaiargs &params);
22 bool output_content(ostream &output, recptproto *protocol, oaiargs &params);
23 bool output_record(ostream &output, const text_t &collection, const text_t &OID,
24 const text_t &metadataPrefix);
25 bool output_record(ostream &output, recptproto *protocol, const text_t &collection, const text_t &OID,
26 const text_t &metadataPrefix);
27 metaformat_map *get_formats() { return &this->formatMap; }
28};
29#endif
Note: See TracBrowser for help on using the repository browser.