Example #1
0
        public override NCMIS.ObjectModel.TokenedCmisObjectId UpdateProperties(string repositoryId, string objectId, NCMIS.ObjectModel.CmisProperties properties, string changeToken)
        {
            IObjectService objectService = ObjectService.GetService(objectId);

            objectService.UpdateProperties(repositoryId, objectId, properties);
            return(new NCMIS.ObjectModel.TokenedCmisObjectId()
            {
                ChangeToken = changeToken, ObjectId = objectId
            });
        }
Example #2
0
        public override NCMIS.ObjectModel.TokenedDocumentId SetContentStream(string repositoryId, string documentId, NCMIS.ObjectModel.ContentStream contentStream, bool?overwriteFlag, string changeToken)
        {
            IObjectService objectService = ObjectService.GetService(documentId);

            objectService.SetContentStream(repositoryId, documentId, contentStream, overwriteFlag);
            return(new NCMIS.ObjectModel.TokenedDocumentId()
            {
                ChangeToken = changeToken, DocumentId = documentId
            });
        }