Public Member Functions | |
| __construct (SchemaRetriever $schemaRetriever, Sae $saeFactory) | |
| setDataModifierPlugins (DataModifierManager $pluginManager) | |
| getSchemas () | |
| getSchema ($identifier) | |
| getAll ($schema_id) | |
| get ($schema_id, $identifier) | |
| getResources ($schema_id, $identifier) | |
| post ($schema_id, string $data) | |
| put ($schema_id, $identifier, string $data) | |
| patch ($schema_id, $identifier, $data) | |
| delete ($schema_id, $identifier) | |
| getCatalog () | |
Static Public Member Functions | |
| static | create (ContainerInterface $container) |
Definition at line 20 of file Service.php.
| Drupal\dkan_metastore\Service::__construct | ( | SchemaRetriever | $schemaRetriever, |
| Sae | $saeFactory | ||
| ) |
Constructor.
Definition at line 52 of file Service.php.
|
static |
Inherited.
Definition at line 42 of file Service.php.
| Drupal\dkan_metastore\Service::delete | ( | $schema_id, | |
| $identifier | |||
| ) |
Implements DELETE method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 295 of file Service.php.
| Drupal\dkan_metastore\Service::get | ( | $schema_id, | |
| $identifier | |||
| ) |
Implements GET method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 128 of file Service.php.
| Drupal\dkan_metastore\Service::getAll | ( | $schema_id | ) |
Get all.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
Definition at line 99 of file Service.php.
| Drupal\dkan_metastore\Service::getCatalog | ( | ) |
Assembles the data catalog object.
Definition at line 309 of file Service.php.
| Drupal\dkan_metastore\Service::getResources | ( | $schema_id, | |
| $identifier | |||
| ) |
GET all resources associated with a dataset.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 171 of file Service.php.
| Drupal\dkan_metastore\Service::getSchema | ( | $identifier | ) |
Get schema.
Definition at line 83 of file Service.php.
| Drupal\dkan_metastore\Service::getSchemas | ( | ) |
Get schemas.
Definition at line 71 of file Service.php.
| Drupal\dkan_metastore\Service::patch | ( | $schema_id, | |
| $identifier, | |||
| $data | |||
| ) |
Implements PATCH method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
| mixed | $data | Json payload. |
Definition at line 274 of file Service.php.
| Drupal\dkan_metastore\Service::post | ( | $schema_id, | |
| string | $data | ||
| ) |
Implements POST method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $data | Json payload. |
Definition at line 198 of file Service.php.
| Drupal\dkan_metastore\Service::put | ( | $schema_id, | |
| $identifier, | |||
| string | $data | ||
| ) |
Implements PUT method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
| string | $data | Json payload. |
Definition at line 224 of file Service.php.
| Drupal\dkan_metastore\Service::setDataModifierPlugins | ( | DataModifierManager | $pluginManager | ) |
Setter to discover data modifier plugins.
| \Drupal\dkan_common\Plugin\DataModifierManager | $pluginManager | Injected plugin manager. |
Definition at line 63 of file Service.php.