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