1 | <?php |
||
27 | class RepositoryCapabilities extends AbstractExtensionData implements RepositoryCapabilitiesInterface |
||
28 | { |
||
29 | /** |
||
30 | * @var boolean |
||
31 | */ |
||
32 | protected $supportsAllVersionsSearchable = false; |
||
33 | |||
34 | /** |
||
35 | * @var CapabilityAcl |
||
36 | */ |
||
37 | protected $aclCapability; |
||
38 | |||
39 | /** |
||
40 | * @var CapabilityChanges |
||
41 | */ |
||
42 | protected $changesCapability; |
||
43 | |||
44 | /** |
||
45 | * @var CapabilityContentStreamUpdates |
||
46 | */ |
||
47 | protected $contentStreamUpdatesCapability; |
||
48 | |||
49 | /** |
||
50 | * @var CapabilityJoin |
||
51 | */ |
||
52 | protected $joinCapability; |
||
53 | |||
54 | /** |
||
55 | * @var CapabilityQuery |
||
56 | */ |
||
57 | protected $queryCapability; |
||
58 | |||
59 | /** |
||
60 | * @var CapabilityRenditions |
||
61 | */ |
||
62 | protected $renditionsCapability; |
||
63 | |||
64 | /** |
||
65 | * @var boolean |
||
66 | */ |
||
67 | protected $isPwcSearchable = false; |
||
68 | |||
69 | /** |
||
70 | * @var boolean |
||
71 | */ |
||
72 | protected $isPwcUpdatable = false; |
||
73 | |||
74 | /** |
||
75 | * @var boolean |
||
76 | */ |
||
77 | protected $supportsGetDescendants = false; |
||
78 | |||
79 | /** |
||
80 | * @var boolean |
||
81 | */ |
||
82 | protected $supportsGetFolderTree = false; |
||
83 | |||
84 | /** |
||
85 | * @var CapabilityOrderBy |
||
86 | */ |
||
87 | protected $orderByCapability; |
||
88 | |||
89 | /** |
||
90 | * @var boolean |
||
91 | */ |
||
92 | protected $supportsMultifiling = false; |
||
93 | |||
94 | /** |
||
95 | * @var boolean |
||
96 | */ |
||
97 | protected $supportsUnfiling = false; |
||
98 | |||
99 | /** |
||
100 | * @var boolean |
||
101 | */ |
||
102 | protected $supportsVersionSpecificFiling = false; |
||
103 | |||
104 | /** |
||
105 | * @var CreatablePropertyTypesInterface|null |
||
106 | */ |
||
107 | protected $creatablePropertyTypes; |
||
108 | |||
109 | /** |
||
110 | * @var NewTypeSettableAttributesInterface|null |
||
111 | */ |
||
112 | protected $newTypeSettableAttributes; |
||
113 | |||
114 | /** |
||
115 | * Constructor that sets some defaults |
||
116 | */ |
||
117 | 91 | public function __construct() |
|
129 | |||
130 | /** |
||
131 | * @return CapabilityAcl |
||
132 | */ |
||
133 | 1 | public function getAclCapability() |
|
137 | |||
138 | /** |
||
139 | * @param CapabilityAcl $aclCapability |
||
140 | */ |
||
141 | 91 | public function setAclCapability(CapabilityAcl $aclCapability) |
|
145 | |||
146 | /** |
||
147 | * @return boolean |
||
148 | */ |
||
149 | 1 | public function isAllVersionsSearchableSupported() |
|
153 | |||
154 | /** |
||
155 | * @param boolean $supportsAllVersionsSearchable |
||
156 | */ |
||
157 | 10 | public function setSupportsAllVersionsSearchable($supportsAllVersionsSearchable) |
|
161 | |||
162 | /** |
||
163 | * @return CapabilityChanges |
||
164 | */ |
||
165 | 1 | public function getChangesCapability() |
|
169 | |||
170 | /** |
||
171 | * @param CapabilityChanges $changesCapability |
||
172 | */ |
||
173 | 91 | public function setChangesCapability(CapabilityChanges $changesCapability) |
|
177 | |||
178 | /** |
||
179 | * @return CapabilityContentStreamUpdates |
||
180 | */ |
||
181 | 1 | public function getContentStreamUpdatesCapability() |
|
185 | |||
186 | /** |
||
187 | * @param CapabilityContentStreamUpdates $contentStreamUpdatesCapability |
||
188 | */ |
||
189 | 91 | public function setContentStreamUpdatesCapability(CapabilityContentStreamUpdates $contentStreamUpdatesCapability) |
|
193 | |||
194 | /** |
||
195 | * @return CreatablePropertyTypesInterface|null |
||
196 | */ |
||
197 | 1 | public function getCreatablePropertyTypes() |
|
201 | |||
202 | /** |
||
203 | * @param CreatablePropertyTypesInterface $creatablePropertyTypes |
||
204 | */ |
||
205 | 3 | public function setCreatablePropertyTypes(CreatablePropertyTypesInterface $creatablePropertyTypes) |
|
209 | |||
210 | /** |
||
211 | * @return boolean |
||
212 | */ |
||
213 | 1 | public function isPwcSearchableSupported() |
|
217 | |||
218 | /** |
||
219 | * @param boolean $isPwcSearchable |
||
220 | */ |
||
221 | 10 | public function setSupportsPwcSearchable($isPwcSearchable) |
|
225 | |||
226 | /** |
||
227 | * @return boolean |
||
228 | */ |
||
229 | 1 | public function isPwcUpdatableSupported() |
|
233 | |||
234 | /** |
||
235 | * @param boolean $isPwcUpdatable |
||
236 | */ |
||
237 | 10 | public function setSupportsPwcUpdatable($isPwcUpdatable) |
|
241 | |||
242 | /** |
||
243 | * @return CapabilityJoin |
||
244 | */ |
||
245 | 1 | public function getJoinCapability() |
|
249 | |||
250 | /** |
||
251 | * @param CapabilityJoin $joinCapability |
||
252 | */ |
||
253 | 91 | public function setJoinCapability(CapabilityJoin $joinCapability) |
|
257 | |||
258 | /** |
||
259 | * @return NewTypeSettableAttributesInterface|null |
||
260 | */ |
||
261 | 1 | public function getNewTypeSettableAttributes() |
|
265 | |||
266 | /** |
||
267 | * @param NewTypeSettableAttributesInterface $newTypeSettableAttributes |
||
268 | */ |
||
269 | 3 | public function setNewTypeSettableAttributes(NewTypeSettableAttributesInterface $newTypeSettableAttributes) |
|
273 | |||
274 | /** |
||
275 | * @return CapabilityOrderBy |
||
276 | */ |
||
277 | 1 | public function getOrderByCapability() |
|
281 | |||
282 | /** |
||
283 | * @param CapabilityOrderBy $orderByCapability |
||
284 | */ |
||
285 | 91 | public function setOrderByCapability(CapabilityOrderBy $orderByCapability) |
|
289 | |||
290 | /** |
||
291 | * @return CapabilityQuery |
||
292 | */ |
||
293 | 1 | public function getQueryCapability() |
|
297 | |||
298 | /** |
||
299 | * @param CapabilityQuery $queryCapability |
||
300 | */ |
||
301 | 91 | public function setQueryCapability(CapabilityQuery $queryCapability) |
|
305 | |||
306 | /** |
||
307 | * @return CapabilityRenditions |
||
308 | */ |
||
309 | 1 | public function getRenditionsCapability() |
|
313 | |||
314 | /** |
||
315 | * @param CapabilityRenditions $renditionsCapability |
||
316 | */ |
||
317 | 91 | public function setRenditionsCapability(CapabilityRenditions $renditionsCapability) |
|
321 | |||
322 | /** |
||
323 | * @return boolean |
||
324 | */ |
||
325 | 1 | public function isGetDescendantsSupported() |
|
329 | |||
330 | /** |
||
331 | * @param boolean $supportsGetDescendants |
||
332 | */ |
||
333 | 10 | public function setSupportsGetDescendants($supportsGetDescendants) |
|
337 | |||
338 | /** |
||
339 | * @return boolean |
||
340 | */ |
||
341 | 1 | public function isGetFolderTreeSupported() |
|
345 | |||
346 | /** |
||
347 | * @param boolean $supportsGetFolderTree |
||
348 | */ |
||
349 | 10 | public function setSupportsGetFolderTree($supportsGetFolderTree) |
|
353 | |||
354 | /** |
||
355 | * @return boolean |
||
356 | */ |
||
357 | 1 | public function isMultifilingSupported() |
|
361 | |||
362 | /** |
||
363 | * @param boolean $supportsMultifiling |
||
364 | */ |
||
365 | 10 | public function setSupportsMultifiling($supportsMultifiling) |
|
369 | |||
370 | /** |
||
371 | * @return boolean |
||
372 | */ |
||
373 | 1 | public function isUnfilingSupported() |
|
377 | |||
378 | /** |
||
379 | * @param boolean $supportsUnfiling |
||
380 | */ |
||
381 | 10 | public function setSupportsUnfiling($supportsUnfiling) |
|
385 | |||
386 | /** |
||
387 | * @return boolean |
||
388 | */ |
||
389 | 1 | public function isVersionSpecificFilingSupported() |
|
393 | |||
394 | /** |
||
395 | * @param boolean $supportsVersionSpecificFiling |
||
396 | */ |
||
397 | 10 | public function setSupportsVersionSpecificFiling($supportsVersionSpecificFiling) |
|
401 | } |
||
402 |