uri = $uri; $this->credentials = $credentials; } /** * Obtain a reference to this store's metabox * @see http://n2.talis.com/wiki/Metabox * @return Metabox */ function get_metabox() { return new Metabox($this->uri . '/meta', $this->credentials); } /** * Obtain a reference to this store's sparql service * @see http://n2.talis.com/wiki/Store_Sparql_Service * @return SparqlService */ function get_sparql_service() { return new SparqlService($this->uri . '/services/sparql', $this->credentials); } /** * Obtain a reference to this store's multisparql service * @see http://n2.talis.com/wiki/Store_Multisparql_Service * @return MultiSparqlService */ function get_multisparql_service() { return new MultiSparqlService($this->uri . '/services/multisparql', $this->credentials); } /** * Obtain a reference to this store's contentbox * @see http://n2.talis.com/wiki/Contentbox * @return Contentbox */ function get_contentbox() { return new Contentbox($this->uri . '/items', $this->credentials); } /** * Obtain a reference to this store's job queue * @see http://n2.talis.com/wiki/Scheduled_Job_Collection * @return JobQueue */ function get_job_queue() { return new JobQueue($this->uri . '/jobs', $this->credentials); } /** * Obtain a reference to this store's configuration * @see http://n2.talis.com/wiki/Store_Configuration * @return Config */ function get_config() { return new Config($this->uri . '/config', $this->credentials); } /** * Obtain a reference to this store's facet service * @see http://n2.talis.com/wiki/Facet_Service * @return FacetService */ function get_facet_service() { return new FacetService($this->uri . '/services/facet', $this->credentials); } /** * Obtain a reference to this store's snapshot collection * @see http://n2.talis.com/wiki/Snapshot_Collection * @return Snapshots */ function get_snapshots() { return new Snapshots($this->uri . '/snapshots', $this->credentials); } /** * Obtain a reference to this store's augment service * @see http://n2.talis.com/wiki/Augment_Service * @return AugmentService */ function get_augment_service() { return new AugmentService($this->uri . '/services/augment', $this->credentials); } } ?>