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