(OFBIZ-7720)
Did not remove usage of old functions as of now, these changes will come in upcoming commits.
Thanks: Amardeep Singh Jhajj for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761177 13f79535-47bb-0310-9956-ffa450edef68