use of org.olat.modules.taxonomy.ui.component.TaxonomyVFSSecurityCallback in project openolat by klemens.
the class DocumentPoolWebDAVMergeSource method addDocument.
private VFSContainer addDocument(TaxonomyTreeNode taxonomyNode) {
VFSContainer documents = taxonomyService.getDocumentsLibrary(taxonomyNode.getTaxonomyLevel());
SubscriptionContext subscriptionCtx = notificationsHandler.getTaxonomyDocumentsLibrarySubscriptionContext();
TaxonomyVFSSecurityCallback secCallback = new TaxonomyVFSSecurityCallback(taxonomyNode, subscriptionCtx);
documents.setLocalSecurityCallback(secCallback);
return new NamedContainerImpl("_documents", documents);
}
Aggregations