}
public void setContentStream(String repositoryId, Holder<String> objectId, Boolean overwriteFlag,
Holder<String> changeToken, CmisContentStreamType contentStream, Holder<CmisExtensionType> extension)
throws CmisException {
CmisService service = null;
try {
service = getService(wsContext, repositoryId);
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder = convertHolder(objectId);
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder = convertHolder(changeToken);
ExtensionsData extData = convertExtensionHolder(extension);
service.setContentStream(repositoryId, objectIdHolder, overwriteFlag, changeTokenHolder,
convert(contentStream), extData);
setHolderValue(objectIdHolder, objectId);
setHolderValue(changeTokenHolder, changeToken);
setExtensionValues(extData, extension);