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.<strong>1.1</strong>3.5.3 Discarding Check out<br />

An authorized user MAY discard the check-out using the cancelCheckOut service on the PWC object or<br />

by using the deleteObject service on the PWC object. The effects of discarding a check-out MUST be<br />

as follows:<br />

• The PWC Object MUST be deleted.<br />

• For all other documents in the version series:<br />

– The value of the cmis:is<strong>Version</strong>SeriesCheckedOut property MUST be FALSE.<br />

– The value of the cmis:versionSeriesCheckedOutBy property MUST be "not set".<br />

– The value of the cmis:versionSeriesCheckedOutId property MUST be "not set".<br />

– The repository MUST allow authorized users to invoke the checkOut service.<br />

2.<strong>1.1</strong>3.5.4 Checkin<br />

An authorized user MAY "check in" the Private Working Copy object via the checkIn service.<br />

The checkIn service allows users to provide update property values and a content stream for the PWC<br />

object.<br />

The effects of the checkIn service MUST be as follows for successful checkins:<br />

• The PWC object MUST be updated as specified by the inputs to the checkIn service. (Note that<br />

for repositories that do NOT support the "PWCUpdatable" property, this is the only way to update the<br />

PWC object.)<br />

• The document object resulting from the checkIn service MUST be considered the latest version in<br />

the version series.<br />

• If the inputs to the checkIn service specified that the PWC MUST be a "major version", then the newly<br />

created version MUST be considered the latest major version in the version series.<br />

• If the check-in returns a new cmis:objectId, then the PWC object MUST disappear if the checkIn<br />

call was successful and the new checked in version will use the new specified id.<br />

• For all documents in the version series:<br />

– The value of the cmis:is<strong>Version</strong>SeriesCheckedOut property MUST be FALSE.<br />

– The value of the cmis:versionSeriesCheckedOutBy property MUST be "not set".<br />

– The value of the cmis:versionSeriesCheckedOutId property MUST be "not set".<br />

– The repository MUST allow authorized users to invoke the checkOut service.<br />

Note: A repository MAY automatically create new versions of document objects without an explicit invocation<br />

of the checkOut/checkIn services.<br />

2.<strong>1.1</strong>3.6 <strong>Version</strong>ing Properties on Document Objects<br />

All document objects will have the following read-only property values pertaining to versioning:<br />

cmis:isPrivateWorkingCopy<br />

Boolean<br />

TRUE if the document object is a Private Working Copy. FALSE otherwise.<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 97 of 331

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

Saved successfully!

Ooh no, something went wrong!