Last change
on this file since 33212 was 8182, checked in by cs025, 20 years ago |
Added OAI Server code to Greenstone
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
671 bytes
|
Line | |
---|
1 | #ifndef _RESUMPTIONTOKEN_H_
|
---|
2 | #define _RESUMPTIONTOKEN_H_
|
---|
3 |
|
---|
4 | #include "text_t.h"
|
---|
5 |
|
---|
6 | class ResumptionToken
|
---|
7 | { private:
|
---|
8 | text_t collection;
|
---|
9 | text_t browseNode;
|
---|
10 | int startItem;
|
---|
11 | text_t buildDate;
|
---|
12 | // TODO: add a server name to the variables list; see getToken in resumptionToken.cpp
|
---|
13 |
|
---|
14 | public:
|
---|
15 | ResumptionToken(const text_t &collection, const text_t &rootNode, const text_t &buildDate);
|
---|
16 | ResumptionToken(const text_t &URN);
|
---|
17 | text_t getToken();
|
---|
18 | void setPosition(const text_t &node, int startItem);
|
---|
19 | text_t getCollection() { return collection; }
|
---|
20 | text_t getNode() { return browseNode; }
|
---|
21 | int getPosition() { return startItem; }
|
---|
22 | bool isValid();
|
---|
23 | };
|
---|
24 |
|
---|
25 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.