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.7.3 checkIn<br />

Description: Checks-in the Private Working Copy document. See section 2.<strong>1.1</strong>3.5.4 Checkin.<br />

Notes:<br />

• For repositories that do NOT support the optional capabilityPWCUpdatable capability, the properties<br />

and contentStream input parameters MUST be provided on the checkIn service for updates<br />

to happen as part of checkIn.<br />

• Each <strong>CMIS</strong> protocol binding MUST specify whether the checkin service MUST always include all<br />

updatable properties, or only those properties whose values are different than the original value of the<br />

object.<br />

2.2.7.3.1 Inputs<br />

Required:<br />

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

• Id objectId: The identifier for the Private Working Copy.<br />

Optional:<br />

• Boolean major: TRUE (default) if the checked-in document object MUST be a major version.<br />

FALSE if the checked-in document object MUST NOT be a major version but a minor version.<br />

The property values that MUST be applied to the checked-in doc-<br />

• Property properties:<br />

ument object.<br />

• contentStream: The content stream that MUST be stored for the checked-in<br />

document object. The method of passing the contentStream to the server and the encoding mechanism<br />

will be specified by each specific binding. MUST be required if the type requires it.<br />

• String checkinComment: See section 2.<strong>1.1</strong>3.6 <strong>Version</strong>ing Properties on Document Objects.<br />

• Id policies:<br />

object.<br />

A list of policy ids that MUST be applied to the newly-created document<br />

• ACE addACEs: A list of ACEs that MUST be added to the newly-created document object.<br />

• ACE removeACEs: A list of ACEs that MUST be removed from the newly-created document<br />

object.<br />

2.2.7.3.2 Outputs<br />

• Id objectId: The id of the checked-in document.<br />

2.2.7.3.3 Exceptions Thrown & Conditions<br />

• See section 2.2.1.4.1 General Exceptions.<br />

• constraint if the object is not a Private Working Copy.<br />

• storage See section 2.2.1.4.2 Specific Exceptions.<br />

• updateConflict See section 2.2.1.4.2 Specific Exceptions.<br />

• streamNotSupported See section 2.2.1.4.2 Specific Exceptions.<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 187 of 331

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

Saved successfully!

Ooh no, something went wrong!