|
@@ 361-376 (lines=16) @@
|
| 358 |
|
* @return TreeInterface A tree that contains FileableCmisObject objects |
| 359 |
|
* @see FileableCmisObject FileableCmisObject contained in returned TreeInterface |
| 360 |
|
*/ |
| 361 |
|
public function getDescendants($depth, OperationContextInterface $context = null) |
| 362 |
|
{ |
| 363 |
|
$context = $this->ensureContext($context); |
| 364 |
|
$containerList = $this->getBinding()->getNavigationService()->getDescendants( |
| 365 |
|
$this->getRepositoryId(), |
| 366 |
|
$this->getId(), |
| 367 |
|
(int) $depth, |
| 368 |
|
$context->getQueryFilterString(), |
| 369 |
|
$context->isIncludeAllowableActions(), |
| 370 |
|
$context->getIncludeRelationships(), |
| 371 |
|
$context->getRenditionFilterString(), |
| 372 |
|
$context->isIncludePathSegments() |
| 373 |
|
); |
| 374 |
|
|
| 375 |
|
return $this->convertBindingContainer($containerList, $context); |
| 376 |
|
} |
| 377 |
|
|
| 378 |
|
/** |
| 379 |
|
* Gets the parent folder object. |
|
@@ 417-432 (lines=16) @@
|
| 414 |
|
* @return TreeInterface A tree that contains FileableCmisObject objects |
| 415 |
|
* @see FileableCmisObject FileableCmisObject contained in returned TreeInterface |
| 416 |
|
*/ |
| 417 |
|
public function getFolderTree($depth, OperationContextInterface $context = null) |
| 418 |
|
{ |
| 419 |
|
$context = $this->ensureContext($context); |
| 420 |
|
$containerList = $this->getBinding()->getNavigationService()->getFolderTree( |
| 421 |
|
$this->getRepositoryId(), |
| 422 |
|
$this->getId(), |
| 423 |
|
(int) $depth, |
| 424 |
|
$context->getQueryFilterString(), |
| 425 |
|
$context->isIncludeAllowableActions(), |
| 426 |
|
$context->getIncludeRelationships(), |
| 427 |
|
$context->getRenditionFilterString(), |
| 428 |
|
$context->isIncludePathSegments() |
| 429 |
|
); |
| 430 |
|
|
| 431 |
|
return $this->convertBindingContainer($containerList, $context); |
| 432 |
|
} |
| 433 |
|
|
| 434 |
|
/** |
| 435 |
|
* Returns the path of the folder. |