| @@ 259-271 (lines=13) @@ | ||
| 256 | * |
|
| 257 | * @return \eZ\Publish\API\Repository\ContentTypeService |
|
| 258 | */ |
|
| 259 | public function getContentTypeService() |
|
| 260 | { |
|
| 261 | if (null === $this->contentTypeService) { |
|
| 262 | $this->contentTypeService = new ContentTypeService( |
|
| 263 | $this->client, |
|
| 264 | $this->inputDispatcher, |
|
| 265 | $this->outputVisitor, |
|
| 266 | $this->requestParser |
|
| 267 | ); |
|
| 268 | } |
|
| 269 | ||
| 270 | return $this->contentTypeService; |
|
| 271 | } |
|
| 272 | ||
| 273 | /** |
|
| 274 | * Get Content Location Service. |
|
| @@ 280-292 (lines=13) @@ | ||
| 277 | * |
|
| 278 | * @return \eZ\Publish\API\Repository\LocationService |
|
| 279 | */ |
|
| 280 | public function getLocationService() |
|
| 281 | { |
|
| 282 | if (null === $this->locationService) { |
|
| 283 | $this->locationService = new LocationService( |
|
| 284 | $this->client, |
|
| 285 | $this->inputDispatcher, |
|
| 286 | $this->outputVisitor, |
|
| 287 | $this->requestParser |
|
| 288 | ); |
|
| 289 | } |
|
| 290 | ||
| 291 | return $this->locationService; |
|
| 292 | } |
|
| 293 | ||
| 294 | /** |
|
| 295 | * Get Content Trash service. |
|
| @@ 324-336 (lines=13) @@ | ||
| 321 | * |
|
| 322 | * @return \eZ\Publish\API\Repository\SectionService |
|
| 323 | */ |
|
| 324 | public function getSectionService() |
|
| 325 | { |
|
| 326 | if (null === $this->sectionService) { |
|
| 327 | $this->sectionService = new SectionService( |
|
| 328 | $this->client, |
|
| 329 | $this->inputDispatcher, |
|
| 330 | $this->outputVisitor, |
|
| 331 | $this->requestParser |
|
| 332 | ); |
|
| 333 | } |
|
| 334 | ||
| 335 | return $this->sectionService; |
|
| 336 | } |
|
| 337 | ||
| 338 | /** |
|
| 339 | * Get Search Service. |
|
| @@ 357-369 (lines=13) @@ | ||
| 354 | * |
|
| 355 | * @return \eZ\Publish\API\Repository\UserService |
|
| 356 | */ |
|
| 357 | public function getUserService() |
|
| 358 | { |
|
| 359 | if (null === $this->userService) { |
|
| 360 | $this->userService = new UserService( |
|
| 361 | $this->client, |
|
| 362 | $this->inputDispatcher, |
|
| 363 | $this->outputVisitor, |
|
| 364 | $this->requestParser |
|
| 365 | ); |
|
| 366 | } |
|
| 367 | ||
| 368 | return $this->userService; |
|
| 369 | } |
|
| 370 | ||
| 371 | /** |
|
| 372 | * Get IO Service. |
|
| @@ 378-390 (lines=13) @@ | ||
| 375 | * |
|
| 376 | * @return \eZ\Publish\API\Repository\IOService |
|
| 377 | */ |
|
| 378 | public function getIOService() |
|
| 379 | { |
|
| 380 | if (null === $this->ioService) { |
|
| 381 | $this->ioService = new IOService( |
|
| 382 | $this->client, |
|
| 383 | $this->inputDispatcher, |
|
| 384 | $this->outputVisitor, |
|
| 385 | $this->requestParser |
|
| 386 | ); |
|
| 387 | } |
|
| 388 | ||
| 389 | return $this->ioService; |
|
| 390 | } |
|
| 391 | ||
| 392 | /** |
|
| 393 | * Get RoleService. |
|
| @@ 397-410 (lines=14) @@ | ||
| 394 | * |
|
| 395 | * @return \eZ\Publish\API\Repository\RoleService |
|
| 396 | */ |
|
| 397 | public function getRoleService() |
|
| 398 | { |
|
| 399 | if (null === $this->roleService) { |
|
| 400 | $this->roleService = new RoleService( |
|
| 401 | $this->getUserService(), |
|
| 402 | $this->client, |
|
| 403 | $this->inputDispatcher, |
|
| 404 | $this->outputVisitor, |
|
| 405 | $this->requestParser |
|
| 406 | ); |
|
| 407 | } |
|
| 408 | ||
| 409 | return $this->roleService; |
|
| 410 | } |
|
| 411 | ||
| 412 | /** |
|
| 413 | * Get URLAliasService. |
|
| @@ 417-429 (lines=13) @@ | ||
| 414 | * |
|
| 415 | * @return \eZ\Publish\API\Repository\URLAliasService |
|
| 416 | */ |
|
| 417 | public function getURLAliasService() |
|
| 418 | { |
|
| 419 | if (null === $this->urlAliasService) { |
|
| 420 | $this->urlAliasService = new URLAliasService( |
|
| 421 | $this->client, |
|
| 422 | $this->inputDispatcher, |
|
| 423 | $this->outputVisitor, |
|
| 424 | $this->requestParser |
|
| 425 | ); |
|
| 426 | } |
|
| 427 | ||
| 428 | return $this->urlAliasService; |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * Get URLWildcardService. |
|
| @@ 446-458 (lines=13) @@ | ||
| 443 | * |
|
| 444 | * @return \eZ\Publish\API\Repository\ObjectStateService |
|
| 445 | */ |
|
| 446 | public function getObjectStateService() |
|
| 447 | { |
|
| 448 | if (null === $this->objectStateService) { |
|
| 449 | $this->objectStateService = new ObjectStateService( |
|
| 450 | $this->client, |
|
| 451 | $this->inputDispatcher, |
|
| 452 | $this->outputVisitor, |
|
| 453 | $this->requestParser |
|
| 454 | ); |
|
| 455 | } |
|
| 456 | ||
| 457 | return $this->objectStateService; |
|
| 458 | } |
|
| 459 | ||
| 460 | /** |
|
| 461 | * Get FieldTypeService. |
|