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.mobiledevicerules.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * @author Edward C. Han
021     * @generated
022     */
023    @ProviderType
024    public interface MDRRuleGroupFinder {
025            public int countByKeywords(long groupId, java.lang.String keywords,
026                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params);
027    
028            public int countByG_N(long groupId, java.lang.String name,
029                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
030                    boolean andOperator);
031    
032            public int countByG_N(long groupId, java.lang.String[] names,
033                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
034                    boolean andOperator);
035    
036            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> findByKeywords(
037                    long groupId, java.lang.String keywords,
038                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
039                    int start, int end);
040    
041            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> findByG_N(
042                    long groupId, java.lang.String name,
043                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
044                    boolean andOperator);
045    
046            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> findByG_N(
047                    long groupId, java.lang.String name,
048                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
049                    boolean andOperator, int start, int end);
050    
051            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> findByG_N(
052                    long groupId, java.lang.String[] names,
053                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
054                    boolean andOperator, int start, int end);
055    }