Commit 3ce17d6d authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade métodos para realizar rollback en la vista

parent 0a5e9bfc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -100,6 +100,10 @@ public class LayerESService extends RDataService<Layer, LayerDTO, GeoDataQueryDT
		return repository.updateThemeInspireInLayer(id, themeInspire, updated);
	}

	public EventApplicationResult rollback(Layer model, String id, String parentId) {
		return repository.rollback(model, parentId);
	}

	/**
	 * Sobrescribe findById para realizar una query en lugar de un get. En caso
	 * contrario sería necesario pasarle el id del padre