Qore FileDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
FileMoveDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
41
44
46 constructor(*hash<auto> options) ;
47
48
50 constructor(*string root, *bool lock, *bool readonly) ;
51
52
54 string getName();
55
56
58
67protected:
68 auto doRequestImpl(auto req, *hash<auto> request_options);
69public:
70
71
73
75protected:
76 *AbstractDataProviderType getRequestTypeImpl();
77public:
78
79
81
83protected:
84 *AbstractDataProviderType getResponseTypeImpl();
85public:
86
87
89 hash<DataProviderInfo> getStaticInfoImpl();
90
91};
92};
The base file data provider class.
Definition FileDataProviderBase.qc.dox.h:28
bool lock
Lock down access to the root?
Definition FileDataProviderBase.qc.dox.h:40
bool readonly
Read only flag.
Definition FileDataProviderBase.qc.dox.h:43
*string root
Any anchoring dir for filesystem actions.
Definition FileDataProviderBase.qc.dox.h:37
The File move data provider class.
Definition FileMoveDataProvider.qc.dox.h:28
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition FileMoveDataProvider.qc.dox.h:32
const RequestType
Request type.
Definition FileMoveDataProvider.qc.dox.h:40
const ProviderSummaryInfo
Provider summary info.
Definition FileMoveDataProvider.qc.dox.h:36
constructor(*string root, *bool lock, *bool readonly)
Creates the object from the arguments.
const ResponseType
Response type.
Definition FileMoveDataProvider.qc.dox.h:43
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
string getName()
Returns the data provider name.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(*hash< auto > options)
Creates the object from constructor options.
Data type for move file request calls.
Definition FileMoveRequestDataType.qc.dox.h:27
Data type for file response APIs with a single "target" key.
Definition FileTargetResponseDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition FileCopyDataProvider.qc.dox.h:26