6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# File 'lib/collectionspace/client/batch.rb', line 6
def self.all
[
{
name: "Update Current Location",
notes: "Recompute the current location of Object records, based on the " \
"related Location/Movement/Inventory records. Runs on a single record " \
"or all records.",
doctype: %w[CollectionObject],
supports_single_doc: "true",
supports_doc_list: "false",
supports_group: "false",
supports_no_context: "true",
creates_new_focus: "false",
classname:
"org.collectionspace.services.batch.nuxeo.UpdateObjectLocationBatchJob"
},
{
name: "Update Inventory Status",
notes: "Set the inventory status of selected Object records. Runs on a " \
"record list only.",
doctype: %w[CollectionObject],
supports_single_doc: "false",
supports_doc_list: "true",
supports_group: "false",
supports_no_context: "false",
creates_new_focus: "false",
classname:
"org.collectionspace.services.batch.nuxeo.UpdateInventoryStatusBatchJob"
},
{
name: "Merge Authority Items",
notes: "Merge an authority item into a target, and update all " \
"referencing records. Runs on a single record only.",
doctype: %w[],
supports_single_doc: "true",
supports_doc_list: "false",
supports_group: "false",
supports_no_context: "false",
creates_new_focus: "false",
classname:
"org.collectionspace.services.batch.nuxeo.MergeAuthorityItemsBatchJob"
}
]
end
|