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.portal.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 TeamFinderUtil {
028            public static int countByG_N_D(long groupId, java.lang.String name,
029                    java.lang.String description,
030                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params) {
031                    return getFinder().countByG_N_D(groupId, name, description, params);
032            }
033    
034            public static int filterCountByG_N_D(long groupId, java.lang.String name,
035                    java.lang.String description,
036                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params) {
037                    return getFinder().filterCountByG_N_D(groupId, name, description, params);
038            }
039    
040            public static java.util.List<com.liferay.portal.model.Team> filterFindByG_N_D(
041                    long groupId, java.lang.String name, java.lang.String description,
042                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
043                    int start, int end,
044                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Team> obc) {
045                    return getFinder()
046                                       .filterFindByG_N_D(groupId, name, description, params,
047                            start, end, obc);
048            }
049    
050            public static java.util.List<com.liferay.portal.model.Team> findByG_N_D(
051                    long groupId, java.lang.String name, java.lang.String description,
052                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
053                    int start, int end,
054                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Team> obc) {
055                    return getFinder()
056                                       .findByG_N_D(groupId, name, description, params, start, end,
057                            obc);
058            }
059    
060            public static TeamFinder getFinder() {
061                    if (_finder == null) {
062                            _finder = (TeamFinder)PortalBeanLocatorUtil.locate(TeamFinder.class.getName());
063    
064                            ReferenceRegistry.registerReference(TeamFinderUtil.class, "_finder");
065                    }
066    
067                    return _finder;
068            }
069    
070            public void setFinder(TeamFinder finder) {
071                    _finder = finder;
072    
073                    ReferenceRegistry.registerReference(TeamFinderUtil.class, "_finder");
074            }
075    
076            private static TeamFinder _finder;
077    }