.getEntries();
for (IEntities entry : entries) {
String entryCode = entry
.getConceptConfig()
.getEntitiesCode();
IPersistentEntities persistentEntities = getPersistentEntry(entryCode);
persistentEntities.save();
}
}
} else if (arg instanceof EntitiesAction) {
EntitiesAction action = (EntitiesAction) arg;
String actionName = action.getName();
IEntities entities = action.getEntities();
if (actionName.equals("add")
|| actionName.equals("remove")
|| actionName.equals("update")) {
IEntities entry = domainModel
.getModelMeta().getEntry(entities);
if (entry != null) {
String entryCode = entry
.getConceptConfig()
.getEntitiesCode();
IPersistentEntities persistentEntities = getPersistentEntry(entryCode);
persistentEntities.save();
}
}
}
} else if (arg instanceof EntitiesAction) {
EntitiesAction action = (EntitiesAction) arg;
String actionName = action.getName();
IEntities entities = action.getEntities();
if (actionName.equals("add")
|| actionName.equals("remove")
|| actionName.equals("update")) {
IEntities entry = domainModel.getModelMeta()
.getEntry(entities);
if (entry != null) {
String entryCode = entry.getConceptConfig()
.getEntitiesCode();
IPersistentEntities persistentEntities = getPersistentEntry(entryCode);
persistentEntities.save();
}
}
}
}
}