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.exportimport.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 ExportImportConfigurationFinderUtil {
028            public static int countByKeywords(long companyId, long groupId,
029                    java.lang.String keywords, int type, int status) {
030                    return getFinder()
031                                       .countByKeywords(companyId, groupId, keywords, type, status);
032            }
033    
034            public static int countByC_G_N_D_T(long companyId, long groupId,
035                    java.lang.String name, java.lang.String description, int type,
036                    int status, boolean andOperator) {
037                    return getFinder()
038                                       .countByC_G_N_D_T(companyId, groupId, name, description,
039                            type, status, andOperator);
040            }
041    
042            public static int filterCountByKeywords(long companyId, long groupId,
043                    java.lang.String keywords, int type, int status) {
044                    return getFinder()
045                                       .filterCountByKeywords(companyId, groupId, keywords, type,
046                            status);
047            }
048    
049            public static int filterCountByC_G_N_D_T(long companyId, long groupId,
050                    java.lang.String name, java.lang.String description, int type,
051                    int status, boolean andOperator) {
052                    return getFinder()
053                                       .filterCountByC_G_N_D_T(companyId, groupId, name,
054                            description, type, status, andOperator);
055            }
056    
057            public static int filterCountByC_G_N_D_T(long companyId, long groupId,
058                    java.lang.String[] names, java.lang.String[] descriptions, int type,
059                    int status, boolean andOperator) {
060                    return getFinder()
061                                       .filterCountByC_G_N_D_T(companyId, groupId, names,
062                            descriptions, type, status, andOperator);
063            }
064    
065            public static java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> filterFindByKeywords(
066                    long companyId, long groupId, java.lang.String keywords, int type,
067                    int status, int start, int end,
068                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
069                    return getFinder()
070                                       .filterFindByKeywords(companyId, groupId, keywords, type,
071                            status, start, end, orderByComparator);
072            }
073    
074            public static java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> filterFindByC_G_N_D_T(
075                    long companyId, long groupId, java.lang.String name,
076                    java.lang.String description, int type, int status,
077                    boolean andOperator, int start, int end,
078                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
079                    return getFinder()
080                                       .filterFindByC_G_N_D_T(companyId, groupId, name,
081                            description, type, status, andOperator, start, end,
082                            orderByComparator);
083            }
084    
085            public static java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> filterFindByC_G_N_D_T(
086                    long companyId, long groupId, java.lang.String[] names,
087                    java.lang.String[] descriptions, int type, int status,
088                    boolean andOperator, int start, int end,
089                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
090                    return getFinder()
091                                       .filterFindByC_G_N_D_T(companyId, groupId, names,
092                            descriptions, type, status, andOperator, start, end,
093                            orderByComparator);
094            }
095    
096            public static java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> findByKeywords(
097                    long companyId, long groupId, java.lang.String keywords, int type,
098                    int status, int start, int end,
099                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
100                    return getFinder()
101                                       .findByKeywords(companyId, groupId, keywords, type, status,
102                            start, end, orderByComparator);
103            }
104    
105            public static java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> findByC_G_N_D_T(
106                    long companyId, long groupId, java.lang.String name,
107                    java.lang.String description, int type, int status,
108                    boolean andOperator, int start, int end,
109                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
110                    return getFinder()
111                                       .findByC_G_N_D_T(companyId, groupId, name, description,
112                            type, status, andOperator, start, end, orderByComparator);
113            }
114    
115            public static java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> findByC_G_N_D_T(
116                    long companyId, long groupId, java.lang.String[] names,
117                    java.lang.String[] descriptions, int type, int status,
118                    boolean andOperator, int start, int end,
119                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
120                    return getFinder()
121                                       .findByC_G_N_D_T(companyId, groupId, names, descriptions,
122                            type, status, andOperator, start, end, orderByComparator);
123            }
124    
125            public static ExportImportConfigurationFinder getFinder() {
126                    if (_finder == null) {
127                            _finder = (ExportImportConfigurationFinder)PortalBeanLocatorUtil.locate(ExportImportConfigurationFinder.class.getName());
128    
129                            ReferenceRegistry.registerReference(ExportImportConfigurationFinderUtil.class,
130                                    "_finder");
131                    }
132    
133                    return _finder;
134            }
135    
136            public void setFinder(ExportImportConfigurationFinder finder) {
137                    _finder = finder;
138    
139                    ReferenceRegistry.registerReference(ExportImportConfigurationFinderUtil.class,
140                            "_finder");
141            }
142    
143            private static ExportImportConfigurationFinder _finder;
144    }