18.01.2015 Views

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.2.3.2 getDescendants<br />

Description: Gets the set of descendant objects contained in the specified folder or any of its child-folders.<br />

Notes:<br />

• This operation does NOT support paging as defined in the 2.2.<strong>1.1</strong> Paging section.<br />

• The order in which results are returned is respository-specific.<br />

• If the repository supports the optional capability capability<strong>Version</strong>SpecificFiling, then the<br />

repository MUST return the document versions filed in the specified folder or its descendant folders.<br />

Otherwise, the latest version or latest major version of the documents MUST be returned.<br />

• If the repository supports the optional capability capabilityMultifiling and the same document<br />

is encountered multiple times in the hierarchy, then the repository MUST return that document each<br />

time it is encountered.<br />

2.2.3.2.1 Inputs<br />

Required:<br />

• Id repositoryId: The identifier for the repository.<br />

• Id folderId: The identifier for the folder.<br />

Optional:<br />

• Integer depth:<br />

Valid values are:<br />

The number of levels of depth in the folder hierarchy from which to return results.<br />

1 Return only objects that are children of the folder. See also getChildren.<br />

Return only objects that are children of the folder and descendants<br />

up to levels deep.<br />

-1 Return ALL descendant objects at all depth levels in the <strong>CMIS</strong> hierarchy.<br />

The default value is repository specific and SHOULD be at least 2 or -1.<br />

• String filter: See section 2.2.1.2.1 Properties.<br />

• Enum includeRelationships: See section 2.2.1.2.2 Relationships.<br />

• String renditionFilter: See section 2.2.1.2.4 Renditions.<br />

• Boolean includeAllowableActions: See section 2.2.1.2.6 Allowable Actions.<br />

• Boolean includePathSegment: If TRUE, returns a PathSegment for each child object for use in<br />

constructing that object's path. Defaults to FALSE. See section 2.1.5.3 Paths.<br />

2.2.3.2.2 Outputs<br />

• objects objects: A tree of the child objects for the specified folder. Each object result<br />

MUST include the following elements if they are requested:<br />

Properties See section 2.2.1.2.1 Properties.<br />

Relationships See section 2.2.1.2.2 Relationships.<br />

Renditions See section 2.2.1.2.4 Renditions.<br />

AllowableActions See section 2.2.1.2.6 Allowable Actions.<br />

PathSegment If includePathSegment was TRUE. See section 2.1.5.3 Paths.<br />

<strong>CMIS</strong>-v<strong>1.1</strong>-csprd01<br />

Standards Track Work Product<br />

Copyright © OASIS Open 2012. All Rights Reserved.<br />

18 August 2012<br />

Page 146 of 331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!