Neil McErlean 6fd9628330 ALF-8498. Reimplemented the Comment Count Rollups to take pre-Swift, commented nodes into account. Also added a trigger for a recalculation.
Major refactoring of existing onCreateNode/beforeDeleteNode(fm:post) behaviours. They now distinguish between
    1. increment/decrement of previously rolled-up commentCounts
    2. full recalculation of comment count for nodes that have no previous rollup (which would include nodes from pre-Swift repos).
  Added a new registered behaviour: onUpdateProperties(fm:commentsRollup) in order to detect fm:commentCount being set to a "trigger value".
    If this property is set to a negative number, then a full recalculation of the commentCount for that node will be performed.
  New test cases for preSwift content & the recount trigger.
  Added a skeleton (placeholder) CommentService to hold some comment-related methods I needed.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-06-28 14:47:14 +00:00
..
2011-06-09 21:14:18 +00:00
2011-06-24 14:54:45 +00:00
2011-06-23 14:19:47 +00:00
2011-04-11 15:57:26 +00:00
2011-04-11 15:57:26 +00:00
2010-03-16 15:05:47 +00:00
2011-05-21 10:41:57 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2011-06-10 00:21:55 +00:00
2011-06-08 10:03:37 +00:00
2011-04-11 15:57:26 +00:00
2011-06-09 12:08:12 +00:00
2011-06-23 14:47:30 +00:00
2011-04-11 19:26:26 +00:00
2011-06-23 14:19:47 +00:00
2011-05-21 10:41:57 +00:00
2011-04-11 19:26:26 +00:00
2011-06-27 23:41:56 +00:00
2011-06-08 15:38:14 +00:00
2011-06-28 09:28:56 +00:00
2011-06-09 12:08:12 +00:00
2011-05-21 10:41:57 +00:00
2011-04-11 19:26:26 +00:00
2011-04-11 19:26:26 +00:00
2010-09-27 12:47:35 +00:00
2011-04-11 19:26:26 +00:00
2011-06-23 14:19:47 +00:00
2011-05-21 10:41:57 +00:00
2010-03-01 22:48:39 +00:00
2011-06-27 23:41:56 +00:00
2011-05-21 10:41:57 +00:00
2011-06-10 00:21:55 +00:00
2011-06-08 17:29:54 +00:00
2011-06-23 14:19:47 +00:00
2011-05-21 10:41:57 +00:00
2011-06-23 14:19:47 +00:00