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