mhan810/liferay-portal — pull request #136 by KocsisDaniel (2013-06-03 14:51:17+00:00)
Title: LPS-35667

Hey Mike,

this is the solution we made for counting Journal structures/templates and application display template templates (DDMTemplate as well). As we agreed this is an exceptional situation so the solution is based on the fact DDM entities have a ClassNameId and we can use that to identify the referrer entity that @epgarcia can use on the UI to display the right numbers. On the summary side I have to introduce the composite keys concept to differentiate the numbers for the same classes.

The pull also contains @zberentey 's commits, because we are changing the same classes and it makes sense to put these changes together.

cc-ing: @MateThurzo

thanks,
Daniel