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 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 * <p> 158 * 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. 159 * </p> 160 * 161 * @param productEntryId the product entry ID 162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 163 * @return the first matching s c product version 164 * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a matching s c product version could not be found 165 * @throws SystemException if a system exception occurred 166 */ 167 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First( 168 long productEntryId, 169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 170 throws com.liferay.portal.kernel.exception.SystemException, 171 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException; 172 173 /** 174 * Returns the last s c product version in the ordered set where productEntryId = ?. 175 * 176 * <p> 177 * 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. 178 * </p> 179 * 180 * @param productEntryId the product entry ID 181 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 182 * @return the last matching s c product version 183 * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a matching s c product version could not be found 184 * @throws SystemException if a system exception occurred 185 */ 186 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last( 187 long productEntryId, 188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 189 throws com.liferay.portal.kernel.exception.SystemException, 190 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException; 191 192 /** 193 * Returns the s c product versions before and after the current s c product version in the ordered set where productEntryId = ?. 194 * 195 * <p> 196 * 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. 197 * </p> 198 * 199 * @param productVersionId the primary key of the current s c product version 200 * @param productEntryId the product entry ID 201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 202 * @return the previous, current, and next s c product version 203 * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a s c product version with the primary key could not be found 204 * @throws SystemException if a system exception occurred 205 */ 206 public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext( 207 long productVersionId, long productEntryId, 208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 209 throws com.liferay.portal.kernel.exception.SystemException, 210 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException; 211 212 /** 213 * Returns the s c product version where directDownloadURL = ? or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductVersionException} if it could not be found. 214 * 215 * @param directDownloadURL the direct download u r l 216 * @return the matching s c product version 217 * @throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException if a matching s c product version could not be found 218 * @throws SystemException if a system exception occurred 219 */ 220 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL( 221 java.lang.String directDownloadURL) 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 returns <code>null</code> if it could not be found. Uses the finder cache. 227 * 228 * @param directDownloadURL the direct download u r l 229 * @return the matching s c product version, or <code>null</code> if a matching s c product version could not be found 230 * @throws SystemException if a system exception occurred 231 */ 232 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL( 233 java.lang.String directDownloadURL) 234 throws com.liferay.portal.kernel.exception.SystemException; 235 236 /** 237 * Returns the s c product version where directDownloadURL = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 238 * 239 * @param directDownloadURL the direct download u r l 240 * @param retrieveFromCache whether to use the finder cache 241 * @return the matching s c product version, or <code>null</code> if a matching s c product version could not be found 242 * @throws SystemException if a system exception occurred 243 */ 244 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL( 245 java.lang.String directDownloadURL, boolean retrieveFromCache) 246 throws com.liferay.portal.kernel.exception.SystemException; 247 248 /** 249 * Returns all the s c product versions. 250 * 251 * @return the s c product versions 252 * @throws SystemException if a system exception occurred 253 */ 254 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll() 255 throws com.liferay.portal.kernel.exception.SystemException; 256 257 /** 258 * Returns a range of all the s c product versions. 259 * 260 * <p> 261 * 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. 262 * </p> 263 * 264 * @param start the lower bound of the range of s c product versions 265 * @param end the upper bound of the range of s c product versions (not inclusive) 266 * @return the range of s c product versions 267 * @throws SystemException if a system exception occurred 268 */ 269 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll( 270 int start, int end) 271 throws com.liferay.portal.kernel.exception.SystemException; 272 273 /** 274 * Returns an ordered range of all the s c product versions. 275 * 276 * <p> 277 * 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. 278 * </p> 279 * 280 * @param start the lower bound of the range of s c product versions 281 * @param end the upper bound of the range of s c product versions (not inclusive) 282 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 283 * @return the ordered range of s c product versions 284 * @throws SystemException if a system exception occurred 285 */ 286 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll( 287 int start, int end, 288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 289 throws com.liferay.portal.kernel.exception.SystemException; 290 291 /** 292 * Removes all the s c product versions where productEntryId = ? from the database. 293 * 294 * @param productEntryId the product entry ID 295 * @throws SystemException if a system exception occurred 296 */ 297 public void removeByProductEntryId(long productEntryId) 298 throws com.liferay.portal.kernel.exception.SystemException; 299 300 /** 301 * Removes the s c product version where directDownloadURL = ? from the database. 302 * 303 * @param directDownloadURL the direct download u r l 304 * @throws SystemException if a system exception occurred 305 */ 306 public void removeByDirectDownloadURL(java.lang.String directDownloadURL) 307 throws com.liferay.portal.kernel.exception.SystemException, 308 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException; 309 310 /** 311 * Removes all the s c product versions from the database. 312 * 313 * @throws SystemException if a system exception occurred 314 */ 315 public void removeAll() 316 throws com.liferay.portal.kernel.exception.SystemException; 317 318 /** 319 * Returns the number of s c product versions where productEntryId = ?. 320 * 321 * @param productEntryId the product entry ID 322 * @return the number of matching s c product versions 323 * @throws SystemException if a system exception occurred 324 */ 325 public int countByProductEntryId(long productEntryId) 326 throws com.liferay.portal.kernel.exception.SystemException; 327 328 /** 329 * Returns the number of s c product versions where directDownloadURL = ?. 330 * 331 * @param directDownloadURL the direct download u r l 332 * @return the number of matching s c product versions 333 * @throws SystemException if a system exception occurred 334 */ 335 public int countByDirectDownloadURL(java.lang.String directDownloadURL) 336 throws com.liferay.portal.kernel.exception.SystemException; 337 338 /** 339 * Returns the number of s c product versions. 340 * 341 * @return the number of s c product versions 342 * @throws SystemException if a system exception occurred 343 */ 344 public int countAll() 345 throws com.liferay.portal.kernel.exception.SystemException; 346 347 /** 348 * Returns all the s c framework versions associated with the s c product version. 349 * 350 * @param pk the primary key of the s c product version 351 * @return the s c framework versions associated with the s c product version 352 * @throws SystemException if a system exception occurred 353 */ 354 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions( 355 long pk) throws com.liferay.portal.kernel.exception.SystemException; 356 357 /** 358 * Returns a range of all the s c framework versions associated with the s c product version. 359 * 360 * <p> 361 * 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. 362 * </p> 363 * 364 * @param pk the primary key of the s c product version 365 * @param start the lower bound of the range of s c product versions 366 * @param end the upper bound of the range of s c product versions (not inclusive) 367 * @return the range of 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, int start, int end) 372 throws com.liferay.portal.kernel.exception.SystemException; 373 374 /** 375 * Returns an ordered range of all the s c framework versions associated with the s c product version. 376 * 377 * <p> 378 * 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. 379 * </p> 380 * 381 * @param pk the primary key of the s c product version 382 * @param start the lower bound of the range of s c product versions 383 * @param end the upper bound of the range of s c product versions (not inclusive) 384 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 385 * @return the ordered range of s c framework versions associated with the s c product version 386 * @throws SystemException if a system exception occurred 387 */ 388 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions( 389 long pk, int start, int end, 390 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 391 throws com.liferay.portal.kernel.exception.SystemException; 392 393 /** 394 * Returns the number of s c framework versions associated with the s c product version. 395 * 396 * @param pk the primary key of the s c product version 397 * @return the number of s c framework versions associated with the s c product version 398 * @throws SystemException if a system exception occurred 399 */ 400 public int getSCFrameworkVersionsSize(long pk) 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Returns <code>true</code> if the s c framework version is associated with the s c product version. 405 * 406 * @param pk the primary key of the s c product version 407 * @param scFrameworkVersionPK the primary key of the s c framework version 408 * @return <code>true</code> if the s c framework version is associated with the s c product version; <code>false</code> otherwise 409 * @throws SystemException if a system exception occurred 410 */ 411 public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK) 412 throws com.liferay.portal.kernel.exception.SystemException; 413 414 /** 415 * Returns <code>true</code> if the s c product version has any s c framework versions associated with it. 416 * 417 * @param pk the primary key of the s c product version to check for associations with s c framework versions 418 * @return <code>true</code> if the s c product version has any s c framework versions associated with it; <code>false</code> otherwise 419 * @throws SystemException if a system exception occurred 420 */ 421 public boolean containsSCFrameworkVersions(long pk) 422 throws com.liferay.portal.kernel.exception.SystemException; 423 424 /** 425 * 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. 426 * 427 * @param pk the primary key of the s c product version 428 * @param scFrameworkVersionPK the primary key of the s c framework version 429 * @throws SystemException if a system exception occurred 430 */ 431 public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK) 432 throws com.liferay.portal.kernel.exception.SystemException; 433 434 /** 435 * 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. 436 * 437 * @param pk the primary key of the s c product version 438 * @param scFrameworkVersion the s c framework version 439 * @throws SystemException if a system exception occurred 440 */ 441 public void addSCFrameworkVersion(long pk, 442 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion) 443 throws com.liferay.portal.kernel.exception.SystemException; 444 445 /** 446 * 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. 447 * 448 * @param pk the primary key of the s c product version 449 * @param scFrameworkVersionPKs the primary keys of the s c framework versions 450 * @throws SystemException if a system exception occurred 451 */ 452 public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs) 453 throws com.liferay.portal.kernel.exception.SystemException; 454 455 /** 456 * 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. 457 * 458 * @param pk the primary key of the s c product version 459 * @param scFrameworkVersions the s c framework versions 460 * @throws SystemException if a system exception occurred 461 */ 462 public void addSCFrameworkVersions(long pk, 463 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions) 464 throws com.liferay.portal.kernel.exception.SystemException; 465 466 /** 467 * 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. 468 * 469 * @param pk the primary key of the s c product version to clear the associated s c framework versions from 470 * @throws SystemException if a system exception occurred 471 */ 472 public void clearSCFrameworkVersions(long pk) 473 throws com.liferay.portal.kernel.exception.SystemException; 474 475 /** 476 * 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. 477 * 478 * @param pk the primary key of the s c product version 479 * @param scFrameworkVersionPK the primary key of the s c framework version 480 * @throws SystemException if a system exception occurred 481 */ 482 public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK) 483 throws com.liferay.portal.kernel.exception.SystemException; 484 485 /** 486 * 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. 487 * 488 * @param pk the primary key of the s c product version 489 * @param scFrameworkVersion the s c framework version 490 * @throws SystemException if a system exception occurred 491 */ 492 public void removeSCFrameworkVersion(long pk, 493 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion) 494 throws com.liferay.portal.kernel.exception.SystemException; 495 496 /** 497 * 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. 498 * 499 * @param pk the primary key of the s c product version 500 * @param scFrameworkVersionPKs the primary keys of the s c framework versions 501 * @throws SystemException if a system exception occurred 502 */ 503 public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs) 504 throws com.liferay.portal.kernel.exception.SystemException; 505 506 /** 507 * 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. 508 * 509 * @param pk the primary key of the s c product version 510 * @param scFrameworkVersions the s c framework versions 511 * @throws SystemException if a system exception occurred 512 */ 513 public void removeSCFrameworkVersions(long pk, 514 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions) 515 throws com.liferay.portal.kernel.exception.SystemException; 516 517 /** 518 * 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. 519 * 520 * @param pk the primary key of the s c product version 521 * @param scFrameworkVersionPKs the primary keys of the s c framework versions to be associated with the s c product version 522 * @throws SystemException if a system exception occurred 523 */ 524 public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs) 525 throws com.liferay.portal.kernel.exception.SystemException; 526 527 /** 528 * 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. 529 * 530 * @param pk the primary key of the s c product version 531 * @param scFrameworkVersions the s c framework versions to be associated with the s c product version 532 * @throws SystemException if a system exception occurred 533 */ 534 public void setSCFrameworkVersions(long pk, 535 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions) 536 throws com.liferay.portal.kernel.exception.SystemException; 537 }