use of com.bakdata.conquery.models.messages.namespaces.specific.RemoveConcept in project conquery by bakdata.
the class AdminDatasetProcessor method deleteConcept.
/**
* Deletes a concept.
*/
public synchronized void deleteConcept(Concept<?> concept) {
final Namespace namespace = datasetRegistry.get(concept.getDataset().getId());
namespace.getStorage().removeConcept(concept.getId());
getJobManager().addSlowJob(new SimpleJob("sendToAll: remove " + concept.getId(), () -> namespace.sendToAll(new RemoveConcept(concept))));
}
Aggregations