public Document checkin(Document document, boolean majorVersion,
ContentFile file, Map<String, Serializable> properties, String comment) -
Checks in the private working copy document, if successful the new version of the document is
returned.
Parameters
- Document document
- A Document instance representing the document to check in.
- boolean majorVersion
- True for major revision, false for minor revision.
- ContentFile file
- The modified content.
- Map<String, Serializable> properties
- Any properties to be updated.
- String comment
- A revision comment.
Returns
A Document object, representing the new version of the document.
Exception
Throws an SkyVaultServiceException if the operation cannot be carried out.
Example
Note: This method was added in version 1.4.