Methods
deleteRepository(id) → {Promise.<any>}
Delete repository with the provided id.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | of the repository which should be deleted. |
- Source:
Returns:
promise which resolves with the delete result.
- Type
- Promise.<any>
getRepository(id, config) → {Promise.<RDFRepositoryClient>}
Creates a repository client instance with the provided id and configuration.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | of the repository |
config |
RepositoryClientConfig | for the overridable repository configuration. |
- Source:
Returns:
promise which resolves with new RDFRepositoryClient instance.
- Type
- Promise.<RDFRepositoryClient>
getRepositoryIDs() → {Promise.<Array>}
Get an array of repository ids available in the server.
- Source:
Returns:
promise which resolves with an Array with repository ids.
- Type
- Promise.<Array>
hasRepository(id) → {Promise.<boolean>}
Check if repository with the provided id exists.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | of the repository which should be checked. |
- Source:
Returns:
promise which resolves with boolean value.
- Type
- Promise.<boolean>