001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
023     * @author Brian Wing Shun Chan
024     * @generated
025     */
026    @ProviderType
027    public class SocialActivityCounterFinderUtil {
028            public static int countU_ByG_N(long groupId, java.lang.String[] names) {
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                    return getFinder()
036                                       .findAC_ByG_N_S_E_1(groupId, name, startPeriod, endPeriod,
037                            periodLength);
038            }
039    
040            public static java.util.List<com.liferay.portlet.social.model.SocialActivityCounter> findAC_ByG_N_S_E_2(
041                    long groupId, java.lang.String counterName, int startPeriod,
042                    int endPeriod, int periodLength) {
043                    return getFinder()
044                                       .findAC_ByG_N_S_E_2(groupId, counterName, startPeriod,
045                            endPeriod, periodLength);
046            }
047    
048            public static java.util.List<com.liferay.portlet.social.model.SocialActivityCounter> findAC_By_G_C_C_N_S_E(
049                    long groupId, java.util.List<java.lang.Long> userIds,
050                    java.lang.String[] names, int start, int end) {
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                    return getFinder().findU_ByG_N(groupId, names, start, end);
058            }
059    
060            public static SocialActivityCounterFinder getFinder() {
061                    if (_finder == null) {
062                            _finder = (SocialActivityCounterFinder)PortalBeanLocatorUtil.locate(SocialActivityCounterFinder.class.getName());
063    
064                            ReferenceRegistry.registerReference(SocialActivityCounterFinderUtil.class,
065                                    "_finder");
066                    }
067    
068                    return _finder;
069            }
070    
071            public void setFinder(SocialActivityCounterFinder finder) {
072                    _finder = finder;
073    
074                    ReferenceRegistry.registerReference(SocialActivityCounterFinderUtil.class,
075                            "_finder");
076            }
077    
078            private static SocialActivityCounterFinder _finder;
079    }