Ejemplo n.º 1
0
        public void DeleteTextContent(string repositoryId, string folderId, string contentUUID)
        {
            var contentIntegrateId = new ContentIntegrateId(repositoryId, folderId, contentUUID);

            var service = GetService();

            var deleteObjectRequest = new deleteObjectRequest(repositoryId, contentIntegrateId.Id, true, GetcmisExtensionType());

            service.DeleteObject(deleteObjectRequest);
        }
Ejemplo n.º 2
0
        public deleteObjectResponse DeleteObject(deleteObjectRequest request)
        {
            var integrateId = new Kooboo.CMS.Content.Models.ContentIntegrateId(request.objectId);
            var site        = ModelHelper.GetSite(request.repositoryId);
            var textFolder  = ModelHelper.GetTextFolder(request.repositoryId, integrateId.FolderName);

            _incomeDataManager.DeleteTextContent(site, textFolder, integrateId.Id, ContextHelper.GetVendor());

            return(new deleteObjectResponse());
        }