Public Member Functions | |
| __construct (Resource $resourceServiceFactory, Import $importServiceFactory, QueueFactory $queue, JobStoreFactory $jobStoreFactory) | |
| import (string $uuid, bool $deferred=FALSE) | |
| drop ($uuid) | |
| list () | |
| getStorage (string $uuid) | |
Static Public Member Functions | |
| static | create (ContainerInterface $container) |
Main services for the datastore.
Definition at line 17 of file Service.php.
| Drupal\dkan_datastore\Service::__construct | ( | Resource | $resourceServiceFactory, |
| Import | $importServiceFactory, | ||
| QueueFactory | $queue, | ||
| JobStoreFactory | $jobStoreFactory | ||
| ) |
Constructor for datastore service.
Definition at line 41 of file Service.php.
|
static |
Inherited.
Definition at line 29 of file Service.php.
| Drupal\dkan_datastore\Service::drop | ( | $uuid | ) |
Drop all datastores for a given node.
| string | $uuid | UUID for resource or dataset node. If dataset, will drop datastore for all connected resources. |
Definition at line 97 of file Service.php.
| Drupal\dkan_datastore\Service::getStorage | ( | string | $uuid | ) |
Get Storage.
| string | $uuid | The unique identifier of a resource. |
Definition at line 149 of file Service.php.
| Drupal\dkan_datastore\Service::import | ( | string | $uuid, |
| bool | $deferred = FALSE |
||
| ) |
Start import process for a resource, provided by UUID.
| string | $uuid | UUID for resource node. |
| bool | $deferred | Send to the queue for later? Will import immediately if FALSE. |
Definition at line 56 of file Service.php.
| Drupal\dkan_datastore\Service::list | ( | ) |
Get a list of all stored importers and filefetchers, and their status.
Definition at line 139 of file Service.php.