Till Schäfer - 2016-10-17
  • labels: --> refactoring
  • summary: Move "isAccumulatable()" to a central place --> Move accumulation functionality to a central place
  • Description has changed:

Diff:

--- old
+++ new
@@ -1 +1,10 @@
-According to the disussion of Ticket #225, the method "isAccumulatable()" should be moved to a central class, which can be used by all views, which use this method. Also the accumulation-functions should be implemented by this class 
+Several views use molecule and scaffold property accumulation. Currently all views do their own checks, whether a certain scaffold type is accumulatable and also call the according low level DbManager functions on their own. 
+
+We should move this accumulation functionality to a central place
+1. decide wheter the property is accumulatable (currently only property type is relevant for this descision. Later extension to subsets of accumulation function may be possible)
+2. provide method to do the accumulation
+
+Part 2 currently will be a simple proxy to the DbManager methods. However, it also allows the easy extension to other property types that may not be accumulatable up to now. 
+
+
+
  • Related To: Ticket #225 --> BR 225