001    /**
002     * Copyright (c) 2000-2012 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.dynamicdatamapping.service.persistence;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public interface DDMStructureFinder {
021            public int countByKeywords(long companyId, long[] groupIds,
022                    long[] classNameIds, java.lang.String keywords)
023                    throws com.liferay.portal.kernel.exception.SystemException;
024    
025            public int countByC_G_C_N_D_S_T(long companyId, long[] groupIds,
026                    long[] classNameIds, java.lang.String name,
027                    java.lang.String description, java.lang.String storageType, int type,
028                    boolean andOperator)
029                    throws com.liferay.portal.kernel.exception.SystemException;
030    
031            public int countByC_G_C_N_D_S_T(long companyId, long[] groupIds,
032                    long[] classNameIds, java.lang.String[] names,
033                    java.lang.String[] descriptions, java.lang.String[] storageTypes,
034                    int type, boolean andOperator)
035                    throws com.liferay.portal.kernel.exception.SystemException;
036    
037            public int filterCountByKeywords(long companyId, long[] groupIds,
038                    long[] classNameIds, java.lang.String keywords)
039                    throws com.liferay.portal.kernel.exception.SystemException;
040    
041            public int filterCountByC_G_C_N_D_S_T(long companyId, long[] groupIds,
042                    long[] classNameIds, java.lang.String name,
043                    java.lang.String description, java.lang.String storageType, int type,
044                    boolean andOperator)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public int filterCountByC_G_C_N_D_S_T(long companyId, long[] groupIds,
048                    long[] classNameIds, java.lang.String[] names,
049                    java.lang.String[] descriptions, java.lang.String[] storageTypes,
050                    int type, boolean andOperator)
051                    throws com.liferay.portal.kernel.exception.SystemException;
052    
053            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByKeywords(
054                    long companyId, long[] groupIds, long[] classNameIds,
055                    java.lang.String keywords, int start, int end,
056                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByC_G_C_N_D_S_T(
060                    long companyId, long[] groupIds, long[] classNameIds,
061                    java.lang.String name, java.lang.String description,
062                    java.lang.String storageType, int type, boolean andOperator, int start,
063                    int end,
064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065                    throws com.liferay.portal.kernel.exception.SystemException;
066    
067            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByC_G_C_N_D_S_T(
068                    long companyId, long[] groupIds, long[] classNameIds,
069                    java.lang.String[] names, java.lang.String[] descriptions,
070                    java.lang.String[] storageTypes, int type, 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.dynamicdatamapping.model.DDMStructure> findByKeywords(
076                    long companyId, long[] groupIds, long[] classNameIds,
077                    java.lang.String keywords, int start, int end,
078                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_G_C_N_D_S_T(
082                    long companyId, long[] groupIds, long[] classNameIds,
083                    java.lang.String name, java.lang.String description,
084                    java.lang.String storageType, int type, boolean andOperator, int start,
085                    int end,
086                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
087                    throws com.liferay.portal.kernel.exception.SystemException;
088    
089            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_G_C_N_D_S_T(
090                    long companyId, long[] groupIds, long[] classNameIds,
091                    java.lang.String[] names, java.lang.String[] descriptions,
092                    java.lang.String[] storageTypes, int type, boolean andOperator,
093                    int start, int end,
094                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
095                    throws com.liferay.portal.kernel.exception.SystemException;
096    }