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.asset.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 AssetTagFinderUtil {
028            public static int countByG_C_N(long groupId, long classNameId,
029                    java.lang.String name) {
030                    return getFinder().countByG_C_N(groupId, classNameId, name);
031            }
032    
033            public static int filterCountByG_N(long groupId, java.lang.String name) {
034                    return getFinder().filterCountByG_N(groupId, name);
035            }
036    
037            public static int filterCountByG_C_N(long groupId, long classNameId,
038                    java.lang.String name) {
039                    return getFinder().filterCountByG_C_N(groupId, classNameId, name);
040            }
041    
042            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_C_N(
043                    long groupId, long classNameId, java.lang.String name, int start,
044                    int end,
045                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc) {
046                    return getFinder()
047                                       .filterFindByG_C_N(groupId, classNameId, name, start, end,
048                            obc);
049            }
050    
051            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
052                    long groupId, long classNameId, java.lang.String name, int start,
053                    int end,
054                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc) {
055                    return getFinder()
056                                       .findByG_C_N(groupId, classNameId, name, start, end, obc);
057            }
058    
059            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_S_E(
060                    long groupId, java.lang.String name, int startPeriod, int endPeriod,
061                    int periodLength) {
062                    return getFinder()
063                                       .findByG_N_S_E(groupId, name, startPeriod, endPeriod,
064                            periodLength);
065            }
066    
067            public static AssetTagFinder getFinder() {
068                    if (_finder == null) {
069                            _finder = (AssetTagFinder)PortalBeanLocatorUtil.locate(AssetTagFinder.class.getName());
070    
071                            ReferenceRegistry.registerReference(AssetTagFinderUtil.class,
072                                    "_finder");
073                    }
074    
075                    return _finder;
076            }
077    
078            public void setFinder(AssetTagFinder finder) {
079                    _finder = finder;
080    
081                    ReferenceRegistry.registerReference(AssetTagFinderUtil.class, "_finder");
082            }
083    
084            private static AssetTagFinder _finder;
085    }