pho 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/CHANGES +4 -0
  2. data/Rakefile +1 -1
  3. data/bin/talis_store +1 -1
  4. data/doc/rdoc/classes/Pho/CommandLine.html +108 -108
  5. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  6. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  7. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  8. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  9. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  10. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +90 -90
  11. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  12. data/doc/rdoc/classes/Pho/Job.html +64 -64
  13. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  14. data/doc/rdoc/classes/Pho/OAI/Record.html +11 -11
  15. data/doc/rdoc/classes/Pho/OAI/Records.html +96 -18
  16. data/doc/rdoc/classes/Pho/QueryProfile.html +60 -60
  17. data/doc/rdoc/classes/Pho/RDF/Parser.html +24 -24
  18. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  19. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  20. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  21. data/doc/rdoc/classes/Pho/Status.html +26 -26
  22. data/doc/rdoc/classes/Pho/Store.html +232 -222
  23. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +14 -14
  24. data/doc/rdoc/classes/String.html +1 -1
  25. data/doc/rdoc/created.rid +1 -1
  26. data/doc/rdoc/files/CHANGES.html +8 -1
  27. data/doc/rdoc/files/lib/pho/oai_rb.html +1 -1
  28. data/doc/rdoc/files/lib/pho/store_rb.html +1 -1
  29. data/doc/rdoc/files/lib/pho_rb.html +2 -1
  30. data/doc/rdoc/fr_method_index.html +148 -147
  31. data/lib/pho.rb +1 -0
  32. data/lib/pho/oai.rb +53 -16
  33. data/lib/pho/store.rb +12 -2
  34. data/tests/tc_oai.rb +109 -2
  35. metadata +3 -3
@@ -92,10 +92,10 @@ Captures status information relating to a store
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000108">new</a>&nbsp;&nbsp;
96
- <a href="#M000109">read_from_store</a>&nbsp;&nbsp;
97
- <a href="#M000110">readable?</a>&nbsp;&nbsp;
98
- <a href="#M000111">writeable?</a>&nbsp;&nbsp;
95
+ <a href="#M000109">new</a>&nbsp;&nbsp;
96
+ <a href="#M000110">read_from_store</a>&nbsp;&nbsp;
97
+ <a href="#M000111">readable?</a>&nbsp;&nbsp;
98
+ <a href="#M000112">writeable?</a>&nbsp;&nbsp;
99
99
  </div>
100
100
  </div>
101
101
 
@@ -153,19 +153,19 @@ Interval before status should be requested again.
153
153
  <div id="methods">
154
154
  <h3 class="section-bar">Public Class methods</h3>
155
155
 
156
- <div id="method-M000108" class="method-detail">
157
- <a name="M000108"></a>
156
+ <div id="method-M000109" class="method-detail">
157
+ <a name="M000109"></a>
158
158
 
159
159
  <div class="method-heading">
160
- <a href="#M000108" class="method-signature">
160
+ <a href="#M000109" class="method-signature">
161
161
  <span class="method-name">new</span><span class="method-args">(retry_interval, status_message, access_mode)</span>
162
162
  </a>
163
163
  </div>
164
164
 
165
165
  <div class="method-description">
166
166
  <p><a class="source-toggle" href="#"
167
- onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
168
- <div class="method-source-code" id="M000108-source">
167
+ onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
168
+ <div class="method-source-code" id="M000109-source">
169
169
  <pre>
170
170
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 25</span>
171
171
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">retry_interval</span>, <span class="ruby-identifier">status_message</span>, <span class="ruby-identifier">access_mode</span>)
@@ -178,11 +178,11 @@ Interval before status should be requested again.
178
178
  </div>
179
179
  </div>
180
180
 
181
- <div id="method-M000109" class="method-detail">
182
- <a name="M000109"></a>
181
+ <div id="method-M000110" class="method-detail">
182
+ <a name="M000110"></a>
183
183
 
184
184
  <div class="method-heading">
185
- <a href="#M000109" class="method-signature">
185
+ <a href="#M000110" class="method-signature">
186
186
  <span class="method-name">read_from_store</span><span class="method-args">(store)</span>
187
187
  </a>
188
188
  </div>
@@ -202,8 +202,8 @@ href="Status.html">Status</a> object.
202
202
  </td></tr>
203
203
  </table>
204
204
  <p><a class="source-toggle" href="#"
205
- onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
206
- <div class="method-source-code" id="M000109-source">
205
+ onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
206
+ <div class="method-source-code" id="M000110-source">
207
207
  <pre>
208
208
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 36</span>
209
209
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Status</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
@@ -229,22 +229,22 @@ href="Status.html">Status</a> object.
229
229
 
230
230
  <h3 class="section-bar">Public Instance methods</h3>
231
231
 
232
- <div id="method-M000110" class="method-detail">
233
- <a name="M000110"></a>
232
+ <div id="method-M000111" class="method-detail">
233
+ <a name="M000111"></a>
234
234
 
235
235
  <div class="method-heading">
236
- <a href="#M000110" class="method-signature">
236
+ <a href="#M000111" class="method-signature">
237
237
  <span class="method-name">readable?</span><span class="method-args">()</span>
238
238
  </a>
239
239
  </div>
240
240
 
241
241
  <div class="method-description">
242
242
  <p>
243
- Is the store <a href="Status.html#M000110">readable?</a>
243
+ Is the store <a href="Status.html#M000111">readable?</a>
244
244
  </p>
245
245
  <p><a class="source-toggle" href="#"
246
- onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
247
- <div class="method-source-code" id="M000110-source">
246
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
247
+ <div class="method-source-code" id="M000111-source">
248
248
  <pre>
249
249
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 54</span>
250
250
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">readable?</span>
@@ -255,22 +255,22 @@ Is the store <a href="Status.html#M000110">readable?</a>
255
255
  </div>
256
256
  </div>
257
257
 
258
- <div id="method-M000111" class="method-detail">
259
- <a name="M000111"></a>
258
+ <div id="method-M000112" class="method-detail">
259
+ <a name="M000112"></a>
260
260
 
261
261
  <div class="method-heading">
262
- <a href="#M000111" class="method-signature">
262
+ <a href="#M000112" class="method-signature">
263
263
  <span class="method-name">writeable?</span><span class="method-args">()</span>
264
264
  </a>
265
265
  </div>
266
266
 
267
267
  <div class="method-description">
268
268
  <p>
269
- Is the store <a href="Status.html#M000111">writeable?</a>
269
+ Is the store <a href="Status.html#M000112">writeable?</a>
270
270
  </p>
271
271
  <p><a class="source-toggle" href="#"
272
- onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
273
- <div class="method-source-code" id="M000111-source">
272
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
273
+ <div class="method-source-code" id="M000112-source">
274
274
  <pre>
275
275
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 59</span>
276
276
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">writeable?</span>
@@ -109,40 +109,40 @@ See the examples directory in the distribution
109
109
  <h3 class="section-bar">Methods</h3>
110
110
 
111
111
  <div class="name-list">
112
- <a href="#M000172">augment</a>&nbsp;&nbsp;
113
- <a href="#M000171">augment_uri</a>&nbsp;&nbsp;
114
- <a href="#M000156">build_uri</a>&nbsp;&nbsp;
115
- <a href="#M000173">configure_headers_for_conditional_get</a>&nbsp;&nbsp;
116
- <a href="#M000176">delete_item</a>&nbsp;&nbsp;
117
- <a href="#M000160">describe</a>&nbsp;&nbsp;
118
- <a href="#M000169">facet</a>&nbsp;&nbsp;
119
- <a href="#M000184">get_field_predicate_map</a>&nbsp;&nbsp;
120
- <a href="#M000177">get_item</a>&nbsp;&nbsp;
121
- <a href="#M000178">get_job</a>&nbsp;&nbsp;
122
- <a href="#M000179">get_jobs</a>&nbsp;&nbsp;
123
- <a href="#M000186">get_query_profile</a>&nbsp;&nbsp;
124
- <a href="#M000170">get_search_params</a>&nbsp;&nbsp;
125
- <a href="#M000182">get_snapshots</a>&nbsp;&nbsp;
126
- <a href="#M000181">get_status</a>&nbsp;&nbsp;
127
- <a href="#M000183">list_records</a>&nbsp;&nbsp;
128
- <a href="#M000154">new</a>&nbsp;&nbsp;
129
- <a href="#M000185">put_field_predicate_map</a>&nbsp;&nbsp;
130
- <a href="#M000187">put_query_profile</a>&nbsp;&nbsp;
131
- <a href="#M000174">record_etags</a>&nbsp;&nbsp;
132
- <a href="#M000168">search</a>&nbsp;&nbsp;
133
- <a href="#M000155">set_credentials</a>&nbsp;&nbsp;
134
- <a href="#M000167">sparql</a>&nbsp;&nbsp;
135
- <a href="#M000165">sparql_ask</a>&nbsp;&nbsp;
136
- <a href="#M000162">sparql_client</a>&nbsp;&nbsp;
137
- <a href="#M000164">sparql_construct</a>&nbsp;&nbsp;
138
- <a href="#M000163">sparql_describe</a>&nbsp;&nbsp;
139
- <a href="#M000166">sparql_select</a>&nbsp;&nbsp;
140
- <a href="#M000157">store_data</a>&nbsp;&nbsp;
141
- <a href="#M000158">store_file</a>&nbsp;&nbsp;
142
- <a href="#M000159">store_url</a>&nbsp;&nbsp;
143
- <a href="#M000161">submit_changeset</a>&nbsp;&nbsp;
144
- <a href="#M000180">submit_job</a>&nbsp;&nbsp;
145
- <a href="#M000175">upload_item</a>&nbsp;&nbsp;
112
+ <a href="#M000173">augment</a>&nbsp;&nbsp;
113
+ <a href="#M000172">augment_uri</a>&nbsp;&nbsp;
114
+ <a href="#M000157">build_uri</a>&nbsp;&nbsp;
115
+ <a href="#M000174">configure_headers_for_conditional_get</a>&nbsp;&nbsp;
116
+ <a href="#M000177">delete_item</a>&nbsp;&nbsp;
117
+ <a href="#M000161">describe</a>&nbsp;&nbsp;
118
+ <a href="#M000170">facet</a>&nbsp;&nbsp;
119
+ <a href="#M000185">get_field_predicate_map</a>&nbsp;&nbsp;
120
+ <a href="#M000178">get_item</a>&nbsp;&nbsp;
121
+ <a href="#M000179">get_job</a>&nbsp;&nbsp;
122
+ <a href="#M000180">get_jobs</a>&nbsp;&nbsp;
123
+ <a href="#M000187">get_query_profile</a>&nbsp;&nbsp;
124
+ <a href="#M000171">get_search_params</a>&nbsp;&nbsp;
125
+ <a href="#M000183">get_snapshots</a>&nbsp;&nbsp;
126
+ <a href="#M000182">get_status</a>&nbsp;&nbsp;
127
+ <a href="#M000184">list_records</a>&nbsp;&nbsp;
128
+ <a href="#M000155">new</a>&nbsp;&nbsp;
129
+ <a href="#M000186">put_field_predicate_map</a>&nbsp;&nbsp;
130
+ <a href="#M000188">put_query_profile</a>&nbsp;&nbsp;
131
+ <a href="#M000175">record_etags</a>&nbsp;&nbsp;
132
+ <a href="#M000169">search</a>&nbsp;&nbsp;
133
+ <a href="#M000156">set_credentials</a>&nbsp;&nbsp;
134
+ <a href="#M000168">sparql</a>&nbsp;&nbsp;
135
+ <a href="#M000166">sparql_ask</a>&nbsp;&nbsp;
136
+ <a href="#M000163">sparql_client</a>&nbsp;&nbsp;
137
+ <a href="#M000165">sparql_construct</a>&nbsp;&nbsp;
138
+ <a href="#M000164">sparql_describe</a>&nbsp;&nbsp;
139
+ <a href="#M000167">sparql_select</a>&nbsp;&nbsp;
140
+ <a href="#M000158">store_data</a>&nbsp;&nbsp;
141
+ <a href="#M000159">store_file</a>&nbsp;&nbsp;
142
+ <a href="#M000160">store_url</a>&nbsp;&nbsp;
143
+ <a href="#M000162">submit_changeset</a>&nbsp;&nbsp;
144
+ <a href="#M000181">submit_job</a>&nbsp;&nbsp;
145
+ <a href="#M000176">upload_item</a>&nbsp;&nbsp;
146
146
  </div>
147
147
  </div>
148
148
 
@@ -196,11 +196,11 @@ Retrieve the admin username configured in this instance
196
196
  <div id="methods">
197
197
  <h3 class="section-bar">Public Class methods</h3>
198
198
 
199
- <div id="method-M000154" class="method-detail">
200
- <a name="M000154"></a>
199
+ <div id="method-M000155" class="method-detail">
200
+ <a name="M000155"></a>
201
201
 
202
202
  <div class="method-heading">
203
- <a href="#M000154" class="method-signature">
203
+ <a href="#M000155" class="method-signature">
204
204
  <span class="method-name">new</span><span class="method-args">(storeuri, username=nil, password=nil, client = HTTPClient.new() )</span>
205
205
  </a>
206
206
  </div>
@@ -224,8 +224,8 @@ Create an instance of the store class
224
224
  </td></tr>
225
225
  </table>
226
226
  <p><a class="source-toggle" href="#"
227
- onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
228
- <div class="method-source-code" id="M000154-source">
227
+ onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
228
+ <div class="method-source-code" id="M000155-source">
229
229
  <pre>
230
230
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 43</span>
231
231
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">storeuri</span>, <span class="ruby-identifier">username</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">password</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">client</span> = <span class="ruby-constant">HTTPClient</span>.<span class="ruby-identifier">new</span>() )
@@ -242,11 +242,11 @@ Create an instance of the store class
242
242
 
243
243
  <h3 class="section-bar">Public Instance methods</h3>
244
244
 
245
- <div id="method-M000172" class="method-detail">
246
- <a name="M000172"></a>
245
+ <div id="method-M000173" class="method-detail">
246
+ <a name="M000173"></a>
247
247
 
248
248
  <div class="method-heading">
249
- <a href="#M000172" class="method-signature">
249
+ <a href="#M000173" class="method-signature">
250
250
  <span class="method-name">augment</span><span class="method-args">(data)</span>
251
251
  </a>
252
252
  </div>
@@ -262,8 +262,8 @@ Platform
262
262
  </td></tr>
263
263
  </table>
264
264
  <p><a class="source-toggle" href="#"
265
- onclick="toggleCode('M000172-source');return false;">[Source]</a></p>
266
- <div class="method-source-code" id="M000172-source">
265
+ onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
266
+ <div class="method-source-code" id="M000173-source">
267
267
  <pre>
268
268
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 307</span>
269
269
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">augment</span>(<span class="ruby-identifier">data</span>)
@@ -276,11 +276,11 @@ Platform
276
276
  </div>
277
277
  </div>
278
278
 
279
- <div id="method-M000171" class="method-detail">
280
- <a name="M000171"></a>
279
+ <div id="method-M000172" class="method-detail">
280
+ <a name="M000172"></a>
281
281
 
282
282
  <div class="method-heading">
283
- <a href="#M000171" class="method-signature">
283
+ <a href="#M000172" class="method-signature">
284
284
  <span class="method-name">augment_uri</span><span class="method-args">(uri)</span>
285
285
  </a>
286
286
  </div>
@@ -296,8 +296,8 @@ data in this store
296
296
  </td></tr>
297
297
  </table>
298
298
  <p><a class="source-toggle" href="#"
299
- onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
300
- <div class="method-source-code" id="M000171-source">
299
+ onclick="toggleCode('M000172-source');return false;">[Source]</a></p>
300
+ <div class="method-source-code" id="M000172-source">
301
301
  <pre>
302
302
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 298</span>
303
303
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">augment_uri</span>(<span class="ruby-identifier">uri</span>)
@@ -310,11 +310,11 @@ data in this store
310
310
  </div>
311
311
  </div>
312
312
 
313
- <div id="method-M000156" class="method-detail">
314
- <a name="M000156"></a>
313
+ <div id="method-M000157" class="method-detail">
314
+ <a name="M000157"></a>
315
315
 
316
316
  <div class="method-heading">
317
- <a href="#M000156" class="method-signature">
317
+ <a href="#M000157" class="method-signature">
318
318
  <span class="method-name">build_uri</span><span class="method-args">(uri)</span>
319
319
  </a>
320
320
  </div>
@@ -329,8 +329,8 @@ Build a request uri, by concatenating it with the base uri of the store
329
329
  </td></tr>
330
330
  </table>
331
331
  <p><a class="source-toggle" href="#"
332
- onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
333
- <div class="method-source-code" id="M000156-source">
332
+ onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
333
+ <div class="method-source-code" id="M000157-source">
334
334
  <pre>
335
335
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 61</span>
336
336
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build_uri</span>(<span class="ruby-identifier">uri</span>)
@@ -348,11 +348,11 @@ Build a request uri, by concatenating it with the base uri of the store
348
348
  </div>
349
349
  </div>
350
350
 
351
- <div id="method-M000173" class="method-detail">
352
- <a name="M000173"></a>
351
+ <div id="method-M000174" class="method-detail">
352
+ <a name="M000174"></a>
353
353
 
354
354
  <div class="method-heading">
355
- <a href="#M000173" class="method-signature">
355
+ <a href="#M000174" class="method-signature">
356
356
  <span class="method-name">configure_headers_for_conditional_get</span><span class="method-args">(u, headers, etags, if_match)</span>
357
357
  </a>
358
358
  </div>
@@ -362,8 +362,8 @@ Build a request uri, by concatenating it with the base uri of the store
362
362
  Added appropriate http header for conditional get requests
363
363
  </p>
364
364
  <p><a class="source-toggle" href="#"
365
- onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
366
- <div class="method-source-code" id="M000173-source">
365
+ onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
366
+ <div class="method-source-code" id="M000174-source">
367
367
  <pre>
368
368
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 314</span>
369
369
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_headers_for_conditional_get</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">headers</span>, <span class="ruby-identifier">etags</span>, <span class="ruby-identifier">if_match</span>)
@@ -381,11 +381,11 @@ Added appropriate http header for conditional get requests
381
381
  </div>
382
382
  </div>
383
383
 
384
- <div id="method-M000176" class="method-detail">
385
- <a name="M000176"></a>
384
+ <div id="method-M000177" class="method-detail">
385
+ <a name="M000177"></a>
386
386
 
387
387
  <div class="method-heading">
388
- <a href="#M000176" class="method-signature">
388
+ <a href="#M000177" class="method-signature">
389
389
  <span class="method-name">delete_item</span><span class="method-args">(uri)</span>
390
390
  </a>
391
391
  </div>
@@ -403,8 +403,8 @@ Delete an item from the Contentbox in this <a href="Store.html">Store</a>
403
403
  TODO: conditional deletes
404
404
  </p>
405
405
  <p><a class="source-toggle" href="#"
406
- onclick="toggleCode('M000176-source');return false;">[Source]</a></p>
407
- <div class="method-source-code" id="M000176-source">
406
+ onclick="toggleCode('M000177-source');return false;">[Source]</a></p>
407
+ <div class="method-source-code" id="M000177-source">
408
408
  <pre>
409
409
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 369</span>
410
410
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_item</span>(<span class="ruby-identifier">uri</span>)
@@ -418,11 +418,11 @@ TODO: conditional deletes
418
418
  </div>
419
419
  </div>
420
420
 
421
- <div id="method-M000160" class="method-detail">
422
- <a name="M000160"></a>
421
+ <div id="method-M000161" class="method-detail">
422
+ <a name="M000161"></a>
423
423
 
424
424
  <div class="method-heading">
425
- <a href="#M000160" class="method-signature">
425
+ <a href="#M000161" class="method-signature">
426
426
  <span class="method-name">describe</span><span class="method-args">(uri, format=&quot;application/rdf+xml&quot;, etags=nil, if_match=false)</span>
427
427
  </a>
428
428
  </div>
@@ -435,7 +435,7 @@ document, but other formats can be requested, as supported by the Talis
435
435
  Platform. E.g. application/json
436
436
  </p>
437
437
  <table>
438
- <tr><td valign="top">uri:</td><td>the URI of the resource to <a href="Store.html#M000160">describe</a>
438
+ <tr><td valign="top">uri:</td><td>the URI of the resource to <a href="Store.html#M000161">describe</a>
439
439
 
440
440
  </td></tr>
441
441
  <tr><td valign="top">format:</td><td>the preferred response format
@@ -452,18 +452,18 @@ false to perform a Conditional GET
452
452
  </table>
453
453
  <p>
454
454
  Note that this method is different from <a
455
- href="Store.html#M000163">sparql_describe</a> in that it is intended to be
455
+ href="Store.html#M000164">sparql_describe</a> in that it is intended to be
456
456
  used to generate a description of a single URI, using an separated service
457
457
  exposed by the Platform. This service is optimised for retrieval of
458
458
  descriptions for single resources and supports HTTP caching and conditional
459
- retrieval. The <a href="Store.html#M000163">sparql_describe</a> method
459
+ retrieval. The <a href="Store.html#M000164">sparql_describe</a> method
460
460
  should be used to submit more complex DESCRIBE queries to the Platform,
461
461
  e.g. to generate descriptions of resources matching a particular graph
462
462
  pattern.
463
463
  </p>
464
464
  <p><a class="source-toggle" href="#"
465
- onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
466
- <div class="method-source-code" id="M000160-source">
465
+ onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
466
+ <div class="method-source-code" id="M000161-source">
467
467
  <pre>
468
468
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 148</span>
469
469
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>, <span class="ruby-identifier">etags</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">if_match</span>=<span class="ruby-keyword kw">false</span>)
@@ -479,18 +479,18 @@ pattern.
479
479
  </div>
480
480
  </div>
481
481
 
482
- <div id="method-M000169" class="method-detail">
483
- <a name="M000169"></a>
482
+ <div id="method-M000170" class="method-detail">
483
+ <a name="M000170"></a>
484
484
 
485
485
  <div class="method-heading">
486
- <a href="#M000169" class="method-signature">
486
+ <a href="#M000170" class="method-signature">
487
487
  <span class="method-name">facet</span><span class="method-args">(query, facets, params=nil)</span>
488
488
  </a>
489
489
  </div>
490
490
 
491
491
  <div class="method-description">
492
492
  <p>
493
- Perform a facetted <a href="Store.html#M000168">search</a> against the
493
+ Perform a facetted <a href="Store.html#M000169">search</a> against the
494
494
  Metabox indexes.
495
495
  </p>
496
496
  <table>
@@ -509,7 +509,7 @@ The <em>params</em> hash can contain the following values:
509
509
  </p>
510
510
  <ul>
511
511
  <li><b>top</b>: the maximum number of results to return for each <a
512
- href="Store.html#M000169">facet</a>
512
+ href="Store.html#M000170">facet</a>
513
513
 
514
514
  </li>
515
515
  <li><b>output</b>: the preferred response format, can be html or xml (the
@@ -518,8 +518,8 @@ default)
518
518
  </li>
519
519
  </ul>
520
520
  <p><a class="source-toggle" href="#"
521
- onclick="toggleCode('M000169-source');return false;">[Source]</a></p>
522
- <div class="method-source-code" id="M000169-source">
521
+ onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
522
+ <div class="method-source-code" id="M000170-source">
523
523
  <pre>
524
524
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 273</span>
525
525
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">facet</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">facets</span>, <span class="ruby-identifier">params</span>=<span class="ruby-keyword kw">nil</span>)
@@ -538,11 +538,11 @@ default)
538
538
  </div>
539
539
  </div>
540
540
 
541
- <div id="method-M000184" class="method-detail">
542
- <a name="M000184"></a>
541
+ <div id="method-M000185" class="method-detail">
542
+ <a name="M000185"></a>
543
543
 
544
544
  <div class="method-heading">
545
- <a href="#M000184" class="method-signature">
545
+ <a href="#M000185" class="method-signature">
546
546
  <span class="method-name">get_field_predicate_map</span><span class="method-args">(output=ACCEPT_JSON)</span>
547
547
  </a>
548
548
  </div>
@@ -552,7 +552,7 @@ default)
552
552
  Read the field predicate map configuration for this store. The config can
553
553
  be requested in any format supported by the platform, but the default will
554
554
  return JSON. See <a
555
- href="FieldPredicateMap.html#M000093">FieldPredicateMap.read_from_store</a>
555
+ href="FieldPredicateMap.html#M000094">FieldPredicateMap.read_from_store</a>
556
556
  for a convenient way to quickly create a <a
557
557
  href="FieldPredicateMap.html">FieldPredicateMap</a> object based on a
558
558
  specific stores&#8216;s configuration.
@@ -563,10 +563,10 @@ specific stores&#8216;s configuration.
563
563
  </td></tr>
564
564
  </table>
565
565
  <p><a class="source-toggle" href="#"
566
- onclick="toggleCode('M000184-source');return false;">[Source]</a></p>
567
- <div class="method-source-code" id="M000184-source">
566
+ onclick="toggleCode('M000185-source');return false;">[Source]</a></p>
567
+ <div class="method-source-code" id="M000185-source">
568
568
  <pre>
569
- <span class="ruby-comment cmt"># File lib/pho/store.rb, line 461</span>
569
+ <span class="ruby-comment cmt"># File lib/pho/store.rb, line 471</span>
570
570
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_field_predicate_map</span>(<span class="ruby-identifier">output</span>=<span class="ruby-constant">ACCEPT_JSON</span>)
571
571
  <span class="ruby-identifier">u</span> = <span class="ruby-identifier">build_uri</span>(<span class="ruby-value str">&quot;/config/fpmaps/1&quot;</span>)
572
572
  <span class="ruby-identifier">response</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">u</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">output</span>)
@@ -577,11 +577,11 @@ specific stores&#8216;s configuration.
577
577
  </div>
578
578
  </div>
579
579
 
580
- <div id="method-M000177" class="method-detail">
581
- <a name="M000177"></a>
580
+ <div id="method-M000178" class="method-detail">
581
+ <a name="M000178"></a>
582
582
 
583
583
  <div class="method-heading">
584
- <a href="#M000177" class="method-signature">
584
+ <a href="#M000178" class="method-signature">
585
585
  <span class="method-name">get_item</span><span class="method-args">(uri, etags=nil, if_match=false)</span>
586
586
  </a>
587
587
  </div>
@@ -604,8 +604,8 @@ item, as available from the Metabox.
604
604
  TODO: document etags, redirects
605
605
  </p>
606
606
  <p><a class="source-toggle" href="#"
607
- onclick="toggleCode('M000177-source');return false;">[Source]</a></p>
608
- <div class="method-source-code" id="M000177-source">
607
+ onclick="toggleCode('M000178-source');return false;">[Source]</a></p>
608
+ <div class="method-source-code" id="M000178-source">
609
609
  <pre>
610
610
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 383</span>
611
611
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_item</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">etags</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">if_match</span>=<span class="ruby-keyword kw">false</span>)
@@ -621,11 +621,11 @@ TODO: document etags, redirects
621
621
  </div>
622
622
  </div>
623
623
 
624
- <div id="method-M000178" class="method-detail">
625
- <a name="M000178"></a>
624
+ <div id="method-M000179" class="method-detail">
625
+ <a name="M000179"></a>
626
626
 
627
627
  <div class="method-heading">
628
- <a href="#M000178" class="method-signature">
628
+ <a href="#M000179" class="method-signature">
629
629
  <span class="method-name">get_job</span><span class="method-args">(uri)</span>
630
630
  </a>
631
631
  </div>
@@ -633,7 +633,7 @@ TODO: document etags, redirects
633
633
  <div class="method-description">
634
634
  <p>
635
635
  Retrieve metadata about a single job. Use <a
636
- href="Job.html#M000194">Job.read_from_store</a> as a convenience function
636
+ href="Job.html#M000195">Job.read_from_store</a> as a convenience function
637
637
  which will return a fully-populated <a href="Job.html">Job</a> object
638
638
  </p>
639
639
  <table>
@@ -642,8 +642,8 @@ which will return a fully-populated <a href="Job.html">Job</a> object
642
642
  </td></tr>
643
643
  </table>
644
644
  <p><a class="source-toggle" href="#"
645
- onclick="toggleCode('M000178-source');return false;">[Source]</a></p>
646
- <div class="method-source-code" id="M000178-source">
645
+ onclick="toggleCode('M000179-source');return false;">[Source]</a></p>
646
+ <div class="method-source-code" id="M000179-source">
647
647
  <pre>
648
648
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 400</span>
649
649
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_job</span>(<span class="ruby-identifier">uri</span>)
@@ -656,11 +656,11 @@ which will return a fully-populated <a href="Job.html">Job</a> object
656
656
  </div>
657
657
  </div>
658
658
 
659
- <div id="method-M000179" class="method-detail">
660
- <a name="M000179"></a>
659
+ <div id="method-M000180" class="method-detail">
660
+ <a name="M000180"></a>
661
661
 
662
662
  <div class="method-heading">
663
- <a href="#M000179" class="method-signature">
663
+ <a href="#M000180" class="method-signature">
664
664
  <span class="method-name">get_jobs</span><span class="method-args">()</span>
665
665
  </a>
666
666
  </div>
@@ -671,8 +671,8 @@ Retrieve metadata about the Scheduled <a href="Jobs.html">Jobs</a>
671
671
  Collection from the store
672
672
  </p>
673
673
  <p><a class="source-toggle" href="#"
674
- onclick="toggleCode('M000179-source');return false;">[Source]</a></p>
675
- <div class="method-source-code" id="M000179-source">
674
+ onclick="toggleCode('M000180-source');return false;">[Source]</a></p>
675
+ <div class="method-source-code" id="M000180-source">
676
676
  <pre>
677
677
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 407</span>
678
678
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_jobs</span>()
@@ -685,11 +685,11 @@ Collection from the store
685
685
  </div>
686
686
  </div>
687
687
 
688
- <div id="method-M000186" class="method-detail">
689
- <a name="M000186"></a>
688
+ <div id="method-M000187" class="method-detail">
689
+ <a name="M000187"></a>
690
690
 
691
691
  <div class="method-heading">
692
- <a href="#M000186" class="method-signature">
692
+ <a href="#M000187" class="method-signature">
693
693
  <span class="method-name">get_query_profile</span><span class="method-args">(output=ACCEPT_JSON)</span>
694
694
  </a>
695
695
  </div>
@@ -699,7 +699,7 @@ Collection from the store
699
699
  Read the query profile configuration for this store. The config can be
700
700
  requested in any format supported by the platform, but the default will
701
701
  return JSON. See <a
702
- href="QueryProfile.html#M000130">QueryProfile.read_from_store</a> for a
702
+ href="QueryProfile.html#M000131">QueryProfile.read_from_store</a> for a
703
703
  convenient way to quickly create a <a
704
704
  href="QueryProfile.html">QueryProfile</a> object based on a specific
705
705
  stores&#8216;s configuration.
@@ -710,10 +710,10 @@ stores&#8216;s configuration.
710
710
  </td></tr>
711
711
  </table>
712
712
  <p><a class="source-toggle" href="#"
713
- onclick="toggleCode('M000186-source');return false;">[Source]</a></p>
714
- <div class="method-source-code" id="M000186-source">
713
+ onclick="toggleCode('M000187-source');return false;">[Source]</a></p>
714
+ <div class="method-source-code" id="M000187-source">
715
715
  <pre>
716
- <span class="ruby-comment cmt"># File lib/pho/store.rb, line 482</span>
716
+ <span class="ruby-comment cmt"># File lib/pho/store.rb, line 492</span>
717
717
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_query_profile</span>(<span class="ruby-identifier">output</span>=<span class="ruby-constant">ACCEPT_JSON</span>)
718
718
  <span class="ruby-identifier">u</span> = <span class="ruby-identifier">build_uri</span>(<span class="ruby-value str">&quot;/config/queryprofiles/1&quot;</span>)
719
719
  <span class="ruby-identifier">response</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">u</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">output</span>)
@@ -724,19 +724,19 @@ stores&#8216;s configuration.
724
724
  </div>
725
725
  </div>
726
726
 
727
- <div id="method-M000170" class="method-detail">
728
- <a name="M000170"></a>
727
+ <div id="method-M000171" class="method-detail">
728
+ <a name="M000171"></a>
729
729
 
730
730
  <div class="method-heading">
731
- <a href="#M000170" class="method-signature">
731
+ <a href="#M000171" class="method-signature">
732
732
  <span class="method-name">get_search_params</span><span class="method-args">(u, query, params)</span>
733
733
  </a>
734
734
  </div>
735
735
 
736
736
  <div class="method-description">
737
737
  <p><a class="source-toggle" href="#"
738
- onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
739
- <div class="method-source-code" id="M000170-source">
738
+ onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
739
+ <div class="method-source-code" id="M000171-source">
740
740
  <pre>
741
741
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 285</span>
742
742
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_search_params</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">params</span>)
@@ -753,11 +753,11 @@ stores&#8216;s configuration.
753
753
  </div>
754
754
  </div>
755
755
 
756
- <div id="method-M000182" class="method-detail">
757
- <a name="M000182"></a>
756
+ <div id="method-M000183" class="method-detail">
757
+ <a name="M000183"></a>
758
758
 
759
759
  <div class="method-heading">
760
- <a href="#M000182" class="method-signature">
760
+ <a href="#M000183" class="method-signature">
761
761
  <span class="method-name">get_snapshots</span><span class="method-args">()</span>
762
762
  </a>
763
763
  </div>
@@ -768,12 +768,12 @@ Retrieve the list of snapshots for this store
768
768
  </p>
769
769
  <p>
770
770
  Currently the response will contain an HTML document. Use <a
771
- href="Snapshot.html#M000189">Snapshot.parse</a> to turn this into a <a
771
+ href="Snapshot.html#M000190">Snapshot.parse</a> to turn this into a <a
772
772
  href="Snapshot.html">Snapshot</a> object
773
773
  </p>
774
774
  <p><a class="source-toggle" href="#"
775
- onclick="toggleCode('M000182-source');return false;">[Source]</a></p>
776
- <div class="method-source-code" id="M000182-source">
775
+ onclick="toggleCode('M000183-source');return false;">[Source]</a></p>
776
+ <div class="method-source-code" id="M000183-source">
777
777
  <pre>
778
778
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 436</span>
779
779
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_snapshots</span>()
@@ -786,11 +786,11 @@ href="Snapshot.html">Snapshot</a> object
786
786
  </div>
787
787
  </div>
788
788
 
789
- <div id="method-M000181" class="method-detail">
790
- <a name="M000181"></a>
789
+ <div id="method-M000182" class="method-detail">
790
+ <a name="M000182"></a>
791
791
 
792
792
  <div class="method-heading">
793
- <a href="#M000181" class="method-signature">
793
+ <a href="#M000182" class="method-signature">
794
794
  <span class="method-name">get_status</span><span class="method-args">()</span>
795
795
  </a>
796
796
  </div>
@@ -800,8 +800,8 @@ href="Snapshot.html">Snapshot</a> object
800
800
  ADMIN
801
801
  </p>
802
802
  <p><a class="source-toggle" href="#"
803
- onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
804
- <div class="method-source-code" id="M000181-source">
803
+ onclick="toggleCode('M000182-source');return false;">[Source]</a></p>
804
+ <div class="method-source-code" id="M000182-source">
805
805
  <pre>
806
806
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 426</span>
807
807
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_status</span>()
@@ -814,12 +814,12 @@ ADMIN
814
814
  </div>
815
815
  </div>
816
816
 
817
- <div id="method-M000183" class="method-detail">
818
- <a name="M000183"></a>
817
+ <div id="method-M000184" class="method-detail">
818
+ <a name="M000184"></a>
819
819
 
820
820
  <div class="method-heading">
821
- <a href="#M000183" class="method-signature">
822
- <span class="method-name">list_records</span><span class="method-args">()</span>
821
+ <a href="#M000184" class="method-signature">
822
+ <span class="method-name">list_records</span><span class="method-args">(from=nil, to=nil, resumption_token=nil)</span>
823
823
  </a>
824
824
  </div>
825
825
 
@@ -828,13 +828,23 @@ ADMIN
828
828
  <a href="OAI.html">OAI</a>
829
829
  </p>
830
830
  <p><a class="source-toggle" href="#"
831
- onclick="toggleCode('M000183-source');return false;">[Source]</a></p>
832
- <div class="method-source-code" id="M000183-source">
831
+ onclick="toggleCode('M000184-source');return false;">[Source]</a></p>
832
+ <div class="method-source-code" id="M000184-source">
833
833
  <pre>
834
834
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 446</span>
835
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list_records</span>
835
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list_records</span>(<span class="ruby-identifier">from</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">to</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">resumption_token</span>=<span class="ruby-keyword kw">nil</span>)
836
836
  <span class="ruby-identifier">u</span> = <span class="ruby-identifier">build_uri</span>(<span class="ruby-value str">&quot;/services/oai-pmh&quot;</span>)
837
- <span class="ruby-identifier">response</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">u</span>, {<span class="ruby-value str">&quot;verb&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;ListRecords&quot;</span>, <span class="ruby-value str">&quot;metadataPrefix&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;oai_dc&quot;</span>})
837
+ <span class="ruby-identifier">params</span> = {<span class="ruby-value str">&quot;verb&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;ListRecords&quot;</span>, <span class="ruby-value str">&quot;metadataPrefix&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;oai_dc&quot;</span>}
838
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">from</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
839
+ <span class="ruby-identifier">params</span>[<span class="ruby-value str">&quot;from&quot;</span>] = <span class="ruby-identifier">from</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-value str">&quot;%Y-%m-%dT%H:%M:%SZ&quot;</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">from</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:strftime</span>
840
+ <span class="ruby-identifier">params</span>[<span class="ruby-value str">&quot;from&quot;</span>] = <span class="ruby-identifier">from</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">from</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:strftime</span>
841
+ <span class="ruby-keyword kw">end</span>
842
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">to</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
843
+ <span class="ruby-identifier">params</span>[<span class="ruby-value str">&quot;until&quot;</span>] = <span class="ruby-identifier">to</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-value str">&quot;%Y-%m-%dT%H:%M:%SZ&quot;</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">to</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:strftime</span>
844
+ <span class="ruby-identifier">params</span>[<span class="ruby-value str">&quot;until&quot;</span>] = <span class="ruby-identifier">to</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">to</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:strftime</span>
845
+ <span class="ruby-keyword kw">end</span>
846
+ <span class="ruby-identifier">params</span>[<span class="ruby-value str">&quot;resumptionToken&quot;</span>] = <span class="ruby-identifier">resumption_token</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">resumption_token</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
847
+ <span class="ruby-identifier">response</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">params</span>)
838
848
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">response</span>
839
849
  <span class="ruby-keyword kw">end</span>
840
850
  </pre>
@@ -842,11 +852,11 @@ ADMIN
842
852
  </div>
843
853
  </div>
844
854
 
845
- <div id="method-M000185" class="method-detail">
846
- <a name="M000185"></a>
855
+ <div id="method-M000186" class="method-detail">
856
+ <a name="M000186"></a>
847
857
 
848
858
  <div class="method-heading">
849
- <a href="#M000185" class="method-signature">
859
+ <a href="#M000186" class="method-signature">
850
860
  <span class="method-name">put_field_predicate_map</span><span class="method-args">(data)</span>
851
861
  </a>
852
862
  </div>
@@ -856,7 +866,7 @@ ADMIN
856
866
  <a href="Update.html">Update</a>/replace the current Field Predicate map
857
867
  configuration in the store. Assumes that the provided data is valid <a
858
868
  href="RDF.html">RDF</a>/XML. Use <a
859
- href="FieldPredicateMap.html#M000107">FieldPredicateMap.upload</a> as a
869
+ href="FieldPredicateMap.html#M000108">FieldPredicateMap.upload</a> as a
860
870
  convenience function
861
871
  </p>
862
872
  <table>
@@ -865,10 +875,10 @@ convenience function
865
875
  </td></tr>
866
876
  </table>
867
877
  <p><a class="source-toggle" href="#"
868
- onclick="toggleCode('M000185-source');return false;">[Source]</a></p>
869
- <div class="method-source-code" id="M000185-source">
878
+ onclick="toggleCode('M000186-source');return false;">[Source]</a></p>
879
+ <div class="method-source-code" id="M000186-source">
870
880
  <pre>
871
- <span class="ruby-comment cmt"># File lib/pho/store.rb, line 471</span>
881
+ <span class="ruby-comment cmt"># File lib/pho/store.rb, line 481</span>
872
882
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_field_predicate_map</span>(<span class="ruby-identifier">data</span>)
873
883
  <span class="ruby-identifier">u</span> = <span class="ruby-identifier">build_uri</span>(<span class="ruby-value str">&quot;/config/fpmaps/1&quot;</span>)
874
884
  <span class="ruby-identifier">headers</span> = {<span class="ruby-value str">&quot;Content-Type&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;application/rdf+xml&quot;</span>}
@@ -879,11 +889,11 @@ convenience function
879
889
  </div>
880
890
  </div>
881
891
 
882
- <div id="method-M000187" class="method-detail">
883
- <a name="M000187"></a>
892
+ <div id="method-M000188" class="method-detail">
893
+ <a name="M000188"></a>
884
894
 
885
895
  <div class="method-heading">
886
- <a href="#M000187" class="method-signature">
896
+ <a href="#M000188" class="method-signature">
887
897
  <span class="method-name">put_query_profile</span><span class="method-args">(data)</span>
888
898
  </a>
889
899
  </div>
@@ -893,7 +903,7 @@ convenience function
893
903
  <a href="Update.html">Update</a>/replace the current Query Profile
894
904
  configuration in the store. Assumes that the provided data is valid <a
895
905
  href="RDF.html">RDF</a>/XML. Use <a
896
- href="QueryProfile.html#M000139">QueryProfile.upload</a> as a convenience
906
+ href="QueryProfile.html#M000140">QueryProfile.upload</a> as a convenience
897
907
  function
898
908
  </p>
899
909
  <table>
@@ -902,10 +912,10 @@ function
902
912
  </td></tr>
903
913
  </table>
904
914
  <p><a class="source-toggle" href="#"
905
- onclick="toggleCode('M000187-source');return false;">[Source]</a></p>
906
- <div class="method-source-code" id="M000187-source">
915
+ onclick="toggleCode('M000188-source');return false;">[Source]</a></p>
916
+ <div class="method-source-code" id="M000188-source">
907
917
  <pre>
908
- <span class="ruby-comment cmt"># File lib/pho/store.rb, line 492</span>
918
+ <span class="ruby-comment cmt"># File lib/pho/store.rb, line 502</span>
909
919
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_query_profile</span>(<span class="ruby-identifier">data</span>)
910
920
  <span class="ruby-identifier">u</span> = <span class="ruby-identifier">build_uri</span>(<span class="ruby-value str">&quot;/config/queryprofiles/1&quot;</span>)
911
921
  <span class="ruby-identifier">headers</span> = {<span class="ruby-value str">&quot;Content-Type&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;application/rdf+xml&quot;</span>}
@@ -916,19 +926,19 @@ function
916
926
  </div>
917
927
  </div>
918
928
 
919
- <div id="method-M000174" class="method-detail">
920
- <a name="M000174"></a>
929
+ <div id="method-M000175" class="method-detail">
930
+ <a name="M000175"></a>
921
931
 
922
932
  <div class="method-heading">
923
- <a href="#M000174" class="method-signature">
933
+ <a href="#M000175" class="method-signature">
924
934
  <span class="method-name">record_etags</span><span class="method-args">(u, etags, response)</span>
925
935
  </a>
926
936
  </div>
927
937
 
928
938
  <div class="method-description">
929
939
  <p><a class="source-toggle" href="#"
930
- onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
931
- <div class="method-source-code" id="M000174-source">
940
+ onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
941
+ <div class="method-source-code" id="M000175-source">
932
942
  <pre>
933
943
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 325</span>
934
944
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">record_etags</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">etags</span>, <span class="ruby-identifier">response</span>)
@@ -941,11 +951,11 @@ function
941
951
  </div>
942
952
  </div>
943
953
 
944
- <div id="method-M000168" class="method-detail">
945
- <a name="M000168"></a>
954
+ <div id="method-M000169" class="method-detail">
955
+ <a name="M000169"></a>
946
956
 
947
957
  <div class="method-heading">
948
- <a href="#M000168" class="method-signature">
958
+ <a href="#M000169" class="method-signature">
949
959
  <span class="method-name">search</span><span class="method-args">(query, params=nil)</span>
950
960
  </a>
951
961
  </div>
@@ -992,8 +1002,8 @@ transformation is being applied, in which case they will be provided as
992
1002
  parameters to the stylesheet.
993
1003
  </p>
994
1004
  <p><a class="source-toggle" href="#"
995
- onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
996
- <div class="method-source-code" id="M000168-source">
1005
+ onclick="toggleCode('M000169-source');return false;">[Source]</a></p>
1006
+ <div class="method-source-code" id="M000169-source">
997
1007
  <pre>
998
1008
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 256</span>
999
1009
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">search</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">params</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1008,11 +1018,11 @@ parameters to the stylesheet.
1008
1018
  </div>
1009
1019
  </div>
1010
1020
 
1011
- <div id="method-M000155" class="method-detail">
1012
- <a name="M000155"></a>
1021
+ <div id="method-M000156" class="method-detail">
1022
+ <a name="M000156"></a>
1013
1023
 
1014
1024
  <div class="method-heading">
1015
- <a href="#M000155" class="method-signature">
1025
+ <a href="#M000156" class="method-signature">
1016
1026
  <span class="method-name">set_credentials</span><span class="method-args">(username, password)</span>
1017
1027
  </a>
1018
1028
  </div>
@@ -1030,8 +1040,8 @@ Set credentials that this store will use when carrying out authorization
1030
1040
  </td></tr>
1031
1041
  </table>
1032
1042
  <p><a class="source-toggle" href="#"
1033
- onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
1034
- <div class="method-source-code" id="M000155-source">
1043
+ onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
1044
+ <div class="method-source-code" id="M000156-source">
1035
1045
  <pre>
1036
1046
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 55</span>
1037
1047
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_credentials</span>(<span class="ruby-identifier">username</span>, <span class="ruby-identifier">password</span>)
@@ -1042,11 +1052,11 @@ Set credentials that this store will use when carrying out authorization
1042
1052
  </div>
1043
1053
  </div>
1044
1054
 
1045
- <div id="method-M000167" class="method-detail">
1046
- <a name="M000167"></a>
1055
+ <div id="method-M000168" class="method-detail">
1056
+ <a name="M000168"></a>
1047
1057
 
1048
1058
  <div class="method-heading">
1049
- <a href="#M000167" class="method-signature">
1059
+ <a href="#M000168" class="method-signature">
1050
1060
  <span class="method-name">sparql</span><span class="method-args">(query, format=nil, multisparql=false)</span>
1051
1061
  </a>
1052
1062
  </div>
@@ -1061,8 +1071,8 @@ Perform a SPARQL query
1061
1071
  multisparql:: use default sparql service or multisparql service
1062
1072
  </pre>
1063
1073
  <p><a class="source-toggle" href="#"
1064
- onclick="toggleCode('M000167-source');return false;">[Source]</a></p>
1065
- <div class="method-source-code" id="M000167-source">
1074
+ onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
1075
+ <div class="method-source-code" id="M000168-source">
1066
1076
  <pre>
1067
1077
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 237</span>
1068
1078
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1073,11 +1083,11 @@ Perform a SPARQL query
1073
1083
  </div>
1074
1084
  </div>
1075
1085
 
1076
- <div id="method-M000165" class="method-detail">
1077
- <a name="M000165"></a>
1086
+ <div id="method-M000166" class="method-detail">
1087
+ <a name="M000166"></a>
1078
1088
 
1079
1089
  <div class="method-heading">
1080
- <a href="#M000165" class="method-signature">
1090
+ <a href="#M000166" class="method-signature">
1081
1091
  <span class="method-name">sparql_ask</span><span class="method-args">(query, format=&quot;application/sparql-results+xml&quot;, multisparql=false)</span>
1082
1092
  </a>
1083
1093
  </div>
@@ -1091,8 +1101,8 @@ Perform a SPARQL ASK query.
1091
1101
  format:: the preferred response format
1092
1102
  </pre>
1093
1103
  <p><a class="source-toggle" href="#"
1094
- onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
1095
- <div class="method-source-code" id="M000165-source">
1104
+ onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
1105
+ <div class="method-source-code" id="M000166-source">
1096
1106
  <pre>
1097
1107
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 220</span>
1098
1108
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_ask</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/sparql-results+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1103,11 +1113,11 @@ Perform a SPARQL ASK query.
1103
1113
  </div>
1104
1114
  </div>
1105
1115
 
1106
- <div id="method-M000162" class="method-detail">
1107
- <a name="M000162"></a>
1116
+ <div id="method-M000163" class="method-detail">
1117
+ <a name="M000163"></a>
1108
1118
 
1109
1119
  <div class="method-heading">
1110
- <a href="#M000162" class="method-signature">
1120
+ <a href="#M000163" class="method-signature">
1111
1121
  <span class="method-name">sparql_client</span><span class="method-args">(multisparql=false)</span>
1112
1122
  </a>
1113
1123
  </div>
@@ -1121,8 +1131,8 @@ store
1121
1131
  multisparql:: optional, set to true to retrieve client for multisparql endpoint
1122
1132
  </pre>
1123
1133
  <p><a class="source-toggle" href="#"
1124
- onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
1125
- <div class="method-source-code" id="M000162-source">
1134
+ onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
1135
+ <div class="method-source-code" id="M000163-source">
1126
1136
  <pre>
1127
1137
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 186</span>
1128
1138
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_client</span>(<span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1143,11 +1153,11 @@ store
1143
1153
  </div>
1144
1154
  </div>
1145
1155
 
1146
- <div id="method-M000164" class="method-detail">
1147
- <a name="M000164"></a>
1156
+ <div id="method-M000165" class="method-detail">
1157
+ <a name="M000165"></a>
1148
1158
 
1149
1159
  <div class="method-heading">
1150
- <a href="#M000164" class="method-signature">
1160
+ <a href="#M000165" class="method-signature">
1151
1161
  <span class="method-name">sparql_construct</span><span class="method-args">(query, format=&quot;application/rdf+xml&quot;, multisparql=false)</span>
1152
1162
  </a>
1153
1163
  </div>
@@ -1161,8 +1171,8 @@ Perform a SPARQL CONSTRUCT query.
1161
1171
  format:: the preferred response format
1162
1172
  </pre>
1163
1173
  <p><a class="source-toggle" href="#"
1164
- onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
1165
- <div class="method-source-code" id="M000164-source">
1174
+ onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
1175
+ <div class="method-source-code" id="M000165-source">
1166
1176
  <pre>
1167
1177
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 212</span>
1168
1178
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_construct</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1173,11 +1183,11 @@ Perform a SPARQL CONSTRUCT query.
1173
1183
  </div>
1174
1184
  </div>
1175
1185
 
1176
- <div id="method-M000163" class="method-detail">
1177
- <a name="M000163"></a>
1186
+ <div id="method-M000164" class="method-detail">
1187
+ <a name="M000164"></a>
1178
1188
 
1179
1189
  <div class="method-heading">
1180
- <a href="#M000163" class="method-signature">
1190
+ <a href="#M000164" class="method-signature">
1181
1191
  <span class="method-name">sparql_describe</span><span class="method-args">(query, format=&quot;application/rdf+xml&quot;, multisparql=false)</span>
1182
1192
  </a>
1183
1193
  </div>
@@ -1191,8 +1201,8 @@ Perform a SPARQL DESCRIBE query.
1191
1201
  format:: the preferred response format
1192
1202
  </pre>
1193
1203
  <p><a class="source-toggle" href="#"
1194
- onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
1195
- <div class="method-source-code" id="M000163-source">
1204
+ onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
1205
+ <div class="method-source-code" id="M000164-source">
1196
1206
  <pre>
1197
1207
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 204</span>
1198
1208
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_describe</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1203,11 +1213,11 @@ Perform a SPARQL DESCRIBE query.
1203
1213
  </div>
1204
1214
  </div>
1205
1215
 
1206
- <div id="method-M000166" class="method-detail">
1207
- <a name="M000166"></a>
1216
+ <div id="method-M000167" class="method-detail">
1217
+ <a name="M000167"></a>
1208
1218
 
1209
1219
  <div class="method-heading">
1210
- <a href="#M000166" class="method-signature">
1220
+ <a href="#M000167" class="method-signature">
1211
1221
  <span class="method-name">sparql_select</span><span class="method-args">(query, format=&quot;application/sparql-results+xml&quot;, multisparql=false)</span>
1212
1222
  </a>
1213
1223
  </div>
@@ -1221,8 +1231,8 @@ Perform a SPARQL SELECT query.
1221
1231
  format:: the preferred response format
1222
1232
  </pre>
1223
1233
  <p><a class="source-toggle" href="#"
1224
- onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
1225
- <div class="method-source-code" id="M000166-source">
1234
+ onclick="toggleCode('M000167-source');return false;">[Source]</a></p>
1235
+ <div class="method-source-code" id="M000167-source">
1226
1236
  <pre>
1227
1237
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 228</span>
1228
1238
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_select</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/sparql-results+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1233,11 +1243,11 @@ Perform a SPARQL SELECT query.
1233
1243
  </div>
1234
1244
  </div>
1235
1245
 
1236
- <div id="method-M000157" class="method-detail">
1237
- <a name="M000157"></a>
1246
+ <div id="method-M000158" class="method-detail">
1247
+ <a name="M000158"></a>
1238
1248
 
1239
1249
  <div class="method-heading">
1240
- <a href="#M000157" class="method-signature">
1250
+ <a href="#M000158" class="method-signature">
1241
1251
  <span class="method-name">store_data</span><span class="method-args">(data, graph_name=nil, format=&quot;application/rdf+xml&quot;)</span>
1242
1252
  </a>
1243
1253
  </div>
@@ -1256,8 +1266,8 @@ Perform a SPARQL SELECT query.
1256
1266
  </td></tr>
1257
1267
  </table>
1258
1268
  <p><a class="source-toggle" href="#"
1259
- onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
1260
- <div class="method-source-code" id="M000157-source">
1269
+ onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
1270
+ <div class="method-source-code" id="M000158-source">
1261
1271
  <pre>
1262
1272
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 82</span>
1263
1273
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_data</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>)
@@ -1281,11 +1291,11 @@ Perform a SPARQL SELECT query.
1281
1291
  </div>
1282
1292
  </div>
1283
1293
 
1284
- <div id="method-M000158" class="method-detail">
1285
- <a name="M000158"></a>
1294
+ <div id="method-M000159" class="method-detail">
1295
+ <a name="M000159"></a>
1286
1296
 
1287
1297
  <div class="method-heading">
1288
- <a href="#M000158" class="method-signature">
1298
+ <a href="#M000159" class="method-signature">
1289
1299
  <span class="method-name">store_file</span><span class="method-args">(file, graph_name=nil, format=&quot;application/rdf+xml&quot;)</span>
1290
1300
  </a>
1291
1301
  </div>
@@ -1310,8 +1320,8 @@ is submitted to the platform
1310
1320
  </td></tr>
1311
1321
  </table>
1312
1322
  <p><a class="source-toggle" href="#"
1313
- onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
1314
- <div class="method-source-code" id="M000158-source">
1323
+ onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
1324
+ <div class="method-source-code" id="M000159-source">
1315
1325
  <pre>
1316
1326
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 104</span>
1317
1327
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_file</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>)
@@ -1324,11 +1334,11 @@ is submitted to the platform
1324
1334
  </div>
1325
1335
  </div>
1326
1336
 
1327
- <div id="method-M000159" class="method-detail">
1328
- <a name="M000159"></a>
1337
+ <div id="method-M000160" class="method-detail">
1338
+ <a name="M000160"></a>
1329
1339
 
1330
1340
  <div class="method-heading">
1331
- <a href="#M000159" class="method-signature">
1341
+ <a href="#M000160" class="method-signature">
1332
1342
  <span class="method-name">store_url</span><span class="method-args">(u, parameters=nil, graph_name=nil)</span>
1333
1343
  </a>
1334
1344
  </div>
@@ -1366,8 +1376,8 @@ URL
1366
1376
  </td></tr>
1367
1377
  </table>
1368
1378
  <p><a class="source-toggle" href="#"
1369
- onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
1370
- <div class="method-source-code" id="M000159-source">
1379
+ onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
1380
+ <div class="method-source-code" id="M000160-source">
1371
1381
  <pre>
1372
1382
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 122</span>
1373
1383
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_url</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">parameters</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1388,11 +1398,11 @@ URL
1388
1398
  </div>
1389
1399
  </div>
1390
1400
 
1391
- <div id="method-M000161" class="method-detail">
1392
- <a name="M000161"></a>
1401
+ <div id="method-M000162" class="method-detail">
1402
+ <a name="M000162"></a>
1393
1403
 
1394
1404
  <div class="method-heading">
1395
- <a href="#M000161" class="method-signature">
1405
+ <a href="#M000162" class="method-signature">
1396
1406
  <span class="method-name">submit_changeset</span><span class="method-args">(rdf, versioned=false, graph_name=nil)</span>
1397
1407
  </a>
1398
1408
  </div>
@@ -1418,8 +1428,8 @@ be submitted to private graphs.
1418
1428
  </td></tr>
1419
1429
  </table>
1420
1430
  <p><a class="source-toggle" href="#"
1421
- onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
1422
- <div class="method-source-code" id="M000161-source">
1431
+ onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
1432
+ <div class="method-source-code" id="M000162-source">
1423
1433
  <pre>
1424
1434
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 166</span>
1425
1435
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit_changeset</span>(<span class="ruby-identifier">rdf</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1439,11 +1449,11 @@ be submitted to private graphs.
1439
1449
  </div>
1440
1450
  </div>
1441
1451
 
1442
- <div id="method-M000180" class="method-detail">
1443
- <a name="M000180"></a>
1452
+ <div id="method-M000181" class="method-detail">
1453
+ <a name="M000181"></a>
1444
1454
 
1445
1455
  <div class="method-heading">
1446
- <a href="#M000180" class="method-signature">
1456
+ <a href="#M000181" class="method-signature">
1447
1457
  <span class="method-name">submit_job</span><span class="method-args">(data)</span>
1448
1458
  </a>
1449
1459
  </div>
@@ -1459,8 +1469,8 @@ Submit a job to the platform.
1459
1469
  </td></tr>
1460
1470
  </table>
1461
1471
  <p><a class="source-toggle" href="#"
1462
- onclick="toggleCode('M000180-source');return false;">[Source]</a></p>
1463
- <div class="method-source-code" id="M000180-source">
1472
+ onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
1473
+ <div class="method-source-code" id="M000181-source">
1464
1474
  <pre>
1465
1475
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 416</span>
1466
1476
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit_job</span>(<span class="ruby-identifier">data</span>)
@@ -1473,11 +1483,11 @@ Submit a job to the platform.
1473
1483
  </div>
1474
1484
  </div>
1475
1485
 
1476
- <div id="method-M000175" class="method-detail">
1477
- <a name="M000175"></a>
1486
+ <div id="method-M000176" class="method-detail">
1487
+ <a name="M000176"></a>
1478
1488
 
1479
1489
  <div class="method-heading">
1480
- <a href="#M000175" class="method-signature">
1490
+ <a href="#M000176" class="method-signature">
1481
1491
  <span class="method-name">upload_item</span><span class="method-args">(f, mimetype, uri=nil)</span>
1482
1492
  </a>
1483
1493
  </div>
@@ -1505,8 +1515,8 @@ stored item. If a URI is specified then a successful request will result in
1505
1515
  a 200 OK response.
1506
1516
  </p>
1507
1517
  <p><a class="source-toggle" href="#"
1508
- onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
1509
- <div class="method-source-code" id="M000175-source">
1518
+ onclick="toggleCode('M000176-source');return false;">[Source]</a></p>
1519
+ <div class="method-source-code" id="M000176-source">
1510
1520
  <pre>
1511
1521
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 344</span>
1512
1522
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload_item</span>(<span class="ruby-identifier">f</span>, <span class="ruby-identifier">mimetype</span>, <span class="ruby-identifier">uri</span>=<span class="ruby-keyword kw">nil</span>)