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