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.2.4 getTypeDescendants<br />

Description: Returns the set of the descendant object-types defined for the Repository under the specified<br />

type.<br />

Notes:<br />

• This method 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 />

2.2.2.4.1 Inputs<br />

Required:<br />

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

Optional:<br />

• Id typeId: The typeId of an object-type specified in the repository.<br />

– If specified, then the repository MUST return all of descendant types of the specified type.<br />

– If not specified, then the Repository MUST return all types and MUST ignore the value of the<br />

depth parameter.<br />

• Integer depth: The number of levels of depth in the type hierarchy from which to return results. Valid<br />

values are:<br />

1 Return only types that are children of the type. See also getTypeChildren.<br />

Return only types that are children of the type and descendants up<br />

to levels deep.<br />

-1 Return ALL descendant types 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 />

• Boolean includePropertyDefinitions: If TRUE, then the repository MUST return the property<br />

definitions for each object-type. If FALSE (default), the repository MUST return only the attributes for<br />

each object-type.<br />

2.2.2.4.2 Outputs<br />

• Object-Type types: The hierarchy of object-types defined for the repository.<br />

2.2.2.4.3 Exceptions Thrown & Conditions<br />

• See section 2.2.1.4.1 General Exceptions.<br />

• invalidArgument If the service is invoked with "depth = 0" or "depth < -1".<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 139 of 331

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

Saved successfully!

Ooh no, something went wrong!