Liferay 6.2-ce-ga5

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.
 SCProductVersion fetchByProductEntryId_First(long productEntryId, OrderByComparator orderByComparator)
          Returns the first s c product version in the ordered set where productEntryId = ?.
 SCProductVersion fetchByProductEntryId_Last(long productEntryId, OrderByComparator 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 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 orderByComparator)
          Returns the first s c product version in the ordered set where productEntryId = ?.
 SCProductVersion findByProductEntryId_Last(long productEntryId, OrderByComparator orderByComparator)
          Returns the last s c product version in the ordered set where productEntryId = ?.
 SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, OrderByComparator 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 orderByComparator)
          Returns an ordered range of all the s c product versions where productEntryId = ?.
 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 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)
                                            throws SystemException
Returns all the s c product versions where productEntryId = ?.

Parameters:
productEntryId - the product entry ID
Returns:
the matching s c product versions
Throws:
SystemException - if a system exception occurred

findByProductEntryId

List<SCProductVersion> findByProductEntryId(long productEntryId,
                                            int start,
                                            int end)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByProductEntryId

List<SCProductVersion> findByProductEntryId(long productEntryId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByProductEntryId_First

SCProductVersion findByProductEntryId_First(long productEntryId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   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
SystemException - if a system exception occurred

fetchByProductEntryId_First

SCProductVersion fetchByProductEntryId_First(long productEntryId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByProductEntryId_Last

SCProductVersion findByProductEntryId_Last(long productEntryId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  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
SystemException - if a system exception occurred

fetchByProductEntryId_Last

SCProductVersion fetchByProductEntryId_Last(long productEntryId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByProductEntryId_PrevAndNext

SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
                                                    long productEntryId,
                                                    OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           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
SystemException - if a system exception occurred

removeByProductEntryId

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

Parameters:
productEntryId - the product entry ID
Throws:
SystemException - if a system exception occurred

countByProductEntryId

int countByProductEntryId(long productEntryId)
                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByDirectDownloadURL

SCProductVersion findByDirectDownloadURL(String directDownloadURL)
                                         throws SystemException,
                                                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
SystemException - if a system exception occurred

fetchByDirectDownloadURL

SCProductVersion fetchByDirectDownloadURL(String directDownloadURL)
                                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

fetchByDirectDownloadURL

SCProductVersion fetchByDirectDownloadURL(String directDownloadURL,
                                          boolean retrieveFromCache)
                                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByDirectDownloadURL

SCProductVersion removeByDirectDownloadURL(String directDownloadURL)
                                           throws SystemException,
                                                  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:
SystemException - if a system exception occurred
NoSuchProductVersionException

countByDirectDownloadURL

int countByDirectDownloadURL(String directDownloadURL)
                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

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 SystemException,
                               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
SystemException - if a system exception occurred

updateImpl

SCProductVersion updateImpl(SCProductVersion scProductVersion)
                            throws SystemException
Throws:
SystemException

findByPrimaryKey

SCProductVersion findByPrimaryKey(long productVersionId)
                                  throws SystemException,
                                         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
SystemException - if a system exception occurred

fetchByPrimaryKey

SCProductVersion fetchByPrimaryKey(long productVersionId)
                                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

findAll

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

Returns:
the s c product versions
Throws:
SystemException - if a system exception occurred

findAll

List<SCProductVersion> findAll(int start,
                               int end)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

findAll

List<SCProductVersion> findAll(int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeAll

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

Throws:
SystemException - if a system exception occurred

countAll

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

Returns:
the number of s c product versions
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersions

List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
                                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersions

List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                int start,
                                                int end)
                                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersions

List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersionsSize

int getSCFrameworkVersionsSize(long pk)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

containsSCFrameworkVersion

boolean containsSCFrameworkVersion(long pk,
                                   long scFrameworkVersionPK)
                                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

containsSCFrameworkVersions

boolean containsSCFrameworkVersions(long pk)
                                    throws SystemException
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
Throws:
SystemException - if a system exception occurred

addSCFrameworkVersion

void addSCFrameworkVersion(long pk,
                           long scFrameworkVersionPK)
                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

addSCFrameworkVersion

void addSCFrameworkVersion(long pk,
                           SCFrameworkVersion scFrameworkVersion)
                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

addSCFrameworkVersions

void addSCFrameworkVersions(long pk,
                            long[] scFrameworkVersionPKs)
                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

addSCFrameworkVersions

void addSCFrameworkVersions(long pk,
                            List<SCFrameworkVersion> scFrameworkVersions)
                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

clearSCFrameworkVersions

void clearSCFrameworkVersions(long pk)
                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeSCFrameworkVersion

void removeSCFrameworkVersion(long pk,
                              long scFrameworkVersionPK)
                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeSCFrameworkVersion

void removeSCFrameworkVersion(long pk,
                              SCFrameworkVersion scFrameworkVersion)
                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeSCFrameworkVersions

void removeSCFrameworkVersions(long pk,
                               long[] scFrameworkVersionPKs)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeSCFrameworkVersions

void removeSCFrameworkVersions(long pk,
                               List<SCFrameworkVersion> scFrameworkVersions)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

setSCFrameworkVersions

void setSCFrameworkVersions(long pk,
                            long[] scFrameworkVersionPKs)
                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

setSCFrameworkVersions

void setSCFrameworkVersions(long pk,
                            List<SCFrameworkVersion> scFrameworkVersions)
                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

Liferay 6.2-ce-ga5