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.7 updateType<br />

Description: Updates a type definition.<br />

Notes: If you add an optional property to a type in error. There is no way to remove it/correct it - without<br />

deleting the type. See section 2.<strong>1.1</strong>0 Object-Type Creation, Modification and Deletion for further details.<br />

2.2.2.7.1 Inputs<br />

Required:<br />

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

• Object-Type type: A type definition object with the property definitions that are to change. Repositories<br />

MUST ignore all fields in the type definition except for the type id and the list of properties.<br />

Properties that are not changing MUST NOT be included, including any inherited property definitions.<br />

For the properties that are being included, an entire copy of the property definition should be present<br />

(with the exception of the choice values – see special note), even values that are not changing.<br />

Special note about choice values. There are only two types of changes permitted.<br />

– New choice added to the list.<br />

– Changing the displayname for an existing choice.<br />

For any choice that is being added or having its display name changed, both the displayName and<br />

value MUST be present.<br />

2.2.2.7.2 Outputs<br />

• Object-Type type: The updated object-type including all property definitions. See sections 2.1.3 Object-<br />

Type and 2.<strong>1.1</strong>0 Object-Type Creation, Modification and Deletion for further details.<br />

2.2.2.7.3 Exceptions Thrown & Conditions<br />

• See section 2.2.1.4.1 General Exceptions.<br />

• constraint If the rules listed in section 2.<strong>1.1</strong>0 Object-Type Creation, Modification and Deletion are<br />

not obeyed.<br />

• constraint If the property definitions violate repository specifc rules.<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 142 of 331

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

Saved successfully!

Ooh no, something went wrong!