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