001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.dynamicdatalists.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    @ProviderType
023    public interface DDLRecordSetFinder {
024            public int countByKeywords(long companyId, long groupId,
025                    java.lang.String keywords, int scope)
026                    throws com.liferay.portal.kernel.exception.SystemException;
027    
028            public int countByC_G_N_D_S(long companyId, long groupId,
029                    java.lang.String name, java.lang.String description, int scope,
030                    boolean andOperator)
031                    throws com.liferay.portal.kernel.exception.SystemException;
032    
033            public int filterCountByKeywords(long companyId, long groupId,
034                    java.lang.String keywords, int scope)
035                    throws com.liferay.portal.kernel.exception.SystemException;
036    
037            public int filterCountByC_G_N_D_S(long companyId, long groupId,
038                    java.lang.String name, java.lang.String description, int scope,
039                    boolean andOperator)
040                    throws com.liferay.portal.kernel.exception.SystemException;
041    
042            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByKeywords(
043                    long companyId, long groupId, java.lang.String keywords, int scope,
044                    int start, int end,
045                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
046                    throws com.liferay.portal.kernel.exception.SystemException;
047    
048            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByC_G_N_D_S(
049                    long companyId, long groupId, java.lang.String name,
050                    java.lang.String description, int scope, boolean andOperator,
051                    int start, int end,
052                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
053                    throws com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByC_G_N_D_S(
056                    long companyId, long groupId, java.lang.String[] names,
057                    java.lang.String[] descriptions, int scope, boolean andOperator,
058                    int start, int end,
059                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
060                    throws com.liferay.portal.kernel.exception.SystemException;
061    
062            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByKeywords(
063                    long companyId, long groupId, java.lang.String keywords, int scope,
064                    int start, int end,
065                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByC_G_N_D_S(
069                    long companyId, long groupId, java.lang.String name,
070                    java.lang.String description, int scope, boolean andOperator,
071                    int start, int end,
072                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073                    throws com.liferay.portal.kernel.exception.SystemException;
074    
075            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByC_G_N_D_S(
076                    long companyId, long groupId, java.lang.String[] names,
077                    java.lang.String[] descriptions, int scope, boolean andOperator,
078                    int start, int end,
079                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
080                    throws com.liferay.portal.kernel.exception.SystemException;
081    }