001
014
015 package com.liferay.portlet.ratings.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class RatingsEntryFinderUtil {
024 public static java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> findByU_C_C(
025 long userId, long classNameId, java.util.List<java.lang.Long> classPKs)
026 throws com.liferay.portal.kernel.exception.SystemException {
027 return getFinder().findByU_C_C(userId, classNameId, classPKs);
028 }
029
030 public static RatingsEntryFinder getFinder() {
031 if (_finder == null) {
032 _finder = (RatingsEntryFinder)PortalBeanLocatorUtil.locate(RatingsEntryFinder.class.getName());
033
034 ReferenceRegistry.registerReference(RatingsEntryFinderUtil.class,
035 "_finder");
036 }
037
038 return _finder;
039 }
040
041 public void setFinder(RatingsEntryFinder finder) {
042 _finder = finder;
043
044 ReferenceRegistry.registerReference(RatingsEntryFinderUtil.class,
045 "_finder");
046 }
047
048 private static RatingsEntryFinder _finder;
049 }