Lines Matching full:repository

47 	 * @var string the selected repository
49 private $repository; variable in phpSesame
55 * @param string $repository The repository name
57 function __construct($sesameUrl = 'http://localhost:8080/openrdf-sesame', $repository = null) argument
60 $this->setRepository($repository);
64 * Selects a repository to work on
67 * @param string $rep The repository name
71 $this->repository = $rep;
95 if (empty($this->repository) || $this->repository == '')
97 throw new Exception ('No repository has been selected.');
165 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository, HTTP_Request2::ME…
201 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/statements', H…
217 * Appends data to the selected repository
231 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/statements?con…
238 …throw new Exception ('Failed to append data to the repository, HTTP response error: ' . $response-…
243 * Appends data to the selected repository
258 * Overwrites data in the selected repository, can optionally take a context parameter
270 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/statements?con…
277 …throw new Exception ('Failed to append data to the repository, HTTP response error: ' . $response-…
282 * Overwrites data in the selected repository, can optionally take a context parameter
324 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/namespaces/' .…
351 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/namespaces/' .…
376 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/namespaces/' .…
386 * Returns a list of all the contexts in the repository.
397 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/contexts', HTT…
410 * Returns the size of the repository
420 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/size?context='…
433 * Clears the repository
435 * Removes all data from the selected repository from ALL contexts.
443 …$request =& new HTTP_Request2($this->dsn . '/repositories/' . $this->repository . '/statements', H…
448 …throw new Exception ('Failed to clear repository, HTTP response error: ' . $response->getStatus());