Modified common build to update the content repository deletion - wasn't working as the repository location had been changed. Relies on the o/s properties file now.
changed groupingType property to be groupingTypeIDchanged the GroupingDTO(Grouping grouping) constructor so that it directly passes the grouping object into the processGroupingActivity() method
modified the if statement in getGroupingByUUID so that it will return the first element in the list, only if the size of the list is greater than 0 without this, an exception is thrown
added property groupingTypeId changed the getGroupingTypeId to return the groupingTypeId instead of using the "instanceOf" checks added method isRandomGrouping() , isChosenGrouping() and isClassGrouping()
added the property groupingTypeId, which previously wasnt there. when retrieving Grouping objects, the groupingTypeId was null regardless of what value was stored on database. Works okay now.
Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).