[SEE PR DESCRIPTION] LPS-48895 Implement new methods in RepositoryModel

Hi Brian,

This PR needs to be merged *only* if https://github.com/sergiogonzalez/liferay-portal/pull/1661 gets into master. Otherwise, ignore it.

Thanks!