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