use of net.geoprism.registry.ObjectHasDataException in project geoprism-registry by terraframe.
the class ExternalSystem method delete.
public void delete(Boolean checkReferencedData) {
if (checkReferencedData && getReferencedDataCount() > 0) {
throw new ObjectHasDataException();
}
List<SynchronizationConfig> configs = SynchronizationConfig.getAll(this);
for (SynchronizationConfig config : configs) {
config.delete();
}
super.delete();
}
Aggregations