001
014
015 package com.liferay.portlet.social.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class SocialActivityCounterFinderUtil {
024 public static int countU_ByG_N(long groupId, java.lang.String[] names)
025 throws com.liferay.portal.kernel.exception.SystemException {
026 return getFinder().countU_ByG_N(groupId, names);
027 }
028
029 public static java.util.List<com.liferay.portlet.social.model.SocialActivityCounter> findAC_ByG_N_S_E_1(
030 long groupId, java.lang.String name, int startPeriod, int endPeriod,
031 int periodLength)
032 throws com.liferay.portal.kernel.exception.SystemException {
033 return getFinder()
034 .findAC_ByG_N_S_E_1(groupId, name, startPeriod, endPeriod,
035 periodLength);
036 }
037
038 public static java.util.List<com.liferay.portlet.social.model.SocialActivityCounter> findAC_ByG_N_S_E_2(
039 long groupId, java.lang.String counterName, int startPeriod,
040 int endPeriod, int periodLength)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return getFinder()
043 .findAC_ByG_N_S_E_2(groupId, counterName, startPeriod,
044 endPeriod, periodLength);
045 }
046
047 public static java.util.List<com.liferay.portlet.social.model.SocialActivityCounter> findAC_By_G_C_C_N_S_E(
048 long groupId, java.util.List<java.lang.Long> userIds,
049 java.lang.String[] names, int start, int end)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getFinder()
052 .findAC_By_G_C_C_N_S_E(groupId, userIds, names, start, end);
053 }
054
055 public static java.util.List<java.lang.Long> findU_ByG_N(long groupId,
056 java.lang.String[] names, int start, int end)
057 throws com.liferay.portal.kernel.exception.SystemException {
058 return getFinder().findU_ByG_N(groupId, names, start, end);
059 }
060
061 public static SocialActivityCounterFinder getFinder() {
062 if (_finder == null) {
063 _finder = (SocialActivityCounterFinder)PortalBeanLocatorUtil.locate(SocialActivityCounterFinder.class.getName());
064
065 ReferenceRegistry.registerReference(SocialActivityCounterFinderUtil.class,
066 "_finder");
067 }
068
069 return _finder;
070 }
071
072 public void setFinder(SocialActivityCounterFinder finder) {
073 _finder = finder;
074
075 ReferenceRegistry.registerReference(SocialActivityCounterFinderUtil.class,
076 "_finder");
077 }
078
079 private static SocialActivityCounterFinder _finder;
080 }