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