The create file data provider class.
More...
#include <FileCreateDataProvider.qc.dox.h>
|
| constructor (*hash< auto > options) |
| Creates the object from constructor options.
|
|
| constructor (*string root, *bool lock, *bool readonly) |
| Creates the object from the arguments.
|
|
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.
|
|
| constructor (*string root, *bool lock, *bool readonly) |
| Creates the object from the arguments.
|
|
|
const | ProviderInfo = ... |
| Provider info.
|
|
const | ProviderSummaryInfo = ... |
| Provider summary info.
|
|
const | RequestType = new FileCreateRequestDataType() |
| Request type.
|
|
const | ResponseType = FilePathDataType |
| Response type.
|
|
const | ConstructorOptions = ... |
| Constructor options.
|
|
|
auto | doRequestImpl (auto req, *hash< auto > request_options) |
| Makes a request and returns the response.
|
|
*AbstractDataProviderType | getRequestTypeImpl () |
| Returns the description of a successful request message, if any.
|
|
*AbstractDataProviderType | getResponseTypeImpl () |
| Returns the description of a response message, if this object represents a response message.
|
|
| checkPath (string path) |
| Check the given path when "lock" and "root" are set.
|
|
| checkReadOnly (string op) |
| Checks if the readonly flag is set.
|
|
|
bool | lock |
| Lock down access to the root?
|
|
bool | readonly |
| Read only flag.
|
|
*string | root |
| Any anchoring dir for filesystem actions.
|
|
The create file data provider class.
◆ doRequestImpl()
auto FileDataProvider::FileCreateDataProvider::doRequestImpl |
( |
auto |
req, |
|
|
*hash< auto > |
request_options |
|
) |
| |
|
private |
Makes a request and returns the response.
- Parameters
-
req | the request info |
request_options | the request options after processing by validateRequestOptions() |
- Returns
- the response to the request
◆ getRequestTypeImpl()
*AbstractDataProviderType FileDataProvider::FileCreateDataProvider::getRequestTypeImpl |
( |
| ) |
|
|
private |
Returns the description of a successful request message, if any.
- Returns
- the request type for this provider
◆ getResponseTypeImpl()
*AbstractDataProviderType FileDataProvider::FileCreateDataProvider::getResponseTypeImpl |
( |
| ) |
|
|
private |
Returns the description of a response message, if this object represents a response message.
- Returns
- the response type for this response message