CmisService service = null;
try {
service = getService(wsContext, repositoryId);
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder = convertHolder(objectId);
ExtensionsData extData = convertExtensionHolder(extension);
service.checkIn(repositoryId, objectIdHolder, major, convert(properties), convert(contentStream),
checkinComment, policies, convert(addAces, null), convert(removeAces, null), extData);
setHolderValue(objectIdHolder, objectId);