001    /**
002     * Copyright (c) 2000-2012 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     * The persistence interface for the s c framework version service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see SCFrameworkVersionPersistenceImpl
030     * @see SCFrameworkVersionUtil
031     * @generated
032     */
033    public interface SCFrameworkVersionPersistence extends BasePersistence<SCFrameworkVersion> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link SCFrameworkVersionUtil} to access the s c framework version persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Returns all the s c framework versions where groupId = &#63;.
042            *
043            * @param groupId the group ID
044            * @return the matching s c framework versions
045            * @throws SystemException if a system exception occurred
046            */
047            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
048                    long groupId)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            /**
052            * Returns a range of all the s c framework versions where groupId = &#63;.
053            *
054            * <p>
055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
056            * </p>
057            *
058            * @param groupId the group ID
059            * @param start the lower bound of the range of s c framework versions
060            * @param end the upper bound of the range of s c framework versions (not inclusive)
061            * @return the range of matching s c framework versions
062            * @throws SystemException if a system exception occurred
063            */
064            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
065                    long groupId, int start, int end)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            /**
069            * Returns an ordered range of all the s c framework versions where groupId = &#63;.
070            *
071            * <p>
072            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
073            * </p>
074            *
075            * @param groupId the group ID
076            * @param start the lower bound of the range of s c framework versions
077            * @param end the upper bound of the range of s c framework versions (not inclusive)
078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
079            * @return the ordered range of matching s c framework versions
080            * @throws SystemException if a system exception occurred
081            */
082            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
083                    long groupId, int start, int end,
084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            /**
088            * Returns the first s c framework version in the ordered set where groupId = &#63;.
089            *
090            * @param groupId the group ID
091            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
092            * @return the first matching s c framework version
093            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found
094            * @throws SystemException if a system exception occurred
095            */
096            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
097                    long groupId,
098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099                    throws com.liferay.portal.kernel.exception.SystemException,
100                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
101    
102            /**
103            * Returns the first s c framework version in the ordered set where groupId = &#63;.
104            *
105            * @param groupId the group ID
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching s c framework version, or <code>null</code> if a matching s c framework version could not be found
108            * @throws SystemException if a system exception occurred
109            */
110            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByGroupId_First(
111                    long groupId,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Returns the last s c framework version in the ordered set where groupId = &#63;.
117            *
118            * @param groupId the group ID
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the last matching s c framework version
121            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found
122            * @throws SystemException if a system exception occurred
123            */
124            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
125                    long groupId,
126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
127                    throws com.liferay.portal.kernel.exception.SystemException,
128                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
129    
130            /**
131            * Returns the last s c framework version in the ordered set where groupId = &#63;.
132            *
133            * @param groupId the group ID
134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
135            * @return the last matching s c framework version, or <code>null</code> if a matching s c framework version could not be found
136            * @throws SystemException if a system exception occurred
137            */
138            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByGroupId_Last(
139                    long groupId,
140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            /**
144            * Returns the s c framework versions before and after the current s c framework version in the ordered set where groupId = &#63;.
145            *
146            * @param frameworkVersionId the primary key of the current s c framework version
147            * @param groupId the group ID
148            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
149            * @return the previous, current, and next s c framework version
150            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
151            * @throws SystemException if a system exception occurred
152            */
153            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
154                    long frameworkVersionId, long groupId,
155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156                    throws com.liferay.portal.kernel.exception.SystemException,
157                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
158    
159            /**
160            * Returns all the s c framework versions that the user has permission to view where groupId = &#63;.
161            *
162            * @param groupId the group ID
163            * @return the matching s c framework versions that the user has permission to view
164            * @throws SystemException if a system exception occurred
165            */
166            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
167                    long groupId)
168                    throws com.liferay.portal.kernel.exception.SystemException;
169    
170            /**
171            * Returns a range of all the s c framework versions that the user has permission to view where groupId = &#63;.
172            *
173            * <p>
174            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
175            * </p>
176            *
177            * @param groupId the group ID
178            * @param start the lower bound of the range of s c framework versions
179            * @param end the upper bound of the range of s c framework versions (not inclusive)
180            * @return the range of matching s c framework versions that the user has permission to view
181            * @throws SystemException if a system exception occurred
182            */
183            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
184                    long groupId, int start, int end)
185                    throws com.liferay.portal.kernel.exception.SystemException;
186    
187            /**
188            * Returns an ordered range of all the s c framework versions that the user has permissions to view where groupId = &#63;.
189            *
190            * <p>
191            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
192            * </p>
193            *
194            * @param groupId the group ID
195            * @param start the lower bound of the range of s c framework versions
196            * @param end the upper bound of the range of s c framework versions (not inclusive)
197            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
198            * @return the ordered range of matching s c framework versions that the user has permission to view
199            * @throws SystemException if a system exception occurred
200            */
201            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
202                    long groupId, int start, int end,
203                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204                    throws com.liferay.portal.kernel.exception.SystemException;
205    
206            /**
207            * Returns the s c framework versions before and after the current s c framework version in the ordered set of s c framework versions that the user has permission to view where groupId = &#63;.
208            *
209            * @param frameworkVersionId the primary key of the current s c framework version
210            * @param groupId the group ID
211            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
212            * @return the previous, current, and next s c framework version
213            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] filterFindByGroupId_PrevAndNext(
217                    long frameworkVersionId, long groupId,
218                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219                    throws com.liferay.portal.kernel.exception.SystemException,
220                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
221    
222            /**
223            * Removes all the s c framework versions where groupId = &#63; from the database.
224            *
225            * @param groupId the group ID
226            * @throws SystemException if a system exception occurred
227            */
228            public void removeByGroupId(long groupId)
229                    throws com.liferay.portal.kernel.exception.SystemException;
230    
231            /**
232            * Returns the number of s c framework versions where groupId = &#63;.
233            *
234            * @param groupId the group ID
235            * @return the number of matching s c framework versions
236            * @throws SystemException if a system exception occurred
237            */
238            public int countByGroupId(long groupId)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            /**
242            * Returns the number of s c framework versions that the user has permission to view where groupId = &#63;.
243            *
244            * @param groupId the group ID
245            * @return the number of matching s c framework versions that the user has permission to view
246            * @throws SystemException if a system exception occurred
247            */
248            public int filterCountByGroupId(long groupId)
249                    throws com.liferay.portal.kernel.exception.SystemException;
250    
251            /**
252            * Returns all the s c framework versions where companyId = &#63;.
253            *
254            * @param companyId the company ID
255            * @return the matching s c framework versions
256            * @throws SystemException if a system exception occurred
257            */
258            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
259                    long companyId)
260                    throws com.liferay.portal.kernel.exception.SystemException;
261    
262            /**
263            * Returns a range of all the s c framework versions where companyId = &#63;.
264            *
265            * <p>
266            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
267            * </p>
268            *
269            * @param companyId the company ID
270            * @param start the lower bound of the range of s c framework versions
271            * @param end the upper bound of the range of s c framework versions (not inclusive)
272            * @return the range of matching s c framework versions
273            * @throws SystemException if a system exception occurred
274            */
275            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
276                    long companyId, int start, int end)
277                    throws com.liferay.portal.kernel.exception.SystemException;
278    
279            /**
280            * Returns an ordered range of all the s c framework versions where companyId = &#63;.
281            *
282            * <p>
283            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
284            * </p>
285            *
286            * @param companyId the company ID
287            * @param start the lower bound of the range of s c framework versions
288            * @param end the upper bound of the range of s c framework versions (not inclusive)
289            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
290            * @return the ordered range of matching s c framework versions
291            * @throws SystemException if a system exception occurred
292            */
293            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
294                    long companyId, int start, int end,
295                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
296                    throws com.liferay.portal.kernel.exception.SystemException;
297    
298            /**
299            * Returns the first s c framework version in the ordered set where companyId = &#63;.
300            *
301            * @param companyId the company ID
302            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
303            * @return the first matching s c framework version
304            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found
305            * @throws SystemException if a system exception occurred
306            */
307            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
308                    long companyId,
309                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
310                    throws com.liferay.portal.kernel.exception.SystemException,
311                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
312    
313            /**
314            * Returns the first s c framework version in the ordered set where companyId = &#63;.
315            *
316            * @param companyId the company ID
317            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
318            * @return the first matching s c framework version, or <code>null</code> if a matching s c framework version could not be found
319            * @throws SystemException if a system exception occurred
320            */
321            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByCompanyId_First(
322                    long companyId,
323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
324                    throws com.liferay.portal.kernel.exception.SystemException;
325    
326            /**
327            * Returns the last s c framework version in the ordered set where companyId = &#63;.
328            *
329            * @param companyId the company ID
330            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
331            * @return the last matching s c framework version
332            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found
333            * @throws SystemException if a system exception occurred
334            */
335            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
336                    long companyId,
337                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
338                    throws com.liferay.portal.kernel.exception.SystemException,
339                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
340    
341            /**
342            * Returns the last s c framework version in the ordered set where companyId = &#63;.
343            *
344            * @param companyId the company ID
345            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
346            * @return the last matching s c framework version, or <code>null</code> if a matching s c framework version could not be found
347            * @throws SystemException if a system exception occurred
348            */
349            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByCompanyId_Last(
350                    long companyId,
351                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            /**
355            * Returns the s c framework versions before and after the current s c framework version in the ordered set where companyId = &#63;.
356            *
357            * @param frameworkVersionId the primary key of the current s c framework version
358            * @param companyId the company ID
359            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
360            * @return the previous, current, and next s c framework version
361            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
362            * @throws SystemException if a system exception occurred
363            */
364            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
365                    long frameworkVersionId, long companyId,
366                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
367                    throws com.liferay.portal.kernel.exception.SystemException,
368                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
369    
370            /**
371            * Removes all the s c framework versions where companyId = &#63; from the database.
372            *
373            * @param companyId the company ID
374            * @throws SystemException if a system exception occurred
375            */
376            public void removeByCompanyId(long companyId)
377                    throws com.liferay.portal.kernel.exception.SystemException;
378    
379            /**
380            * Returns the number of s c framework versions where companyId = &#63;.
381            *
382            * @param companyId the company ID
383            * @return the number of matching s c framework versions
384            * @throws SystemException if a system exception occurred
385            */
386            public int countByCompanyId(long companyId)
387                    throws com.liferay.portal.kernel.exception.SystemException;
388    
389            /**
390            * Returns all the s c framework versions where groupId = &#63; and active = &#63;.
391            *
392            * @param groupId the group ID
393            * @param active the active
394            * @return the matching s c framework versions
395            * @throws SystemException if a system exception occurred
396            */
397            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
398                    long groupId, boolean active)
399                    throws com.liferay.portal.kernel.exception.SystemException;
400    
401            /**
402            * Returns a range of all the s c framework versions where groupId = &#63; and active = &#63;.
403            *
404            * <p>
405            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
406            * </p>
407            *
408            * @param groupId the group ID
409            * @param active the active
410            * @param start the lower bound of the range of s c framework versions
411            * @param end the upper bound of the range of s c framework versions (not inclusive)
412            * @return the range of matching s c framework versions
413            * @throws SystemException if a system exception occurred
414            */
415            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
416                    long groupId, boolean active, int start, int end)
417                    throws com.liferay.portal.kernel.exception.SystemException;
418    
419            /**
420            * Returns an ordered range of all the s c framework versions where groupId = &#63; and active = &#63;.
421            *
422            * <p>
423            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
424            * </p>
425            *
426            * @param groupId the group ID
427            * @param active the active
428            * @param start the lower bound of the range of s c framework versions
429            * @param end the upper bound of the range of s c framework versions (not inclusive)
430            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
431            * @return the ordered range of matching s c framework versions
432            * @throws SystemException if a system exception occurred
433            */
434            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
435                    long groupId, boolean active, int start, int end,
436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437                    throws com.liferay.portal.kernel.exception.SystemException;
438    
439            /**
440            * Returns the first s c framework version in the ordered set where groupId = &#63; and active = &#63;.
441            *
442            * @param groupId the group ID
443            * @param active the active
444            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
445            * @return the first matching s c framework version
446            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found
447            * @throws SystemException if a system exception occurred
448            */
449            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
450                    long groupId, boolean active,
451                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
452                    throws com.liferay.portal.kernel.exception.SystemException,
453                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
454    
455            /**
456            * Returns the first s c framework version in the ordered set where groupId = &#63; and active = &#63;.
457            *
458            * @param groupId the group ID
459            * @param active the active
460            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
461            * @return the first matching s c framework version, or <code>null</code> if a matching s c framework version could not be found
462            * @throws SystemException if a system exception occurred
463            */
464            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByG_A_First(
465                    long groupId, boolean active,
466                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
467                    throws com.liferay.portal.kernel.exception.SystemException;
468    
469            /**
470            * Returns the last s c framework version in the ordered set where groupId = &#63; and active = &#63;.
471            *
472            * @param groupId the group ID
473            * @param active the active
474            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
475            * @return the last matching s c framework version
476            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found
477            * @throws SystemException if a system exception occurred
478            */
479            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
480                    long groupId, boolean active,
481                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
482                    throws com.liferay.portal.kernel.exception.SystemException,
483                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
484    
485            /**
486            * Returns the last s c framework version in the ordered set where groupId = &#63; and active = &#63;.
487            *
488            * @param groupId the group ID
489            * @param active the active
490            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
491            * @return the last matching s c framework version, or <code>null</code> if a matching s c framework version could not be found
492            * @throws SystemException if a system exception occurred
493            */
494            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByG_A_Last(
495                    long groupId, boolean active,
496                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
497                    throws com.liferay.portal.kernel.exception.SystemException;
498    
499            /**
500            * Returns the s c framework versions before and after the current s c framework version in the ordered set where groupId = &#63; and active = &#63;.
501            *
502            * @param frameworkVersionId the primary key of the current s c framework version
503            * @param groupId the group ID
504            * @param active the active
505            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
506            * @return the previous, current, and next s c framework version
507            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
508            * @throws SystemException if a system exception occurred
509            */
510            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
511                    long frameworkVersionId, long groupId, boolean active,
512                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
513                    throws com.liferay.portal.kernel.exception.SystemException,
514                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
515    
516            /**
517            * Returns all the s c framework versions that the user has permission to view where groupId = &#63; and active = &#63;.
518            *
519            * @param groupId the group ID
520            * @param active the active
521            * @return the matching s c framework versions that the user has permission to view
522            * @throws SystemException if a system exception occurred
523            */
524            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
525                    long groupId, boolean active)
526                    throws com.liferay.portal.kernel.exception.SystemException;
527    
528            /**
529            * Returns a range of all the s c framework versions that the user has permission to view where groupId = &#63; and active = &#63;.
530            *
531            * <p>
532            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
533            * </p>
534            *
535            * @param groupId the group ID
536            * @param active the active
537            * @param start the lower bound of the range of s c framework versions
538            * @param end the upper bound of the range of s c framework versions (not inclusive)
539            * @return the range of matching s c framework versions that the user has permission to view
540            * @throws SystemException if a system exception occurred
541            */
542            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
543                    long groupId, boolean active, int start, int end)
544                    throws com.liferay.portal.kernel.exception.SystemException;
545    
546            /**
547            * Returns an ordered range of all the s c framework versions that the user has permissions to view where groupId = &#63; and active = &#63;.
548            *
549            * <p>
550            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
551            * </p>
552            *
553            * @param groupId the group ID
554            * @param active the active
555            * @param start the lower bound of the range of s c framework versions
556            * @param end the upper bound of the range of s c framework versions (not inclusive)
557            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
558            * @return the ordered range of matching s c framework versions that the user has permission to view
559            * @throws SystemException if a system exception occurred
560            */
561            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
562                    long groupId, boolean active, int start, int end,
563                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
564                    throws com.liferay.portal.kernel.exception.SystemException;
565    
566            /**
567            * Returns the s c framework versions before and after the current s c framework version in the ordered set of s c framework versions that the user has permission to view where groupId = &#63; and active = &#63;.
568            *
569            * @param frameworkVersionId the primary key of the current s c framework version
570            * @param groupId the group ID
571            * @param active the active
572            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
573            * @return the previous, current, and next s c framework version
574            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
575            * @throws SystemException if a system exception occurred
576            */
577            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] filterFindByG_A_PrevAndNext(
578                    long frameworkVersionId, long groupId, boolean active,
579                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
580                    throws com.liferay.portal.kernel.exception.SystemException,
581                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
582    
583            /**
584            * Removes all the s c framework versions where groupId = &#63; and active = &#63; from the database.
585            *
586            * @param groupId the group ID
587            * @param active the active
588            * @throws SystemException if a system exception occurred
589            */
590            public void removeByG_A(long groupId, boolean active)
591                    throws com.liferay.portal.kernel.exception.SystemException;
592    
593            /**
594            * Returns the number of s c framework versions where groupId = &#63; and active = &#63;.
595            *
596            * @param groupId the group ID
597            * @param active the active
598            * @return the number of matching s c framework versions
599            * @throws SystemException if a system exception occurred
600            */
601            public int countByG_A(long groupId, boolean active)
602                    throws com.liferay.portal.kernel.exception.SystemException;
603    
604            /**
605            * Returns the number of s c framework versions that the user has permission to view where groupId = &#63; and active = &#63;.
606            *
607            * @param groupId the group ID
608            * @param active the active
609            * @return the number of matching s c framework versions that the user has permission to view
610            * @throws SystemException if a system exception occurred
611            */
612            public int filterCountByG_A(long groupId, boolean active)
613                    throws com.liferay.portal.kernel.exception.SystemException;
614    
615            /**
616            * Caches the s c framework version in the entity cache if it is enabled.
617            *
618            * @param scFrameworkVersion the s c framework version
619            */
620            public void cacheResult(
621                    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion);
622    
623            /**
624            * Caches the s c framework versions in the entity cache if it is enabled.
625            *
626            * @param scFrameworkVersions the s c framework versions
627            */
628            public void cacheResult(
629                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions);
630    
631            /**
632            * Creates a new s c framework version with the primary key. Does not add the s c framework version to the database.
633            *
634            * @param frameworkVersionId the primary key for the new s c framework version
635            * @return the new s c framework version
636            */
637            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
638                    long frameworkVersionId);
639    
640            /**
641            * Removes the s c framework version with the primary key from the database. Also notifies the appropriate model listeners.
642            *
643            * @param frameworkVersionId the primary key of the s c framework version
644            * @return the s c framework version that was removed
645            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
646            * @throws SystemException if a system exception occurred
647            */
648            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
649                    long frameworkVersionId)
650                    throws com.liferay.portal.kernel.exception.SystemException,
651                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
652    
653            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
654                    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
655                    throws com.liferay.portal.kernel.exception.SystemException;
656    
657            /**
658            * Returns the s c framework version with the primary key or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException} if it could not be found.
659            *
660            * @param frameworkVersionId the primary key of the s c framework version
661            * @return the s c framework version
662            * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found
663            * @throws SystemException if a system exception occurred
664            */
665            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
666                    long frameworkVersionId)
667                    throws com.liferay.portal.kernel.exception.SystemException,
668                            com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
669    
670            /**
671            * Returns the s c framework version with the primary key or returns <code>null</code> if it could not be found.
672            *
673            * @param frameworkVersionId the primary key of the s c framework version
674            * @return the s c framework version, or <code>null</code> if a s c framework version with the primary key could not be found
675            * @throws SystemException if a system exception occurred
676            */
677            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
678                    long frameworkVersionId)
679                    throws com.liferay.portal.kernel.exception.SystemException;
680    
681            /**
682            * Returns all the s c framework versions.
683            *
684            * @return the s c framework versions
685            * @throws SystemException if a system exception occurred
686            */
687            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
688                    throws com.liferay.portal.kernel.exception.SystemException;
689    
690            /**
691            * Returns a range of all the s c framework versions.
692            *
693            * <p>
694            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
695            * </p>
696            *
697            * @param start the lower bound of the range of s c framework versions
698            * @param end the upper bound of the range of s c framework versions (not inclusive)
699            * @return the range of s c framework versions
700            * @throws SystemException if a system exception occurred
701            */
702            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
703                    int start, int end)
704                    throws com.liferay.portal.kernel.exception.SystemException;
705    
706            /**
707            * Returns an ordered range of all the s c framework versions.
708            *
709            * <p>
710            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
711            * </p>
712            *
713            * @param start the lower bound of the range of s c framework versions
714            * @param end the upper bound of the range of s c framework versions (not inclusive)
715            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
716            * @return the ordered range of s c framework versions
717            * @throws SystemException if a system exception occurred
718            */
719            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
720                    int start, int end,
721                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
722                    throws com.liferay.portal.kernel.exception.SystemException;
723    
724            /**
725            * Removes all the s c framework versions from the database.
726            *
727            * @throws SystemException if a system exception occurred
728            */
729            public void removeAll()
730                    throws com.liferay.portal.kernel.exception.SystemException;
731    
732            /**
733            * Returns the number of s c framework versions.
734            *
735            * @return the number of s c framework versions
736            * @throws SystemException if a system exception occurred
737            */
738            public int countAll()
739                    throws com.liferay.portal.kernel.exception.SystemException;
740    
741            /**
742            * Returns all the s c product versions associated with the s c framework version.
743            *
744            * @param pk the primary key of the s c framework version
745            * @return the s c product versions associated with the s c framework version
746            * @throws SystemException if a system exception occurred
747            */
748            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
749                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
750    
751            /**
752            * Returns a range of all the s c product versions associated with the s c framework version.
753            *
754            * <p>
755            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
756            * </p>
757            *
758            * @param pk the primary key of the s c framework version
759            * @param start the lower bound of the range of s c framework versions
760            * @param end the upper bound of the range of s c framework versions (not inclusive)
761            * @return the range of s c product versions associated with the s c framework version
762            * @throws SystemException if a system exception occurred
763            */
764            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
765                    long pk, int start, int end)
766                    throws com.liferay.portal.kernel.exception.SystemException;
767    
768            /**
769            * Returns an ordered range of all the s c product versions associated with the s c framework version.
770            *
771            * <p>
772            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
773            * </p>
774            *
775            * @param pk the primary key of the s c framework version
776            * @param start the lower bound of the range of s c framework versions
777            * @param end the upper bound of the range of s c framework versions (not inclusive)
778            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
779            * @return the ordered range of s c product versions associated with the s c framework version
780            * @throws SystemException if a system exception occurred
781            */
782            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
783                    long pk, int start, int end,
784                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
785                    throws com.liferay.portal.kernel.exception.SystemException;
786    
787            /**
788            * Returns the number of s c product versions associated with the s c framework version.
789            *
790            * @param pk the primary key of the s c framework version
791            * @return the number of s c product versions associated with the s c framework version
792            * @throws SystemException if a system exception occurred
793            */
794            public int getSCProductVersionsSize(long pk)
795                    throws com.liferay.portal.kernel.exception.SystemException;
796    
797            /**
798            * Returns <code>true</code> if the s c product version is associated with the s c framework version.
799            *
800            * @param pk the primary key of the s c framework version
801            * @param scProductVersionPK the primary key of the s c product version
802            * @return <code>true</code> if the s c product version is associated with the s c framework version; <code>false</code> otherwise
803            * @throws SystemException if a system exception occurred
804            */
805            public boolean containsSCProductVersion(long pk, long scProductVersionPK)
806                    throws com.liferay.portal.kernel.exception.SystemException;
807    
808            /**
809            * Returns <code>true</code> if the s c framework version has any s c product versions associated with it.
810            *
811            * @param pk the primary key of the s c framework version to check for associations with s c product versions
812            * @return <code>true</code> if the s c framework version has any s c product versions associated with it; <code>false</code> otherwise
813            * @throws SystemException if a system exception occurred
814            */
815            public boolean containsSCProductVersions(long pk)
816                    throws com.liferay.portal.kernel.exception.SystemException;
817    
818            /**
819            * Adds an association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
820            *
821            * @param pk the primary key of the s c framework version
822            * @param scProductVersionPK the primary key of the s c product version
823            * @throws SystemException if a system exception occurred
824            */
825            public void addSCProductVersion(long pk, long scProductVersionPK)
826                    throws com.liferay.portal.kernel.exception.SystemException;
827    
828            /**
829            * Adds an association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
830            *
831            * @param pk the primary key of the s c framework version
832            * @param scProductVersion the s c product version
833            * @throws SystemException if a system exception occurred
834            */
835            public void addSCProductVersion(long pk,
836                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
837                    throws com.liferay.portal.kernel.exception.SystemException;
838    
839            /**
840            * Adds an association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
841            *
842            * @param pk the primary key of the s c framework version
843            * @param scProductVersionPKs the primary keys of the s c product versions
844            * @throws SystemException if a system exception occurred
845            */
846            public void addSCProductVersions(long pk, long[] scProductVersionPKs)
847                    throws com.liferay.portal.kernel.exception.SystemException;
848    
849            /**
850            * Adds an association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
851            *
852            * @param pk the primary key of the s c framework version
853            * @param scProductVersions the s c product versions
854            * @throws SystemException if a system exception occurred
855            */
856            public void addSCProductVersions(long pk,
857                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
858                    throws com.liferay.portal.kernel.exception.SystemException;
859    
860            /**
861            * Clears all associations between the s c framework version and its s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
862            *
863            * @param pk the primary key of the s c framework version to clear the associated s c product versions from
864            * @throws SystemException if a system exception occurred
865            */
866            public void clearSCProductVersions(long pk)
867                    throws com.liferay.portal.kernel.exception.SystemException;
868    
869            /**
870            * Removes the association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
871            *
872            * @param pk the primary key of the s c framework version
873            * @param scProductVersionPK the primary key of the s c product version
874            * @throws SystemException if a system exception occurred
875            */
876            public void removeSCProductVersion(long pk, long scProductVersionPK)
877                    throws com.liferay.portal.kernel.exception.SystemException;
878    
879            /**
880            * Removes the association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
881            *
882            * @param pk the primary key of the s c framework version
883            * @param scProductVersion the s c product version
884            * @throws SystemException if a system exception occurred
885            */
886            public void removeSCProductVersion(long pk,
887                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
888                    throws com.liferay.portal.kernel.exception.SystemException;
889    
890            /**
891            * Removes the association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
892            *
893            * @param pk the primary key of the s c framework version
894            * @param scProductVersionPKs the primary keys of the s c product versions
895            * @throws SystemException if a system exception occurred
896            */
897            public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
898                    throws com.liferay.portal.kernel.exception.SystemException;
899    
900            /**
901            * Removes the association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
902            *
903            * @param pk the primary key of the s c framework version
904            * @param scProductVersions the s c product versions
905            * @throws SystemException if a system exception occurred
906            */
907            public void removeSCProductVersions(long pk,
908                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
909                    throws com.liferay.portal.kernel.exception.SystemException;
910    
911            /**
912            * Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
913            *
914            * @param pk the primary key of the s c framework version
915            * @param scProductVersionPKs the primary keys of the s c product versions to be associated with the s c framework version
916            * @throws SystemException if a system exception occurred
917            */
918            public void setSCProductVersions(long pk, long[] scProductVersionPKs)
919                    throws com.liferay.portal.kernel.exception.SystemException;
920    
921            /**
922            * Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
923            *
924            * @param pk the primary key of the s c framework version
925            * @param scProductVersions the s c product versions to be associated with the s c framework version
926            * @throws SystemException if a system exception occurred
927            */
928            public void setSCProductVersions(long pk,
929                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
930                    throws com.liferay.portal.kernel.exception.SystemException;
931    }