001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 to cache 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 to cache 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 to remove 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 * 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. 086 * 087 * @param productVersionId the primary key of the s c product version to find 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 * Finds 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 to find 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 * Finds all the s c product versions where productEntryId = ?. 110 * 111 * @param productEntryId the product entry ID to search with 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 * Finds 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 to search with 127 * @param start the lower bound of the range of s c product versions to return 128 * @param end the upper bound of the range of s c product versions to return (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 * Finds 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 to search with 144 * @param start the lower bound of the range of s c product versions to return 145 * @param end the upper bound of the range of s c product versions to return (not inclusive) 146 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 163 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 182 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 202 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 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 * Finds 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 to search with 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 * Finds 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 to search with 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 * Finds 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 * Finds 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 to return 265 * @param end the upper bound of the range of s c product versions to return (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 * Finds 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 to return 281 * @param end the upper bound of the range of s c product versions to return (not inclusive) 282 * @param orderByComparator the comparator to order the results by 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 to search with 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 to search with 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 * Counts all the s c product versions where productEntryId = ?. 320 * 321 * @param productEntryId the product entry ID to search with 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 * Counts all the s c product versions where directDownloadURL = ?. 330 * 331 * @param directDownloadURL the direct download u r l to search with 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 * Counts all the 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 * Gets 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 to get the associated s c framework versions for 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 * Gets 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 to get the associated s c framework versions for 365 * @param start the lower bound of the range of s c product versions to return 366 * @param end the upper bound of the range of s c product versions to return (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 * Gets 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 to get the associated s c framework versions for 382 * @param start the lower bound of the range of s c product versions to return 383 * @param end the upper bound of the range of s c product versions to return (not inclusive) 384 * @param orderByComparator the comparator to order the results by 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 * Gets 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 to get the number of associated s c framework versions for 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 * Determines 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 * Determines 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 to set the associations for 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 to set the associations for 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 538 public SCProductVersion remove(SCProductVersion scProductVersion) 539 throws SystemException; 540 }