001    /**
002     * Copyright (c) 2000-2010 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.softwarecatalog.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       SCFrameworkVersionPersistenceImpl
024     * @see       SCFrameworkVersionUtil
025     * @generated
026     */
027    public interface SCFrameworkVersionPersistence extends BasePersistence<SCFrameworkVersion> {
028            public void cacheResult(
029                    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions);
033    
034            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
035                    long frameworkVersionId);
036    
037            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
038                    long frameworkVersionId)
039                    throws com.liferay.portal.kernel.exception.SystemException,
040                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
041    
042            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
043                    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
044                    boolean merge)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
048                    long frameworkVersionId)
049                    throws com.liferay.portal.kernel.exception.SystemException,
050                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
051    
052            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
053                    long frameworkVersionId)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
057                    long groupId)
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
061                    long groupId, int start, int end)
062                    throws com.liferay.portal.kernel.exception.SystemException;
063    
064            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
065                    long groupId, int start, int end,
066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
070                    long groupId,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException,
073                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
074    
075            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
076                    long groupId,
077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078                    throws com.liferay.portal.kernel.exception.SystemException,
079                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
080    
081            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
082                    long frameworkVersionId, long groupId,
083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084                    throws com.liferay.portal.kernel.exception.SystemException,
085                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
086    
087            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
088                    long groupId)
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
092                    long groupId, int start, int end)
093                    throws com.liferay.portal.kernel.exception.SystemException;
094    
095            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
096                    long groupId, int start, int end,
097                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
098                    throws com.liferay.portal.kernel.exception.SystemException;
099    
100            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
101                    long companyId)
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
105                    long companyId, int start, int end)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
109                    long companyId, int start, int end,
110                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111                    throws com.liferay.portal.kernel.exception.SystemException;
112    
113            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
114                    long companyId,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException,
117                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
118    
119            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
120                    long companyId,
121                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122                    throws com.liferay.portal.kernel.exception.SystemException,
123                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
124    
125            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
126                    long frameworkVersionId, long companyId,
127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128                    throws com.liferay.portal.kernel.exception.SystemException,
129                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
130    
131            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
132                    long groupId, boolean active)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
136                    long groupId, boolean active, int start, int end)
137                    throws com.liferay.portal.kernel.exception.SystemException;
138    
139            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
140                    long groupId, boolean active, int start, int end,
141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142                    throws com.liferay.portal.kernel.exception.SystemException;
143    
144            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
145                    long groupId, boolean active,
146                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147                    throws com.liferay.portal.kernel.exception.SystemException,
148                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
149    
150            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
151                    long groupId, boolean active,
152                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153                    throws com.liferay.portal.kernel.exception.SystemException,
154                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
155    
156            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
157                    long frameworkVersionId, long groupId, boolean active,
158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
161    
162            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
163                    long groupId, boolean active)
164                    throws com.liferay.portal.kernel.exception.SystemException;
165    
166            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
167                    long groupId, boolean active, int start, int end)
168                    throws com.liferay.portal.kernel.exception.SystemException;
169    
170            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
171                    long groupId, boolean active, int start, int end,
172                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173                    throws com.liferay.portal.kernel.exception.SystemException;
174    
175            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
179                    int start, int end)
180                    throws com.liferay.portal.kernel.exception.SystemException;
181    
182            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
183                    int start, int end,
184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185                    throws com.liferay.portal.kernel.exception.SystemException;
186    
187            public void removeByGroupId(long groupId)
188                    throws com.liferay.portal.kernel.exception.SystemException;
189    
190            public void removeByCompanyId(long companyId)
191                    throws com.liferay.portal.kernel.exception.SystemException;
192    
193            public void removeByG_A(long groupId, boolean active)
194                    throws com.liferay.portal.kernel.exception.SystemException;
195    
196            public void removeAll()
197                    throws com.liferay.portal.kernel.exception.SystemException;
198    
199            public int countByGroupId(long groupId)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            public int filterCountByGroupId(long groupId)
203                    throws com.liferay.portal.kernel.exception.SystemException;
204    
205            public int countByCompanyId(long companyId)
206                    throws com.liferay.portal.kernel.exception.SystemException;
207    
208            public int countByG_A(long groupId, boolean active)
209                    throws com.liferay.portal.kernel.exception.SystemException;
210    
211            public int filterCountByG_A(long groupId, boolean active)
212                    throws com.liferay.portal.kernel.exception.SystemException;
213    
214            public int countAll()
215                    throws com.liferay.portal.kernel.exception.SystemException;
216    
217            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
218                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
219    
220            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
221                    long pk, int start, int end)
222                    throws com.liferay.portal.kernel.exception.SystemException;
223    
224            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
225                    long pk, int start, int end,
226                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
227                    throws com.liferay.portal.kernel.exception.SystemException;
228    
229            public int getSCProductVersionsSize(long pk)
230                    throws com.liferay.portal.kernel.exception.SystemException;
231    
232            public boolean containsSCProductVersion(long pk, long scProductVersionPK)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            public boolean containsSCProductVersions(long pk)
236                    throws com.liferay.portal.kernel.exception.SystemException;
237    
238            public void addSCProductVersion(long pk, long scProductVersionPK)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            public void addSCProductVersion(long pk,
242                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
243                    throws com.liferay.portal.kernel.exception.SystemException;
244    
245            public void addSCProductVersions(long pk, long[] scProductVersionPKs)
246                    throws com.liferay.portal.kernel.exception.SystemException;
247    
248            public void addSCProductVersions(long pk,
249                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            public void clearSCProductVersions(long pk)
253                    throws com.liferay.portal.kernel.exception.SystemException;
254    
255            public void removeSCProductVersion(long pk, long scProductVersionPK)
256                    throws com.liferay.portal.kernel.exception.SystemException;
257    
258            public void removeSCProductVersion(long pk,
259                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
260                    throws com.liferay.portal.kernel.exception.SystemException;
261    
262            public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
263                    throws com.liferay.portal.kernel.exception.SystemException;
264    
265            public void removeSCProductVersions(long pk,
266                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
267                    throws com.liferay.portal.kernel.exception.SystemException;
268    
269            public void setSCProductVersions(long pk, long[] scProductVersionPKs)
270                    throws com.liferay.portal.kernel.exception.SystemException;
271    
272            public void setSCProductVersions(long pk,
273                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
274                    throws com.liferay.portal.kernel.exception.SystemException;
275    }