1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* (c) Kitodo. Key to digital objects e.V. <[email protected]> |
5
|
|
|
* |
6
|
|
|
* This file is part of the Kitodo and TYPO3 projects. |
7
|
|
|
* |
8
|
|
|
* @license GNU General Public License version 3 or later. |
9
|
|
|
* For the full copyright and license information, please read the |
10
|
|
|
* LICENSE.txt file that was distributed with this source code. |
11
|
|
|
*/ |
12
|
|
|
|
13
|
|
|
namespace Kitodo\Dlf\Domain\Model; |
14
|
|
|
|
15
|
|
|
class Collection extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject |
16
|
|
|
{ |
17
|
|
|
/** |
18
|
|
|
* @var string |
19
|
|
|
*/ |
20
|
|
|
protected $fe_group; |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @var string |
24
|
|
|
*/ |
25
|
|
|
protected $label; |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* @var string |
29
|
|
|
*/ |
30
|
|
|
protected $indexName; |
31
|
|
|
|
32
|
|
|
/** |
33
|
|
|
* @var string |
34
|
|
|
*/ |
35
|
|
|
protected $indexSearch; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @var string |
39
|
|
|
*/ |
40
|
|
|
protected $oaiName; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @var string |
44
|
|
|
*/ |
45
|
|
|
protected $description; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @var string |
49
|
|
|
*/ |
50
|
|
|
protected $thumbnail; |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* @var int |
54
|
|
|
*/ |
55
|
|
|
protected $priority; |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @var int |
59
|
|
|
*/ |
60
|
|
|
protected $documents; |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @var int |
64
|
|
|
*/ |
65
|
|
|
protected $owner; |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @var int |
69
|
|
|
*/ |
70
|
|
|
protected $status; |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* @return string |
74
|
|
|
*/ |
75
|
|
|
public function getFeGroup(): string |
76
|
|
|
{ |
77
|
|
|
return $this->fe_group; |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* @param string $fe_group |
82
|
|
|
*/ |
83
|
|
|
public function setFeGroup(string $fe_group): void |
84
|
|
|
{ |
85
|
|
|
$this->fe_group = $fe_group; |
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
/** |
89
|
|
|
* @return string |
90
|
|
|
*/ |
91
|
|
|
public function getLabel(): string |
92
|
|
|
{ |
93
|
|
|
return $this->label; |
94
|
|
|
} |
95
|
|
|
|
96
|
|
|
/** |
97
|
|
|
* @param string $label |
98
|
|
|
*/ |
99
|
|
|
public function setLabel(string $label): void |
100
|
|
|
{ |
101
|
|
|
$this->label = $label; |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
/** |
105
|
|
|
* @return string |
106
|
|
|
*/ |
107
|
|
|
public function getIndexName(): string |
108
|
|
|
{ |
109
|
|
|
return $this->indexName; |
110
|
|
|
} |
111
|
|
|
|
112
|
|
|
/** |
113
|
|
|
* @param string $indexName |
114
|
|
|
*/ |
115
|
|
|
public function setIndexName(string $indexName): void |
116
|
|
|
{ |
117
|
|
|
$this->indexName = $indexName; |
118
|
|
|
} |
119
|
|
|
|
120
|
|
|
/** |
121
|
|
|
* @return string |
122
|
|
|
*/ |
123
|
|
|
public function getIndexSearch(): string |
124
|
|
|
{ |
125
|
|
|
return $this->indexSearch; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @param string $indexSearch |
130
|
|
|
*/ |
131
|
|
|
public function setIndexSearch(string $indexSearch): void |
132
|
|
|
{ |
133
|
|
|
$this->indexSearch = $indexSearch; |
134
|
|
|
} |
135
|
|
|
|
136
|
|
|
/** |
137
|
|
|
* @return string |
138
|
|
|
*/ |
139
|
|
|
public function getOaiName(): string |
140
|
|
|
{ |
141
|
|
|
return $this->oaiName; |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* @param string $oaiName |
146
|
|
|
*/ |
147
|
|
|
public function setOaiName(string $oaiName): void |
148
|
|
|
{ |
149
|
|
|
$this->oaiName = $oaiName; |
150
|
|
|
} |
151
|
|
|
|
152
|
|
|
/** |
153
|
|
|
* @return string |
154
|
|
|
*/ |
155
|
|
|
public function getDescription(): string |
156
|
|
|
{ |
157
|
|
|
return $this->description; |
158
|
|
|
} |
159
|
|
|
|
160
|
|
|
/** |
161
|
|
|
* @param string $description |
162
|
|
|
*/ |
163
|
|
|
public function setDescription(string $description): void |
164
|
|
|
{ |
165
|
|
|
$this->description = $description; |
166
|
|
|
} |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* @return string |
170
|
|
|
*/ |
171
|
|
|
public function getThumbnail(): string |
172
|
|
|
{ |
173
|
|
|
return $this->thumbnail; |
174
|
|
|
} |
175
|
|
|
|
176
|
|
|
/** |
177
|
|
|
* @param string $thumbnail |
178
|
|
|
*/ |
179
|
|
|
public function setThumbnail(string $thumbnail): void |
180
|
|
|
{ |
181
|
|
|
$this->thumbnail = $thumbnail; |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
/** |
185
|
|
|
* @return int |
186
|
|
|
*/ |
187
|
|
|
public function getPriority(): int |
188
|
|
|
{ |
189
|
|
|
return $this->priority; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
/** |
193
|
|
|
* @param int $priority |
194
|
|
|
*/ |
195
|
|
|
public function setPriority(int $priority): void |
196
|
|
|
{ |
197
|
|
|
$this->priority = $priority; |
198
|
|
|
} |
199
|
|
|
|
200
|
|
|
/** |
201
|
|
|
* @return int |
202
|
|
|
*/ |
203
|
|
|
public function getDocuments(): int |
204
|
|
|
{ |
205
|
|
|
return $this->documents; |
206
|
|
|
} |
207
|
|
|
|
208
|
|
|
/** |
209
|
|
|
* @param int $documents |
210
|
|
|
*/ |
211
|
|
|
public function setDocuments(int $documents): void |
212
|
|
|
{ |
213
|
|
|
$this->documents = $documents; |
214
|
|
|
} |
215
|
|
|
|
216
|
|
|
/** |
217
|
|
|
* @return int |
218
|
|
|
*/ |
219
|
|
|
public function getOwner(): int |
220
|
|
|
{ |
221
|
|
|
return $this->owner; |
222
|
|
|
} |
223
|
|
|
|
224
|
|
|
/** |
225
|
|
|
* @param int $owner |
226
|
|
|
*/ |
227
|
|
|
public function setOwner(int $owner): void |
228
|
|
|
{ |
229
|
|
|
$this->owner = $owner; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* @return int |
234
|
|
|
*/ |
235
|
|
|
public function getStatus(): int |
236
|
|
|
{ |
237
|
|
|
return $this->status; |
238
|
|
|
} |
239
|
|
|
|
240
|
|
|
/** |
241
|
|
|
* @param int $status |
242
|
|
|
*/ |
243
|
|
|
public function setStatus(int $status): void |
244
|
|
|
{ |
245
|
|
|
$this->status = $status; |
246
|
|
|
} |
247
|
|
|
|
248
|
|
|
} |
249
|
|
|
|