8.2.5 Check In

To create a new version of a versionable node N, the application calls N.checkin. If N is already checked-in, this method has no effect but simply returns the current base version of this node. If N is not versionable then a UnsupportedRepositoryOperationException is thrown. Otherwise, the following preconditions must hold:

Given these preconditions, N.checkin will cause the following series of events:

This method acts directly on the workspace and the version storage. All changes are persisted immediately. There is no need to call save.