How delete content from source control with Plain API?
I have implemented a procedure using plain API (version 5.0) to automate deletion of content on specific versionables using the method:
IVersionedContentManager.deleteContent(ContentHash hash, boolean force, IProgressMonitor monitor)
ContentHash contentHash = ((IFileItem) versionable).getContent().getHash();
After I ran the procedure to delete content of some versionables related a specific component, I noticed that was deleted also the content of other versionables in an other component.
How it's possible? It's the right way to delete content for a specific versionable ?
Thanks.
Emilio
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.