use of com.axelor.meta.db.MetaModel in project axelor-open-suite by axelor.
the class MetaJsonFieldRepo method remove.
@Override
public void remove(MetaJsonField metaJsonField) {
if (metaJsonField.getJsonModel() == null) {
MetaModel metaModel = metaModelRepo.all().filter("self.fullName = ?1", metaJsonField.getModel()).fetchOne();
Beans.get(StudioMetaService.class).trackingFields(metaModel, metaJsonField.getName(), "Field removed");
}
Beans.get(JsonFieldService.class).removeSelection(metaJsonField);
super.remove(metaJsonField);
}
Aggregations