001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.softwarecatalog.model.SCProductVersion;
022    
023    /**
024     * The persistence interface for the s c product version service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see SCProductVersionPersistenceImpl
032     * @see SCProductVersionUtil
033     * @generated
034     */
035    @ProviderType
036    public interface SCProductVersionPersistence extends BasePersistence<SCProductVersion> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link SCProductVersionUtil} to access the s c product version persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the s c product versions where productEntryId = &#63;.
045            *
046            * @param productEntryId the product entry ID
047            * @return the matching s c product versions
048            * @throws SystemException if a system exception occurred
049            */
050            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
051                    long productEntryId)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            /**
055            * Returns a range of all the s c product versions where productEntryId = &#63;.
056            *
057            * <p>
058            * 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.SCProductVersionModelImpl}. 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.
059            * </p>
060            *
061            * @param productEntryId the product entry ID
062            * @param start the lower bound of the range of s c product versions
063            * @param end the upper bound of the range of s c product versions (not inclusive)
064            * @return the range of matching s c product versions
065            * @throws SystemException if a system exception occurred
066            */
067            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
068                    long productEntryId, int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException;
070    
071            /**
072            * Returns an ordered range of all the s c product versions where productEntryId = &#63;.
073            *
074            * <p>
075            * 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.SCProductVersionModelImpl}. 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.
076            * </p>
077            *
078            * @param productEntryId the product entry ID
079            * @param start the lower bound of the range of s c product versions
080            * @param end the upper bound of the range of s c product versions (not inclusive)
081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
082            * @return the ordered range of matching s c product versions
083            * @throws SystemException if a system exception occurred
084            */
085            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
086                    long productEntryId, int start, int end,
087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            /**
091            * Returns the first s c product version in the ordered set where productEntryId = &#63;.
092            *
093            * @param productEntryId the product entry ID
094            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
095            * @return the first matching s c product version
096            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a matching s c product version could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(
100                    long productEntryId,
101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102                    throws com.liferay.portal.kernel.exception.SystemException,
103                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
104    
105            /**
106            * Returns the first s c product version in the ordered set where productEntryId = &#63;.
107            *
108            * @param productEntryId the product entry ID
109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
110            * @return the first matching s c product version, or <code>null</code> if a matching s c product version could not be found
111            * @throws SystemException if a system exception occurred
112            */
113            public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByProductEntryId_First(
114                    long productEntryId,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns the last s c product version in the ordered set where productEntryId = &#63;.
120            *
121            * @param productEntryId the product entry ID
122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
123            * @return the last matching s c product version
124            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a matching s c product version could not be found
125            * @throws SystemException if a system exception occurred
126            */
127            public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(
128                    long productEntryId,
129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130                    throws com.liferay.portal.kernel.exception.SystemException,
131                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
132    
133            /**
134            * Returns the last s c product version in the ordered set where productEntryId = &#63;.
135            *
136            * @param productEntryId the product entry ID
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the last matching s c product version, or <code>null</code> if a matching s c product version could not be found
139            * @throws SystemException if a system exception occurred
140            */
141            public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByProductEntryId_Last(
142                    long productEntryId,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * Returns the s c product versions before and after the current s c product version in the ordered set where productEntryId = &#63;.
148            *
149            * @param productVersionId the primary key of the current s c product version
150            * @param productEntryId the product entry ID
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next s c product version
153            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a s c product version with the primary key could not be found
154            * @throws SystemException if a system exception occurred
155            */
156            public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(
157                    long productVersionId, long productEntryId,
158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
161    
162            /**
163            * Removes all the s c product versions where productEntryId = &#63; from the database.
164            *
165            * @param productEntryId the product entry ID
166            * @throws SystemException if a system exception occurred
167            */
168            public void removeByProductEntryId(long productEntryId)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            /**
172            * Returns the number of s c product versions where productEntryId = &#63;.
173            *
174            * @param productEntryId the product entry ID
175            * @return the number of matching s c product versions
176            * @throws SystemException if a system exception occurred
177            */
178            public int countByProductEntryId(long productEntryId)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns the s c product version where directDownloadURL = &#63; or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductVersionException} if it could not be found.
183            *
184            * @param directDownloadURL the direct download u r l
185            * @return the matching s c product version
186            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a matching s c product version could not be found
187            * @throws SystemException if a system exception occurred
188            */
189            public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(
190                    java.lang.String directDownloadURL)
191                    throws com.liferay.portal.kernel.exception.SystemException,
192                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
193    
194            /**
195            * Returns the s c product version where directDownloadURL = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
196            *
197            * @param directDownloadURL the direct download u r l
198            * @return the matching s c product version, or <code>null</code> if a matching s c product version could not be found
199            * @throws SystemException if a system exception occurred
200            */
201            public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
202                    java.lang.String directDownloadURL)
203                    throws com.liferay.portal.kernel.exception.SystemException;
204    
205            /**
206            * Returns the s c product version where directDownloadURL = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
207            *
208            * @param directDownloadURL the direct download u r l
209            * @param retrieveFromCache whether to use the finder cache
210            * @return the matching s c product version, or <code>null</code> if a matching s c product version could not be found
211            * @throws SystemException if a system exception occurred
212            */
213            public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
214                    java.lang.String directDownloadURL, boolean retrieveFromCache)
215                    throws com.liferay.portal.kernel.exception.SystemException;
216    
217            /**
218            * Removes the s c product version where directDownloadURL = &#63; from the database.
219            *
220            * @param directDownloadURL the direct download u r l
221            * @return the s c product version that was removed
222            * @throws SystemException if a system exception occurred
223            */
224            public com.liferay.portlet.softwarecatalog.model.SCProductVersion removeByDirectDownloadURL(
225                    java.lang.String directDownloadURL)
226                    throws com.liferay.portal.kernel.exception.SystemException,
227                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
228    
229            /**
230            * Returns the number of s c product versions where directDownloadURL = &#63;.
231            *
232            * @param directDownloadURL the direct download u r l
233            * @return the number of matching s c product versions
234            * @throws SystemException if a system exception occurred
235            */
236            public int countByDirectDownloadURL(java.lang.String directDownloadURL)
237                    throws com.liferay.portal.kernel.exception.SystemException;
238    
239            /**
240            * Caches the s c product version in the entity cache if it is enabled.
241            *
242            * @param scProductVersion the s c product version
243            */
244            public void cacheResult(
245                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion);
246    
247            /**
248            * Caches the s c product versions in the entity cache if it is enabled.
249            *
250            * @param scProductVersions the s c product versions
251            */
252            public void cacheResult(
253                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions);
254    
255            /**
256            * Creates a new s c product version with the primary key. Does not add the s c product version to the database.
257            *
258            * @param productVersionId the primary key for the new s c product version
259            * @return the new s c product version
260            */
261            public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(
262                    long productVersionId);
263    
264            /**
265            * Removes the s c product version with the primary key from the database. Also notifies the appropriate model listeners.
266            *
267            * @param productVersionId the primary key of the s c product version
268            * @return the s c product version that was removed
269            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a s c product version with the primary key could not be found
270            * @throws SystemException if a system exception occurred
271            */
272            public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
273                    long productVersionId)
274                    throws com.liferay.portal.kernel.exception.SystemException,
275                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
276    
277            public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(
278                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
279                    throws com.liferay.portal.kernel.exception.SystemException;
280    
281            /**
282            * Returns the s c product version with the primary key or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductVersionException} if it could not be found.
283            *
284            * @param productVersionId the primary key of the s c product version
285            * @return the s c product version
286            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a s c product version with the primary key could not be found
287            * @throws SystemException if a system exception occurred
288            */
289            public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(
290                    long productVersionId)
291                    throws com.liferay.portal.kernel.exception.SystemException,
292                            com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
293    
294            /**
295            * Returns the s c product version with the primary key or returns <code>null</code> if it could not be found.
296            *
297            * @param productVersionId the primary key of the s c product version
298            * @return the s c product version, or <code>null</code> if a s c product version with the primary key could not be found
299            * @throws SystemException if a system exception occurred
300            */
301            public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(
302                    long productVersionId)
303                    throws com.liferay.portal.kernel.exception.SystemException;
304    
305            /**
306            * Returns all the s c product versions.
307            *
308            * @return the s c product versions
309            * @throws SystemException if a system exception occurred
310            */
311            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
312                    throws com.liferay.portal.kernel.exception.SystemException;
313    
314            /**
315            * Returns a range of all the s c product versions.
316            *
317            * <p>
318            * 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.SCProductVersionModelImpl}. 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.
319            * </p>
320            *
321            * @param start the lower bound of the range of s c product versions
322            * @param end the upper bound of the range of s c product versions (not inclusive)
323            * @return the range of s c product versions
324            * @throws SystemException if a system exception occurred
325            */
326            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
327                    int start, int end)
328                    throws com.liferay.portal.kernel.exception.SystemException;
329    
330            /**
331            * Returns an ordered range of all the s c product versions.
332            *
333            * <p>
334            * 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.SCProductVersionModelImpl}. 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.
335            * </p>
336            *
337            * @param start the lower bound of the range of s c product versions
338            * @param end the upper bound of the range of s c product versions (not inclusive)
339            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
340            * @return the ordered range of s c product versions
341            * @throws SystemException if a system exception occurred
342            */
343            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
344                    int start, int end,
345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
346                    throws com.liferay.portal.kernel.exception.SystemException;
347    
348            /**
349            * Removes all the s c product versions from the database.
350            *
351            * @throws SystemException if a system exception occurred
352            */
353            public void removeAll()
354                    throws com.liferay.portal.kernel.exception.SystemException;
355    
356            /**
357            * Returns the number of s c product versions.
358            *
359            * @return the number of s c product versions
360            * @throws SystemException if a system exception occurred
361            */
362            public int countAll()
363                    throws com.liferay.portal.kernel.exception.SystemException;
364    
365            /**
366            * Returns all the s c framework versions associated with the s c product version.
367            *
368            * @param pk the primary key of the s c product version
369            * @return the s c framework versions associated with the s c product version
370            * @throws SystemException if a system exception occurred
371            */
372            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
373                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
374    
375            /**
376            * Returns a range of all the s c framework versions associated with the s c product version.
377            *
378            * <p>
379            * 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.SCProductVersionModelImpl}. 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.
380            * </p>
381            *
382            * @param pk the primary key of the s c product version
383            * @param start the lower bound of the range of s c product versions
384            * @param end the upper bound of the range of s c product versions (not inclusive)
385            * @return the range of s c framework versions associated with the s c product version
386            * @throws SystemException if a system exception occurred
387            */
388            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
389                    long pk, int start, int end)
390                    throws com.liferay.portal.kernel.exception.SystemException;
391    
392            /**
393            * Returns an ordered range of all the s c framework versions associated with the s c product version.
394            *
395            * <p>
396            * 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.SCProductVersionModelImpl}. 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.
397            * </p>
398            *
399            * @param pk the primary key of the s c product version
400            * @param start the lower bound of the range of s c product versions
401            * @param end the upper bound of the range of s c product versions (not inclusive)
402            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
403            * @return the ordered range of s c framework versions associated with the s c product version
404            * @throws SystemException if a system exception occurred
405            */
406            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
407                    long pk, int start, int end,
408                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
409                    throws com.liferay.portal.kernel.exception.SystemException;
410    
411            /**
412            * Returns the number of s c framework versions associated with the s c product version.
413            *
414            * @param pk the primary key of the s c product version
415            * @return the number of s c framework versions associated with the s c product version
416            * @throws SystemException if a system exception occurred
417            */
418            public int getSCFrameworkVersionsSize(long pk)
419                    throws com.liferay.portal.kernel.exception.SystemException;
420    
421            /**
422            * Returns <code>true</code> if the s c framework version is associated with the s c product version.
423            *
424            * @param pk the primary key of the s c product version
425            * @param scFrameworkVersionPK the primary key of the s c framework version
426            * @return <code>true</code> if the s c framework version is associated with the s c product version; <code>false</code> otherwise
427            * @throws SystemException if a system exception occurred
428            */
429            public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
430                    throws com.liferay.portal.kernel.exception.SystemException;
431    
432            /**
433            * Returns <code>true</code> if the s c product version has any s c framework versions associated with it.
434            *
435            * @param pk the primary key of the s c product version to check for associations with s c framework versions
436            * @return <code>true</code> if the s c product version has any s c framework versions associated with it; <code>false</code> otherwise
437            * @throws SystemException if a system exception occurred
438            */
439            public boolean containsSCFrameworkVersions(long pk)
440                    throws com.liferay.portal.kernel.exception.SystemException;
441    
442            /**
443            * Adds an association between the s c product version and the s c framework version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
444            *
445            * @param pk the primary key of the s c product version
446            * @param scFrameworkVersionPK the primary key of the s c framework version
447            * @throws SystemException if a system exception occurred
448            */
449            public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
450                    throws com.liferay.portal.kernel.exception.SystemException;
451    
452            /**
453            * Adds an association between the s c product version and the s c framework version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
454            *
455            * @param pk the primary key of the s c product version
456            * @param scFrameworkVersion the s c framework version
457            * @throws SystemException if a system exception occurred
458            */
459            public void addSCFrameworkVersion(long pk,
460                    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
461                    throws com.liferay.portal.kernel.exception.SystemException;
462    
463            /**
464            * Adds an association between the s c product version and the s c framework versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
465            *
466            * @param pk the primary key of the s c product version
467            * @param scFrameworkVersionPKs the primary keys of the s c framework versions
468            * @throws SystemException if a system exception occurred
469            */
470            public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            /**
474            * Adds an association between the s c product version and the s c framework versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
475            *
476            * @param pk the primary key of the s c product version
477            * @param scFrameworkVersions the s c framework versions
478            * @throws SystemException if a system exception occurred
479            */
480            public void addSCFrameworkVersions(long pk,
481                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
482                    throws com.liferay.portal.kernel.exception.SystemException;
483    
484            /**
485            * Clears all associations between the s c product version and its s c framework versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
486            *
487            * @param pk the primary key of the s c product version to clear the associated s c framework versions from
488            * @throws SystemException if a system exception occurred
489            */
490            public void clearSCFrameworkVersions(long pk)
491                    throws com.liferay.portal.kernel.exception.SystemException;
492    
493            /**
494            * Removes the association between the s c product version and the s c framework version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
495            *
496            * @param pk the primary key of the s c product version
497            * @param scFrameworkVersionPK the primary key of the s c framework version
498            * @throws SystemException if a system exception occurred
499            */
500            public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
501                    throws com.liferay.portal.kernel.exception.SystemException;
502    
503            /**
504            * Removes the association between the s c product version and the s c framework version. Also notifies the appropriate model listeners and clears the mapping table finder cache.
505            *
506            * @param pk the primary key of the s c product version
507            * @param scFrameworkVersion the s c framework version
508            * @throws SystemException if a system exception occurred
509            */
510            public void removeSCFrameworkVersion(long pk,
511                    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
512                    throws com.liferay.portal.kernel.exception.SystemException;
513    
514            /**
515            * Removes the association between the s c product version and the s c framework versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
516            *
517            * @param pk the primary key of the s c product version
518            * @param scFrameworkVersionPKs the primary keys of the s c framework versions
519            * @throws SystemException if a system exception occurred
520            */
521            public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
522                    throws com.liferay.portal.kernel.exception.SystemException;
523    
524            /**
525            * Removes the association between the s c product version and the s c framework versions. Also notifies the appropriate model listeners and clears the mapping table finder cache.
526            *
527            * @param pk the primary key of the s c product version
528            * @param scFrameworkVersions the s c framework versions
529            * @throws SystemException if a system exception occurred
530            */
531            public void removeSCFrameworkVersions(long pk,
532                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
533                    throws com.liferay.portal.kernel.exception.SystemException;
534    
535            /**
536            * Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
537            *
538            * @param pk the primary key of the s c product version
539            * @param scFrameworkVersionPKs the primary keys of the s c framework versions to be associated with the s c product version
540            * @throws SystemException if a system exception occurred
541            */
542            public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
543                    throws com.liferay.portal.kernel.exception.SystemException;
544    
545            /**
546            * Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
547            *
548            * @param pk the primary key of the s c product version
549            * @param scFrameworkVersions the s c framework versions to be associated with the s c product version
550            * @throws SystemException if a system exception occurred
551            */
552            public void setSCFrameworkVersions(long pk,
553                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
554                    throws com.liferay.portal.kernel.exception.SystemException;
555    }