Sometimes, when you are working with documents in a team, it is useful to be able to check out and lock a document so that other people cannot update it at the same time as you. This can be accomplished by using the checkOut
service call from the
versioning services. When you have finished editing the so-called working copy, it can be checked in with the
checkIn
service call, which creates a new version and updates the version label.
The physical content of a document might not be updateable in the particular repository that you are using. To find out if an object's content is updateable, check the value of the capabilityContentStreamUpdatability
property. This property is returned in the getRepositoryInfo
service call in the capabilities sections.