pho 0.7.7 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +21 -0
- data/README +1 -2
- data/Rakefile +1 -1
- data/bin/talis_store +13 -22
- data/doc/rdoc/classes/Pho/CommandLine.html +162 -124
- data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
- data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
- data/doc/rdoc/classes/Pho/Etags.html +36 -36
- data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
- data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
- data/doc/rdoc/classes/Pho/FieldPredicateMap.html +102 -102
- data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
- data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +262 -103
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +34 -14
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +10 -5
- data/doc/rdoc/classes/Pho/Job.html +64 -64
- data/doc/rdoc/classes/Pho/Jobs.html +60 -60
- data/doc/rdoc/classes/Pho/OAI/Record.html +6 -6
- data/doc/rdoc/classes/Pho/OAI/Records.html +24 -24
- data/doc/rdoc/classes/Pho/OAI/Statistics.html +12 -12
- data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
- data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
- data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
- data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
- data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +74 -74
- data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -78
- data/doc/rdoc/classes/Pho/Status.html +26 -26
- data/doc/rdoc/classes/Pho/Store.html +215 -215
- data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
- data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
- data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
- data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +6 -6
- data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
- data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
- data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
- data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +34 -1
- data/doc/rdoc/files/README.html +3 -4
- data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/file_management_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/file_manager_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +1 -1
- data/doc/rdoc/fr_method_index.html +212 -205
- data/lib/pho/command_line.rb +29 -11
- data/lib/pho/file_management.rb +85 -29
- data/lib/pho/file_manager.rb +10 -11
- data/lib/pho/rdf_collection.rb +8 -3
- data/tests/tc_file_manager.rb +144 -26
- data/tests/tc_rdf_collection.rb +76 -68
- metadata +4 -4
@@ -88,8 +88,8 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
91
|
+
<a href="#M000162">describe_uri</a>
|
92
|
+
<a href="#M000161">new</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -111,19 +111,19 @@
|
|
111
111
|
<div id="methods">
|
112
112
|
<h3 class="section-bar">Public Class methods</h3>
|
113
113
|
|
114
|
-
<div id="method-
|
115
|
-
<a name="
|
114
|
+
<div id="method-M000161" class="method-detail">
|
115
|
+
<a name="M000161"></a>
|
116
116
|
|
117
117
|
<div class="method-heading">
|
118
|
-
<a href="#
|
118
|
+
<a href="#M000161" class="method-signature">
|
119
119
|
<span class="method-name">new</span><span class="method-args">(store, endpoint, client=HTTPClient.new() )</span>
|
120
120
|
</a>
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div class="method-description">
|
124
124
|
<p><a class="source-toggle" href="#"
|
125
|
-
onclick="toggleCode('
|
126
|
-
<div class="method-source-code" id="
|
125
|
+
onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
|
126
|
+
<div class="method-source-code" id="M000161-source">
|
127
127
|
<pre>
|
128
128
|
<span class="ruby-comment cmt"># File lib/pho/store.rb, line 520</span>
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">endpoint</span>, <span class="ruby-identifier">client</span>=<span class="ruby-constant">HTTPClient</span>.<span class="ruby-identifier">new</span>() )
|
@@ -137,11 +137,11 @@
|
|
137
137
|
|
138
138
|
<h3 class="section-bar">Public Instance methods</h3>
|
139
139
|
|
140
|
-
<div id="method-
|
141
|
-
<a name="
|
140
|
+
<div id="method-M000162" class="method-detail">
|
141
|
+
<a name="M000162"></a>
|
142
142
|
|
143
143
|
<div class="method-heading">
|
144
|
-
<a href="#
|
144
|
+
<a href="#M000162" class="method-signature">
|
145
145
|
<span class="method-name">describe_uri</span><span class="method-args">(uri, format="application/rdf+xml", type=:cbd)</span>
|
146
146
|
</a>
|
147
147
|
</div>
|
@@ -152,8 +152,8 @@ Override default behaviour to use the Stores Describe service instead when
|
|
152
152
|
requesting CBDs
|
153
153
|
</p>
|
154
154
|
<p><a class="source-toggle" href="#"
|
155
|
-
onclick="toggleCode('
|
156
|
-
<div class="method-source-code" id="
|
155
|
+
onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
|
156
|
+
<div class="method-source-code" id="M000162-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File lib/pho/store.rb, line 527</span>
|
159
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe_uri</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">"application/rdf+xml"</span>, <span class="ruby-identifier">type</span>=<span class="ruby-identifier">:cbd</span>)
|
@@ -118,16 +118,16 @@ Processing of batch changesets is described at:
|
|
118
118
|
<h3 class="section-bar">Methods</h3>
|
119
119
|
|
120
120
|
<div class="name-list">
|
121
|
-
<a href="#
|
122
|
-
<a href="#
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
121
|
+
<a href="#M000047">add_addition</a>
|
122
|
+
<a href="#M000048">add_additions</a>
|
123
|
+
<a href="#M000050">add_removal</a>
|
124
|
+
<a href="#M000051">add_removals</a>
|
125
|
+
<a href="#M000046">additions</a>
|
126
|
+
<a href="#M000043">new</a>
|
127
|
+
<a href="#M000049">removals</a>
|
128
|
+
<a href="#M000052">submit</a>
|
129
|
+
<a href="#M000045">to_rdf</a>
|
130
|
+
<a href="#M000044">to_s</a>
|
131
131
|
</div>
|
132
132
|
</div>
|
133
133
|
|
@@ -181,11 +181,11 @@ URI of the subject of change for this changeset
|
|
181
181
|
<div id="methods">
|
182
182
|
<h3 class="section-bar">Public Class methods</h3>
|
183
183
|
|
184
|
-
<div id="method-
|
185
|
-
<a name="
|
184
|
+
<div id="method-M000043" class="method-detail">
|
185
|
+
<a name="M000043"></a>
|
186
186
|
|
187
187
|
<div class="method-heading">
|
188
|
-
<a href="#
|
188
|
+
<a href="#M000043" class="method-signature">
|
189
189
|
<span class="method-name">new</span><span class="method-args">(subject_of_change, creator_name=nil, change_reason=nil) {|self if block_given?| ...}</span>
|
190
190
|
</a>
|
191
191
|
</div>
|
@@ -200,8 +200,8 @@ Constructor. Parameter should be the URI of the subject of change
|
|
200
200
|
change_reason:: the reason for the change (optional)
|
201
201
|
</pre>
|
202
202
|
<p><a class="source-toggle" href="#"
|
203
|
-
onclick="toggleCode('
|
204
|
-
<div class="method-source-code" id="
|
203
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
204
|
+
<div class="method-source-code" id="M000043-source">
|
205
205
|
<pre>
|
206
206
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 222</span>
|
207
207
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject_of_change</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -224,11 +224,11 @@ Constructor. Parameter should be the URI of the subject of change
|
|
224
224
|
|
225
225
|
<h3 class="section-bar">Public Instance methods</h3>
|
226
226
|
|
227
|
-
<div id="method-
|
228
|
-
<a name="
|
227
|
+
<div id="method-M000047" class="method-detail">
|
228
|
+
<a name="M000047"></a>
|
229
229
|
|
230
230
|
<div class="method-heading">
|
231
|
-
<a href="#
|
231
|
+
<a href="#M000047" class="method-signature">
|
232
232
|
<span class="method-name">add_addition</span><span class="method-args">(statement)</span>
|
233
233
|
</a>
|
234
234
|
</div>
|
@@ -239,8 +239,8 @@ Include a <a href="Statement.html">Statement</a> in the <a
|
|
239
239
|
href="Changeset.html">Changeset</a> as an addition
|
240
240
|
</p>
|
241
241
|
<p><a class="source-toggle" href="#"
|
242
|
-
onclick="toggleCode('
|
243
|
-
<div class="method-source-code" id="
|
242
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
243
|
+
<div class="method-source-code" id="M000047-source">
|
244
244
|
<pre>
|
245
245
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 281</span>
|
246
246
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_addition</span>(<span class="ruby-identifier">statement</span>)
|
@@ -254,11 +254,11 @@ href="Changeset.html">Changeset</a> as an addition
|
|
254
254
|
</div>
|
255
255
|
</div>
|
256
256
|
|
257
|
-
<div id="method-
|
258
|
-
<a name="
|
257
|
+
<div id="method-M000048" class="method-detail">
|
258
|
+
<a name="M000048"></a>
|
259
259
|
|
260
260
|
<div class="method-heading">
|
261
|
-
<a href="#
|
261
|
+
<a href="#M000048" class="method-signature">
|
262
262
|
<span class="method-name">add_additions</span><span class="method-args">(statements)</span>
|
263
263
|
</a>
|
264
264
|
</div>
|
@@ -266,11 +266,11 @@ href="Changeset.html">Changeset</a> as an addition
|
|
266
266
|
<div class="method-description">
|
267
267
|
<p>
|
268
268
|
Add an array of statements as <a
|
269
|
-
href="Changeset.html#
|
269
|
+
href="Changeset.html#M000046">additions</a>
|
270
270
|
</p>
|
271
271
|
<p><a class="source-toggle" href="#"
|
272
|
-
onclick="toggleCode('
|
273
|
-
<div class="method-source-code" id="
|
272
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
273
|
+
<div class="method-source-code" id="M000048-source">
|
274
274
|
<pre>
|
275
275
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 289</span>
|
276
276
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_additions</span>(<span class="ruby-identifier">statements</span>)
|
@@ -283,11 +283,11 @@ href="Changeset.html#M000040">additions</a>
|
|
283
283
|
</div>
|
284
284
|
</div>
|
285
285
|
|
286
|
-
<div id="method-
|
287
|
-
<a name="
|
286
|
+
<div id="method-M000050" class="method-detail">
|
287
|
+
<a name="M000050"></a>
|
288
288
|
|
289
289
|
<div class="method-heading">
|
290
|
-
<a href="#
|
290
|
+
<a href="#M000050" class="method-signature">
|
291
291
|
<span class="method-name">add_removal</span><span class="method-args">(statement)</span>
|
292
292
|
</a>
|
293
293
|
</div>
|
@@ -298,8 +298,8 @@ Include a <a href="Statement.html">Statement</a> in the <a
|
|
298
298
|
href="Changeset.html">Changeset</a> as a removal
|
299
299
|
</p>
|
300
300
|
<p><a class="source-toggle" href="#"
|
301
|
-
onclick="toggleCode('
|
302
|
-
<div class="method-source-code" id="
|
301
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
302
|
+
<div class="method-source-code" id="M000050-source">
|
303
303
|
<pre>
|
304
304
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 301</span>
|
305
305
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_removal</span>(<span class="ruby-identifier">statement</span>)
|
@@ -313,22 +313,22 @@ href="Changeset.html">Changeset</a> as a removal
|
|
313
313
|
</div>
|
314
314
|
</div>
|
315
315
|
|
316
|
-
<div id="method-
|
317
|
-
<a name="
|
316
|
+
<div id="method-M000051" class="method-detail">
|
317
|
+
<a name="M000051"></a>
|
318
318
|
|
319
319
|
<div class="method-heading">
|
320
|
-
<a href="#
|
320
|
+
<a href="#M000051" class="method-signature">
|
321
321
|
<span class="method-name">add_removals</span><span class="method-args">(statements)</span>
|
322
322
|
</a>
|
323
323
|
</div>
|
324
324
|
|
325
325
|
<div class="method-description">
|
326
326
|
<p>
|
327
|
-
Add an array of statements as <a href="Changeset.html#
|
327
|
+
Add an array of statements as <a href="Changeset.html#M000049">removals</a>
|
328
328
|
</p>
|
329
329
|
<p><a class="source-toggle" href="#"
|
330
|
-
onclick="toggleCode('
|
331
|
-
<div class="method-source-code" id="
|
330
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
331
|
+
<div class="method-source-code" id="M000051-source">
|
332
332
|
<pre>
|
333
333
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 309</span>
|
334
334
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_removals</span>(<span class="ruby-identifier">statements</span>)
|
@@ -341,11 +341,11 @@ Add an array of statements as <a href="Changeset.html#M000043">removals</a>
|
|
341
341
|
</div>
|
342
342
|
</div>
|
343
343
|
|
344
|
-
<div id="method-
|
345
|
-
<a name="
|
344
|
+
<div id="method-M000046" class="method-detail">
|
345
|
+
<a name="M000046"></a>
|
346
346
|
|
347
347
|
<div class="method-heading">
|
348
|
-
<a href="#
|
348
|
+
<a href="#M000046" class="method-signature">
|
349
349
|
<span class="method-name">additions</span><span class="method-args">()</span>
|
350
350
|
</a>
|
351
351
|
</div>
|
@@ -356,8 +356,8 @@ Return the <a href="Statement.html">Statement</a> describing the addition
|
|
356
356
|
in this <a href="Changeset.html">Changeset</a>
|
357
357
|
</p>
|
358
358
|
<p><a class="source-toggle" href="#"
|
359
|
-
onclick="toggleCode('
|
360
|
-
<div class="method-source-code" id="
|
359
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
360
|
+
<div class="method-source-code" id="M000046-source">
|
361
361
|
<pre>
|
362
362
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 276</span>
|
363
363
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">additions</span>()
|
@@ -368,11 +368,11 @@ in this <a href="Changeset.html">Changeset</a>
|
|
368
368
|
</div>
|
369
369
|
</div>
|
370
370
|
|
371
|
-
<div id="method-
|
372
|
-
<a name="
|
371
|
+
<div id="method-M000049" class="method-detail">
|
372
|
+
<a name="M000049"></a>
|
373
373
|
|
374
374
|
<div class="method-heading">
|
375
|
-
<a href="#
|
375
|
+
<a href="#M000049" class="method-signature">
|
376
376
|
<span class="method-name">removals</span><span class="method-args">()</span>
|
377
377
|
</a>
|
378
378
|
</div>
|
@@ -380,12 +380,12 @@ in this <a href="Changeset.html">Changeset</a>
|
|
380
380
|
<div class="method-description">
|
381
381
|
<p>
|
382
382
|
Return the list of Statements describing the <a
|
383
|
-
href="Changeset.html#
|
383
|
+
href="Changeset.html#M000049">removals</a> in this <a
|
384
384
|
href="Changeset.html">Changeset</a>
|
385
385
|
</p>
|
386
386
|
<p><a class="source-toggle" href="#"
|
387
|
-
onclick="toggleCode('
|
388
|
-
<div class="method-source-code" id="
|
387
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
388
|
+
<div class="method-source-code" id="M000049-source">
|
389
389
|
<pre>
|
390
390
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 296</span>
|
391
391
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removals</span>()
|
@@ -396,11 +396,11 @@ href="Changeset.html">Changeset</a>
|
|
396
396
|
</div>
|
397
397
|
</div>
|
398
398
|
|
399
|
-
<div id="method-
|
400
|
-
<a name="
|
399
|
+
<div id="method-M000052" class="method-detail">
|
400
|
+
<a name="M000052"></a>
|
401
401
|
|
402
402
|
<div class="method-heading">
|
403
|
-
<a href="#
|
403
|
+
<a href="#M000052" class="method-signature">
|
404
404
|
<span class="method-name">submit</span><span class="method-args">(store, versioned=false)</span>
|
405
405
|
</a>
|
406
406
|
</div>
|
@@ -413,8 +413,8 @@ Submit this changeset to the specified store
|
|
413
413
|
store:: the store to which the changeset should be applied
|
414
414
|
</pre>
|
415
415
|
<p><a class="source-toggle" href="#"
|
416
|
-
onclick="toggleCode('
|
417
|
-
<div class="method-source-code" id="
|
416
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
417
|
+
<div class="method-source-code" id="M000052-source">
|
418
418
|
<pre>
|
419
419
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 318</span>
|
420
420
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>)
|
@@ -425,11 +425,11 @@ Submit this changeset to the specified store
|
|
425
425
|
</div>
|
426
426
|
</div>
|
427
427
|
|
428
|
-
<div id="method-
|
429
|
-
<a name="
|
428
|
+
<div id="method-M000045" class="method-detail">
|
429
|
+
<a name="M000045"></a>
|
430
430
|
|
431
431
|
<div class="method-heading">
|
432
|
-
<a href="#
|
432
|
+
<a href="#M000045" class="method-signature">
|
433
433
|
<span class="method-name">to_rdf</span><span class="method-args">(include_root=true)</span>
|
434
434
|
</a>
|
435
435
|
</div>
|
@@ -440,8 +440,8 @@ Serialize this changeset as RDF/XML suitable for submitting to the
|
|
440
440
|
Platform.
|
441
441
|
</p>
|
442
442
|
<p><a class="source-toggle" href="#"
|
443
|
-
onclick="toggleCode('
|
444
|
-
<div class="method-source-code" id="
|
443
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
444
|
+
<div class="method-source-code" id="M000045-source">
|
445
445
|
<pre>
|
446
446
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 241</span>
|
447
447
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>(<span class="ruby-identifier">include_root</span>=<span class="ruby-keyword kw">true</span>)
|
@@ -482,19 +482,19 @@ Platform.
|
|
482
482
|
</div>
|
483
483
|
</div>
|
484
484
|
|
485
|
-
<div id="method-
|
486
|
-
<a name="
|
485
|
+
<div id="method-M000044" class="method-detail">
|
486
|
+
<a name="M000044"></a>
|
487
487
|
|
488
488
|
<div class="method-heading">
|
489
|
-
<a href="#
|
489
|
+
<a href="#M000044" class="method-signature">
|
490
490
|
<span class="method-name">to_s</span><span class="method-args">()</span>
|
491
491
|
</a>
|
492
492
|
</div>
|
493
493
|
|
494
494
|
<div class="method-description">
|
495
495
|
<p><a class="source-toggle" href="#"
|
496
|
-
onclick="toggleCode('
|
497
|
-
<div class="method-source-code" id="
|
496
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
497
|
+
<div class="method-source-code" id="M000044-source">
|
498
498
|
<pre>
|
499
499
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 236</span>
|
500
500
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
@@ -93,10 +93,10 @@ href="Changesets.html">Changesets</a> from triple hashes
|
|
93
93
|
<h3 class="section-bar">Methods</h3>
|
94
94
|
|
95
95
|
<div class="name-list">
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
96
|
+
<a href="#M000030">build</a>
|
97
|
+
<a href="#M000029">build_batch</a>
|
98
|
+
<a href="#M000031">create_statements</a>
|
99
|
+
<a href="#M000032">create_statements_for_uri</a>
|
100
100
|
</div>
|
101
101
|
</div>
|
102
102
|
|
@@ -118,11 +118,11 @@ href="Changesets.html">Changesets</a> from triple hashes
|
|
118
118
|
<div id="methods">
|
119
119
|
<h3 class="section-bar">Public Class methods</h3>
|
120
120
|
|
121
|
-
<div id="method-
|
122
|
-
<a name="
|
121
|
+
<div id="method-M000030" class="method-detail">
|
122
|
+
<a name="M000030"></a>
|
123
123
|
|
124
124
|
<div class="method-heading">
|
125
|
-
<a href="#
|
125
|
+
<a href="#M000030" class="method-signature">
|
126
126
|
<span class="method-name">build</span><span class="method-args">(subject_of_change, before, after, creator_name=nil, change_reason=nil)</span>
|
127
127
|
</a>
|
128
128
|
</div>
|
@@ -148,8 +148,8 @@ object.
|
|
148
148
|
change_reason:: description of why the changes are being made
|
149
149
|
</pre>
|
150
150
|
<p><a class="source-toggle" href="#"
|
151
|
-
onclick="toggleCode('
|
152
|
-
<div class="method-source-code" id="
|
151
|
+
onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
|
152
|
+
<div class="method-source-code" id="M000030-source">
|
153
153
|
<pre>
|
154
154
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 65</span>
|
155
155
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">build</span>(<span class="ruby-identifier">subject_of_change</span>, <span class="ruby-identifier">before</span>, <span class="ruby-identifier">after</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -169,11 +169,11 @@ object.
|
|
169
169
|
</div>
|
170
170
|
</div>
|
171
171
|
|
172
|
-
<div id="method-
|
173
|
-
<a name="
|
172
|
+
<div id="method-M000029" class="method-detail">
|
173
|
+
<a name="M000029"></a>
|
174
174
|
|
175
175
|
<div class="method-heading">
|
176
|
-
<a href="#
|
176
|
+
<a href="#M000029" class="method-signature">
|
177
177
|
<span class="method-name">build_batch</span><span class="method-args">(before, after, creator_name=nil, change_reason=nil)</span>
|
178
178
|
</a>
|
179
179
|
</div>
|
@@ -196,8 +196,8 @@ Returns an array of <a href="Changeset.html">Changeset</a> objects
|
|
196
196
|
change_reason:: description of why the changes are being made
|
197
197
|
</pre>
|
198
198
|
<p><a class="source-toggle" href="#"
|
199
|
-
onclick="toggleCode('
|
200
|
-
<div class="method-source-code" id="
|
199
|
+
onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
|
200
|
+
<div class="method-source-code" id="M000029-source">
|
201
201
|
<pre>
|
202
202
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 22</span>
|
203
203
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">build_batch</span>(<span class="ruby-identifier">before</span>, <span class="ruby-identifier">after</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -235,11 +235,11 @@ Returns an array of <a href="Changeset.html">Changeset</a> objects
|
|
235
235
|
</div>
|
236
236
|
</div>
|
237
237
|
|
238
|
-
<div id="method-
|
239
|
-
<a name="
|
238
|
+
<div id="method-M000031" class="method-detail">
|
239
|
+
<a name="M000031"></a>
|
240
240
|
|
241
241
|
<div class="method-heading">
|
242
|
-
<a href="#
|
242
|
+
<a href="#M000031" class="method-signature">
|
243
243
|
<span class="method-name">create_statements</span><span class="method-args">(triples)</span>
|
244
244
|
</a>
|
245
245
|
</div>
|
@@ -253,8 +253,8 @@ href="Statement.html">Pho::Update::Statement</a> objects
|
|
253
253
|
triples:: a resource hash, conforming to RDF-in-JSON structure
|
254
254
|
</pre>
|
255
255
|
<p><a class="source-toggle" href="#"
|
256
|
-
onclick="toggleCode('
|
257
|
-
<div class="method-source-code" id="
|
256
|
+
onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
|
257
|
+
<div class="method-source-code" id="M000031-source">
|
258
258
|
<pre>
|
259
259
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 81</span>
|
260
260
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">create_statements</span>(<span class="ruby-identifier">triples</span>)
|
@@ -269,11 +269,11 @@ href="Statement.html">Pho::Update::Statement</a> objects
|
|
269
269
|
</div>
|
270
270
|
</div>
|
271
271
|
|
272
|
-
<div id="method-
|
273
|
-
<a name="
|
272
|
+
<div id="method-M000032" class="method-detail">
|
273
|
+
<a name="M000032"></a>
|
274
274
|
|
275
275
|
<div class="method-heading">
|
276
|
-
<a href="#
|
276
|
+
<a href="#M000032" class="method-signature">
|
277
277
|
<span class="method-name">create_statements_for_uri</span><span class="method-args">(uri, properties)</span>
|
278
278
|
</a>
|
279
279
|
</div>
|
@@ -288,8 +288,8 @@ provided properties hash
|
|
288
288
|
properties:: hash of predicate-object values
|
289
289
|
</pre>
|
290
290
|
<p><a class="source-toggle" href="#"
|
291
|
-
onclick="toggleCode('
|
292
|
-
<div class="method-source-code" id="
|
291
|
+
onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
|
292
|
+
<div class="method-source-code" id="M000032-source">
|
293
293
|
<pre>
|
294
294
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 94</span>
|
295
295
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">create_statements_for_uri</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">properties</span>)
|