Liferay 7.0-ce-m6

com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductVersionPersistence

All Superinterfaces:
BasePersistence<SCProductVersion>
All Known Implementing Classes:
SCProductVersionPersistenceImpl

@ProviderType
public interface SCProductVersionPersistence
extends BasePersistence<SCProductVersion>

The persistence interface for the s c product version service.

Caching information and settings can be found in portal.properties

See Also:
SCProductVersionPersistenceImpl, SCProductVersionUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
          Adds an association between the s c product version and the s c framework version.
 void addSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
          Adds an association between the s c product version and the s c framework version.
 void addSCFrameworkVersions(long pk, List<SCFrameworkVersion> scFrameworkVersions)
          Adds an association between the s c product version and the s c framework versions.
 void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
          Adds an association between the s c product version and the s c framework versions.
 void cacheResult(List<SCProductVersion> scProductVersions)
          Caches the s c product versions in the entity cache if it is enabled.
 void cacheResult(SCProductVersion scProductVersion)
          Caches the s c product version in the entity cache if it is enabled.
 void clearSCFrameworkVersions(long pk)
          Clears all associations between the s c product version and its s c framework versions.
 boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
          Returns true if the s c framework version is associated with the s c product version.
 boolean containsSCFrameworkVersions(long pk)
          Returns true if the s c product version has any s c framework versions associated with it.
 int countAll()
          Returns the number of s c product versions.
 int countByDirectDownloadURL(String directDownloadURL)
          Returns the number of s c product versions where directDownloadURL = ?.
 int countByProductEntryId(long productEntryId)
          Returns the number of s c product versions where productEntryId = ?.
 SCProductVersion create(long productVersionId)
          Creates a new s c product version with the primary key.
 SCProductVersion fetchByDirectDownloadURL(String directDownloadURL)
          Returns the s c product version where directDownloadURL = ? or returns null if it could not be found.
 SCProductVersion fetchByDirectDownloadURL(String directDownloadURL, boolean retrieveFromCache)
          Returns the s c product version where directDownloadURL = ? or returns null if it could not be found, optionally using the finder cache.
 SCProductVersion fetchByPrimaryKey(long productVersionId)
          Returns the s c product version with the primary key or returns null if it could not be found.
 Map<Serializable,SCProductVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 SCProductVersion fetchByProductEntryId_First(long productEntryId, OrderByComparator<SCProductVersion> orderByComparator)
          Returns the first s c product version in the ordered set where productEntryId = ?.
 SCProductVersion fetchByProductEntryId_Last(long productEntryId, OrderByComparator<SCProductVersion> orderByComparator)
          Returns the last s c product version in the ordered set where productEntryId = ?.
 List<SCProductVersion> findAll()
          Returns all the s c product versions.
 List<SCProductVersion> findAll(int start, int end)
          Returns a range of all the s c product versions.
 List<SCProductVersion> findAll(int start, int end, OrderByComparator<SCProductVersion> orderByComparator)
          Returns an ordered range of all the s c product versions.
 SCProductVersion findByDirectDownloadURL(String directDownloadURL)
          Returns the s c product version where directDownloadURL = ? or throws a NoSuchProductVersionException if it could not be found.
 SCProductVersion findByPrimaryKey(long productVersionId)
          Returns the s c product version with the primary key or throws a NoSuchProductVersionException if it could not be found.
 SCProductVersion findByProductEntryId_First(long productEntryId, OrderByComparator<SCProductVersion> orderByComparator)
          Returns the first s c product version in the ordered set where productEntryId = ?.
 SCProductVersion findByProductEntryId_Last(long productEntryId, OrderByComparator<SCProductVersion> orderByComparator)
          Returns the last s c product version in the ordered set where productEntryId = ?.
 SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, OrderByComparator<SCProductVersion> orderByComparator)
          Returns the s c product versions before and after the current s c product version in the ordered set where productEntryId = ?.
 List<SCProductVersion> findByProductEntryId(long productEntryId)
          Returns all the s c product versions where productEntryId = ?.
 List<SCProductVersion> findByProductEntryId(long productEntryId, int start, int end)
          Returns a range of all the s c product versions where productEntryId = ?.
 List<SCProductVersion> findByProductEntryId(long productEntryId, int start, int end, OrderByComparator<SCProductVersion> orderByComparator)
          Returns an ordered range of all the s c product versions where productEntryId = ?.
 long[] getSCFrameworkVersionPrimaryKeys(long pk)
          Returns the primaryKeys of s c framework versions associated with the s c product version.
 List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
          Returns all the s c framework versions associated with the s c product version.
 List<SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end)
          Returns a range of all the s c framework versions associated with the s c product version.
 List<SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end, OrderByComparator<SCFrameworkVersion> orderByComparator)
          Returns an ordered range of all the s c framework versions associated with the s c product version.
 int getSCFrameworkVersionsSize(long pk)
          Returns the number of s c framework versions associated with the s c product version.
 SCProductVersion remove(long productVersionId)
          Removes the s c product version with the primary key from the database.
 void removeAll()
          Removes all the s c product versions from the database.
 SCProductVersion removeByDirectDownloadURL(String directDownloadURL)
          Removes the s c product version where directDownloadURL = ? from the database.
 void removeByProductEntryId(long productEntryId)
          Removes all the s c product versions where productEntryId = ? from the database.
 void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
          Removes the association between the s c product version and the s c framework version.
 void removeSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
          Removes the association between the s c product version and the s c framework version.
 void removeSCFrameworkVersions(long pk, List<SCFrameworkVersion> scFrameworkVersions)
          Removes the association between the s c product version and the s c framework versions.
 void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
          Removes the association between the s c product version and the s c framework versions.
 void setSCFrameworkVersions(long pk, List<SCFrameworkVersion> scFrameworkVersions)
          Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary.
 void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
          Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary.
 SCProductVersion updateImpl(SCProductVersion scProductVersion)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByProductEntryId

List<SCProductVersion> findByProductEntryId(long productEntryId)
Returns all the s c product versions where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
Returns:
the matching s c product versions

findByProductEntryId

List<SCProductVersion> findByProductEntryId(long productEntryId,
                                            int start,
                                            int end)
Returns a range of all the s c product versions where productEntryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductVersionModelImpl. If both orderByComparator 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.

Parameters:
productEntryId - the product entry ID
start - the lower bound of the range of s c product versions
end - the upper bound of the range of s c product versions (not inclusive)
Returns:
the range of matching s c product versions

findByProductEntryId

List<SCProductVersion> findByProductEntryId(long productEntryId,
                                            int start,
                                            int end,
                                            OrderByComparator<SCProductVersion> orderByComparator)
Returns an ordered range of all the s c product versions where productEntryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductVersionModelImpl. If both orderByComparator 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.

Parameters:
productEntryId - the product entry ID
start - the lower bound of the range of s c product versions
end - the upper bound of the range of s c product versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c product versions

findByProductEntryId_First

SCProductVersion findByProductEntryId_First(long productEntryId,
                                            OrderByComparator<SCProductVersion> orderByComparator)
                                            throws NoSuchProductVersionException
Returns the first s c product version in the ordered set where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c product version
Throws:
NoSuchProductVersionException - if a matching s c product version could not be found

fetchByProductEntryId_First

SCProductVersion fetchByProductEntryId_First(long productEntryId,
                                             OrderByComparator<SCProductVersion> orderByComparator)
Returns the first s c product version in the ordered set where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c product version, or null if a matching s c product version could not be found

findByProductEntryId_Last

SCProductVersion findByProductEntryId_Last(long productEntryId,
                                           OrderByComparator<SCProductVersion> orderByComparator)
                                           throws NoSuchProductVersionException
Returns the last s c product version in the ordered set where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c product version
Throws:
NoSuchProductVersionException - if a matching s c product version could not be found

fetchByProductEntryId_Last

SCProductVersion fetchByProductEntryId_Last(long productEntryId,
                                            OrderByComparator<SCProductVersion> orderByComparator)
Returns the last s c product version in the ordered set where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c product version, or null if a matching s c product version could not be found

findByProductEntryId_PrevAndNext

SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
                                                    long productEntryId,
                                                    OrderByComparator<SCProductVersion> orderByComparator)
                                                    throws NoSuchProductVersionException
Returns the s c product versions before and after the current s c product version in the ordered set where productEntryId = ?.

Parameters:
productVersionId - the primary key of the current s c product version
productEntryId - the product entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c product version
Throws:
NoSuchProductVersionException - if a s c product version with the primary key could not be found

removeByProductEntryId

void removeByProductEntryId(long productEntryId)
Removes all the s c product versions where productEntryId = ? from the database.

Parameters:
productEntryId - the product entry ID

countByProductEntryId

int countByProductEntryId(long productEntryId)
Returns the number of s c product versions where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
Returns:
the number of matching s c product versions

findByDirectDownloadURL

SCProductVersion findByDirectDownloadURL(String directDownloadURL)
                                         throws NoSuchProductVersionException
Returns the s c product version where directDownloadURL = ? or throws a NoSuchProductVersionException if it could not be found.

Parameters:
directDownloadURL - the direct download u r l
Returns:
the matching s c product version
Throws:
NoSuchProductVersionException - if a matching s c product version could not be found

fetchByDirectDownloadURL

SCProductVersion fetchByDirectDownloadURL(String directDownloadURL)
Returns the s c product version where directDownloadURL = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
directDownloadURL - the direct download u r l
Returns:
the matching s c product version, or null if a matching s c product version could not be found

fetchByDirectDownloadURL

SCProductVersion fetchByDirectDownloadURL(String directDownloadURL,
                                          boolean retrieveFromCache)
Returns the s c product version where directDownloadURL = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
directDownloadURL - the direct download u r l
retrieveFromCache - whether to use the finder cache
Returns:
the matching s c product version, or null if a matching s c product version could not be found

removeByDirectDownloadURL

SCProductVersion removeByDirectDownloadURL(String directDownloadURL)
                                           throws NoSuchProductVersionException
Removes the s c product version where directDownloadURL = ? from the database.

Parameters:
directDownloadURL - the direct download u r l
Returns:
the s c product version that was removed
Throws:
NoSuchProductVersionException

countByDirectDownloadURL

int countByDirectDownloadURL(String directDownloadURL)
Returns the number of s c product versions where directDownloadURL = ?.

Parameters:
directDownloadURL - the direct download u r l
Returns:
the number of matching s c product versions

cacheResult

void cacheResult(SCProductVersion scProductVersion)
Caches the s c product version in the entity cache if it is enabled.

Parameters:
scProductVersion - the s c product version

cacheResult

void cacheResult(List<SCProductVersion> scProductVersions)
Caches the s c product versions in the entity cache if it is enabled.

Parameters:
scProductVersions - the s c product versions

create

SCProductVersion create(long productVersionId)
Creates a new s c product version with the primary key. Does not add the s c product version to the database.

Parameters:
productVersionId - the primary key for the new s c product version
Returns:
the new s c product version

remove

SCProductVersion remove(long productVersionId)
                        throws NoSuchProductVersionException
Removes the s c product version with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
productVersionId - the primary key of the s c product version
Returns:
the s c product version that was removed
Throws:
NoSuchProductVersionException - if a s c product version with the primary key could not be found

updateImpl

SCProductVersion updateImpl(SCProductVersion scProductVersion)

findByPrimaryKey

SCProductVersion findByPrimaryKey(long productVersionId)
                                  throws NoSuchProductVersionException
Returns the s c product version with the primary key or throws a NoSuchProductVersionException if it could not be found.

Parameters:
productVersionId - the primary key of the s c product version
Returns:
the s c product version
Throws:
NoSuchProductVersionException - if a s c product version with the primary key could not be found

fetchByPrimaryKey

SCProductVersion fetchByPrimaryKey(long productVersionId)
Returns the s c product version with the primary key or returns null if it could not be found.

Parameters:
productVersionId - the primary key of the s c product version
Returns:
the s c product version, or null if a s c product version with the primary key could not be found

fetchByPrimaryKeys

Map<Serializable,SCProductVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<SCProductVersion>

findAll

List<SCProductVersion> findAll()
Returns all the s c product versions.

Returns:
the s c product versions

findAll

List<SCProductVersion> findAll(int start,
                               int end)
Returns a range of all the s c product versions.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductVersionModelImpl. If both orderByComparator 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.

Parameters:
start - the lower bound of the range of s c product versions
end - the upper bound of the range of s c product versions (not inclusive)
Returns:
the range of s c product versions

findAll

List<SCProductVersion> findAll(int start,
                               int end,
                               OrderByComparator<SCProductVersion> orderByComparator)
Returns an ordered range of all the s c product versions.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductVersionModelImpl. If both orderByComparator 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.

Parameters:
start - the lower bound of the range of s c product versions
end - the upper bound of the range of s c product versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of s c product versions

removeAll

void removeAll()
Removes all the s c product versions from the database.


countAll

int countAll()
Returns the number of s c product versions.

Returns:
the number of s c product versions

getSCFrameworkVersionPrimaryKeys

long[] getSCFrameworkVersionPrimaryKeys(long pk)
Returns the primaryKeys of s c framework versions associated with the s c product version.

Parameters:
pk - the primary key of the s c product version
Returns:
long[] of the primaryKeys of s c framework versions associated with the s c product version

getSCFrameworkVersions

List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
Returns all the s c framework versions associated with the s c product version.

Parameters:
pk - the primary key of the s c product version
Returns:
the s c framework versions associated with the s c product version

getSCFrameworkVersions

List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                int start,
                                                int end)
Returns a range of all the s c framework versions associated with the s c product version.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductVersionModelImpl. If both orderByComparator 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.

Parameters:
pk - the primary key of the s c product version
start - the lower bound of the range of s c product versions
end - the upper bound of the range of s c product versions (not inclusive)
Returns:
the range of s c framework versions associated with the s c product version

getSCFrameworkVersions

List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                int start,
                                                int end,
                                                OrderByComparator<SCFrameworkVersion> orderByComparator)
Returns an ordered range of all the s c framework versions associated with the s c product version.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductVersionModelImpl. If both orderByComparator 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.

Parameters:
pk - the primary key of the s c product version
start - the lower bound of the range of s c product versions
end - the upper bound of the range of s c product versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of s c framework versions associated with the s c product version

getSCFrameworkVersionsSize

int getSCFrameworkVersionsSize(long pk)
Returns the number of s c framework versions associated with the s c product version.

Parameters:
pk - the primary key of the s c product version
Returns:
the number of s c framework versions associated with the s c product version

containsSCFrameworkVersion

boolean containsSCFrameworkVersion(long pk,
                                   long scFrameworkVersionPK)
Returns true if the s c framework version is associated with the s c product version.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPK - the primary key of the s c framework version
Returns:
true if the s c framework version is associated with the s c product version; false otherwise

containsSCFrameworkVersions

boolean containsSCFrameworkVersions(long pk)
Returns true if the s c product version has any s c framework versions associated with it.

Parameters:
pk - the primary key of the s c product version to check for associations with s c framework versions
Returns:
true if the s c product version has any s c framework versions associated with it; false otherwise

addSCFrameworkVersion

void addSCFrameworkVersion(long pk,
                           long scFrameworkVersionPK)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPK - the primary key of the s c framework version

addSCFrameworkVersion

void addSCFrameworkVersion(long pk,
                           SCFrameworkVersion scFrameworkVersion)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersion - the s c framework version

addSCFrameworkVersions

void addSCFrameworkVersions(long pk,
                            long[] scFrameworkVersionPKs)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPKs - the primary keys of the s c framework versions

addSCFrameworkVersions

void addSCFrameworkVersions(long pk,
                            List<SCFrameworkVersion> scFrameworkVersions)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersions - the s c framework versions

clearSCFrameworkVersions

void clearSCFrameworkVersions(long pk)
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.

Parameters:
pk - the primary key of the s c product version to clear the associated s c framework versions from

removeSCFrameworkVersion

void removeSCFrameworkVersion(long pk,
                              long scFrameworkVersionPK)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPK - the primary key of the s c framework version

removeSCFrameworkVersion

void removeSCFrameworkVersion(long pk,
                              SCFrameworkVersion scFrameworkVersion)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersion - the s c framework version

removeSCFrameworkVersions

void removeSCFrameworkVersions(long pk,
                               long[] scFrameworkVersionPKs)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPKs - the primary keys of the s c framework versions

removeSCFrameworkVersions

void removeSCFrameworkVersions(long pk,
                               List<SCFrameworkVersion> scFrameworkVersions)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersions - the s c framework versions

setSCFrameworkVersions

void setSCFrameworkVersions(long pk,
                            long[] scFrameworkVersionPKs)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPKs - the primary keys of the s c framework versions to be associated with the s c product version

setSCFrameworkVersions

void setSCFrameworkVersions(long pk,
                            List<SCFrameworkVersion> scFrameworkVersions)
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.

Parameters:
pk - the primary key of the s c product version
scFrameworkVersions - the s c framework versions to be associated with the s c product version

Liferay 7.0-ce-m6