Class: CollectionSpace::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/collectionspace/client/report.rb

Overview

CollectionSpace report

Class Method Summary collapse

Class Method Details

.allObject



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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'lib/collectionspace/client/report.rb', line 6

def self.all
  [
    {
      name: "Acquisition Summary",
      notes: "An acquisition summary report. Runs on a single record only.",
      doctype: "Acquisition",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "acq_basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Acquisition Basic List",
      notes: "Catalog info for objects related to an acquisition record. Runs on a single record only.",
      doctype: "Acquisition",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "Acq_List_Basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Condition Check Basic List",
      notes: "Catalog info for objects related to a condition check record. Runs on a single record only.",
      doctype: "Conditioncheck",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "CC_List_Basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Exhibition Basic List",
      notes: "Catalog info for objects related to a exhibition record. Runs on a single record only.",
      doctype: "Exhibition",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "Exhibition_List_Basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Group Basic List",
      notes: "Catalog info for objects related to a group record. Runs on a single record only.",
      doctype: "Group",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "Group_List_Basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Loan In Basic List",
      notes: "Catalog info for objects related to a loan in record. Runs on a single record only.",
      doctype: "Loanin",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "LoansIn_List_Basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Loan Out Basic List",
      notes: "Catalog info for objects related to a loan out record. Runs on a single record only.",
      doctype: "Loanout",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "LoansOut_List_Basic.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Acquisition Ethnographic Object List",
      notes: "Core acquisition report. Runs on a single record only.",
      doctype: "Acquisition",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "coreAcquisition.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Group Object Ethnographic Object List",
      notes: "Core group object report. Runs on a single record only.",
      doctype: "Group",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "coreGroupObject.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Intake Ethnographic Object List",
      notes: "Core intake report. Runs on a single record only.",
      doctype: "Intake",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "coreIntake.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Loan In Ethnographic Object List",
      notes: "Core loan in report. Runs on a single record only.",
      doctype: "Loanin",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "coreLoanIn.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Loan Out Ethnographic Object List",
      notes: "Core loan out report. Runs on a single record only.",
      doctype: "Loanout",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "coreLoanOut.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Object Exit Ethnographic Object List",
      notes: "Core object exit report. Runs on a single record only.",
      doctype: "ObjectExit",
      supports_single_doc: "true",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "false",
      filename: "coreObjectExit.jrxml",
      mimetype: "application/pdf"
    },
    {
      name: "Object Valuation",
      notes: "Returns latest valuation information for selected objects",
      doctype: "CollectionObject",
      supports_single_doc: "false",
      supports_doc_list: "true",
      supports_group: "false",
      supports_no_context: "true",
      filename: "object_valuation.jrxml",
      mimetype: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
    },
    {
      name: "Systematic Inventory",
      notes: "Generate a checklist for performing an inventory on a range of storage locations. Runs on all records, using the provided start and end locations.",
      doctype: "Locationitem",
      supports_single_doc: "false",
      supports_doc_list: "false",
      supports_group: "false",
      supports_no_context: "true",
      filename: "systematicInventory.jrxml",
      mimetype: "application/pdf"
    }
  ]
end

.find(key, value) ⇒ Object



176
177
178
# File 'lib/collectionspace/client/report.rb', line 176

def self.find(key, value)
  all.find { |report| report[key] == value }
end