Holder<CmisExtensionType> extension, Holder<String> objectId) throws CmisException {
CmisService service = null;
try {
service = getService(wsContext, repositoryId);
ExtensionsData extData = convertExtensionHolder(extension);
String id = service.createDocument(repositoryId, convert(properties), folderId, convert(contentStream),
convert(VersioningState.class, versioningState), policies, convert(addAces, null), convert(
removeAces, null), extData);