com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductVersionPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
      extended by com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>, com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence

public class SCProductVersionPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
implements com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence

The persistence implementation for the s c product version service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
SCProductVersionPersistence, SCProductVersionUtil
Generated:

Nested Class Summary
protected  class SCProductVersionPersistenceImpl.AddSCFrameworkVersion
           
protected  class SCProductVersionPersistenceImpl.ClearSCFrameworkVersions
           
protected  class SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion
           
protected  class SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion
           
 
Field Summary
protected  SCProductVersionPersistenceImpl.AddSCFrameworkVersion addSCFrameworkVersion
           
protected  SCProductVersionPersistenceImpl.ClearSCFrameworkVersions clearSCFrameworkVersions
           
protected  SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion containsSCFrameworkVersion
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCFRAMEWORKVERSION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_DIRECTDOWNLOADURL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PRODUCTENTRYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_DIRECTDOWNLOADURL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID
           
protected  SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion removeSCFrameworkVersion
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
SCProductVersionPersistenceImpl()
           
 
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, com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
          Adds an association between the s c product version and the s c framework version.
 void addSCFrameworkVersions(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.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 afterPropertiesSet()
          Initializes the s c product version persistence.
 void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
          Caches the s c product versions in the entity cache if it is enabled.
 void cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
          Caches the s c product version in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all s c product versions.
 void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
           
 void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
          Clears the cache for the s c product version.
 void clearSCFrameworkVersions(long pk)
          Clears all associations between the s c product version and its s c framework versions.
protected  void clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
           
 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(java.lang.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 = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion create(long productVersionId)
          Creates a new s c product version with the primary key.
 void destroy()
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
          Returns the s c product version where directDownloadURL = ? or returns null if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.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.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(long productVersionId)
          Returns the s c product version with the primary key or returns null if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the s c product version with the primary key or returns null if it could not be found.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
          Returns all the s c product versions.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start, int end)
          Returns a range of all the s c product versions.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product versions.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
          Returns the s c product version where directDownloadURL = ? or throws a NoSuchProductVersionException if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(long productVersionId)
          Returns the s c product version with the primary key or throws a NoSuchProductVersionException if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the s c product version with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first s c product version in the ordered set where productEntryId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last s c product version in the ordered set where productEntryId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the s c product versions before and after the current s c product version in the ordered set where productEntryId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId)
          Returns all the s c product versions where productEntryId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId, int start, int end)
          Returns a range of all the s c product versions where productEntryId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product versions where productEntryId = ?.
protected  com.liferay.portlet.softwarecatalog.model.SCProductVersion getByProductEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk)
          Returns all the s c framework versions associated with the s c product version.
 java.util.List<com.liferay.portlet.softwarecatalog.model.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.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end, com.liferay.portal.kernel.util.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.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(long productVersionId)
          Removes the s c product version with the primary key from the database.
 com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(java.io.Serializable primaryKey)
          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.
 void removeByDirectDownloadURL(java.lang.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.
protected  com.liferay.portlet.softwarecatalog.model.SCProductVersion removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
           
 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, com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
          Removes the association between the s c product version and the s c framework version.
 void removeSCFrameworkVersions(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.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, java.util.List<com.liferay.portlet.softwarecatalog.model.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.
protected  com.liferay.portlet.softwarecatalog.model.SCProductVersion toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID

FINDER_PATH_COUNT_BY_PRODUCTENTRYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PRODUCTENTRYID

FINDER_PATH_FETCH_BY_DIRECTDOWNLOADURL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_DIRECTDOWNLOADURL

FINDER_PATH_COUNT_BY_DIRECTDOWNLOADURL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_DIRECTDOWNLOADURL

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_SCFRAMEWORKVERSIONS

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS

FINDER_PATH_GET_SCFRAMEWORKVERSIONS_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS_SIZE

FINDER_PATH_CONTAINS_SCFRAMEWORKVERSION

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCFRAMEWORKVERSION

scFrameworkVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence

scLicensePersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence

scProductEntryPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

containsSCFrameworkVersion

protected SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion containsSCFrameworkVersion

addSCFrameworkVersion

protected SCProductVersionPersistenceImpl.AddSCFrameworkVersion addSCFrameworkVersion

clearSCFrameworkVersions

protected SCProductVersionPersistenceImpl.ClearSCFrameworkVersions clearSCFrameworkVersions

removeSCFrameworkVersion

protected SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion removeSCFrameworkVersion
Constructor Detail

SCProductVersionPersistenceImpl

public SCProductVersionPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
Caches the s c product version in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
scProductVersion - the s c product version

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
Caches the s c product versions in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
scProductVersions - the s c product versions

clearCache

public void clearCache()
Clears the cache for all s c product versions.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>

clearCache

public void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
Clears the cache for the s c product version.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)

create

public com.liferay.portlet.softwarecatalog.model.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.

Specified by:
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
productVersionId - the primary key for the new s c product version
Returns:
the new s c product version

remove

public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(long productVersionId)
                                                                  throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Removes the s c product version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
productVersionId - the primary key of the s c product version
Returns:
the s c product version that was removed
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(java.io.Serializable primaryKey)
                                                                  throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Removes the s c product version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Parameters:
primaryKey - the primary key of the s c product version
Returns:
the s c product version that was removed
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.softwarecatalog.model.SCProductVersion removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
                                                                             boolean merge)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.softwarecatalog.model.SCProductVersion toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(java.io.Serializable primaryKey)
                                                                            throws com.liferay.portal.NoSuchModelException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the s c product version with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Parameters:
primaryKey - the primary key of the s c product version
Returns:
the s c product version
Throws:
com.liferay.portal.NoSuchModelException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(long productVersionId)
                                                                            throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the s c product version with the primary key or throws a NoSuchProductVersionException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
productVersionId - the primary key of the s c product version
Returns:
the s c product version
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product version with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
Parameters:
primaryKey - 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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(long productVersionId)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product version with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByProductEntryId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId)
                                                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product versions where productEntryId = ?.

Specified by:
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
productEntryId - the product entry ID
Returns:
the matching s c product versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByProductEntryId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
                                                                                                       int start,
                                                                                                       int end)
                                                                                                throws com.liferay.portal.kernel.exception.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.

Specified by:
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByProductEntryId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
                                                                                                       int start,
                                                                                                       int end,
                                                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                                throws com.liferay.portal.kernel.exception.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.

Specified by:
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByProductEntryId_First

public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(long productEntryId,
                                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                      throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                                             com.liferay.portal.kernel.exception.SystemException
Returns the first s c product version in the ordered set 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.

Specified by:
findByProductEntryId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByProductEntryId_Last

public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(long productEntryId,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the last s c product version in the ordered set 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.

Specified by:
findByProductEntryId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByProductEntryId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
                                                                                                     long productEntryId,
                                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                              throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                                                     com.liferay.portal.kernel.exception.SystemException
Returns the s c product versions before and after the current s c product version in the ordered set 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.

Specified by:
findByProductEntryId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByProductEntryId_PrevAndNext

protected com.liferay.portlet.softwarecatalog.model.SCProductVersion getByProductEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                                     com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
                                                                                                     long productEntryId,
                                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                                     boolean previous)

findByDirectDownloadURL

public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
                                                                                   throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                                                                          com.liferay.portal.kernel.exception.SystemException
Returns the s c product version where directDownloadURL = ? or throws a NoSuchProductVersionException if it could not be found.

Specified by:
findByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
directDownloadURL - the direct download u r l
Returns:
the matching s c product version
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByDirectDownloadURL

public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product version where directDownloadURL = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByDirectDownloadURL

public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL,
                                                                                           boolean retrieveFromCache)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product version where directDownloadURL = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product versions.

Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Returns:
the s c product versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.kernel.exception.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.

Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
                                                                                          int end,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                   throws com.liferay.portal.kernel.exception.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.

Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByProductEntryId

public void removeByProductEntryId(long productEntryId)
                            throws com.liferay.portal.kernel.exception.SystemException
Removes all the s c product versions where productEntryId = ? from the database.

Specified by:
removeByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
productEntryId - the product entry ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByDirectDownloadURL

public void removeByDirectDownloadURL(java.lang.String directDownloadURL)
                               throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                      com.liferay.portal.kernel.exception.SystemException
Removes the s c product version where directDownloadURL = ? from the database.

Specified by:
removeByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
directDownloadURL - the direct download u r l
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the s c product versions from the database.

Specified by:
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByProductEntryId

public int countByProductEntryId(long productEntryId)
                          throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product versions where productEntryId = ?.

Specified by:
countByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
productEntryId - the product entry ID
Returns:
the number of matching s c product versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByDirectDownloadURL

public int countByDirectDownloadURL(java.lang.String directDownloadURL)
                             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product versions where directDownloadURL = ?.

Specified by:
countByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
directDownloadURL - the direct download u r l
Returns:
the number of matching s c product versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product versions.

Specified by:
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Returns:
the number of s c product versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCFrameworkVersions

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk)
                                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c framework versions associated with the s c product version.

Specified by:
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCFrameworkVersions

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                                                                           int start,
                                                                                                           int end)
                                                                                                    throws com.liferay.portal.kernel.exception.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.

Specified by:
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCFrameworkVersions

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                                                                           int start,
                                                                                                           int end,
                                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                                    throws com.liferay.portal.kernel.exception.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.

Specified by:
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCFrameworkVersionsSize

public int getSCFrameworkVersionsSize(long pk)
                               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c framework versions associated with the s c product version.

Specified by:
getSCFrameworkVersionsSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsSCFrameworkVersion

public boolean containsSCFrameworkVersion(long pk,
                                          long scFrameworkVersionPK)
                                   throws com.liferay.portal.kernel.exception.SystemException
Returns true if the s c framework version is associated with the s c product version.

Specified by:
containsSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsSCFrameworkVersions

public boolean containsSCFrameworkVersions(long pk)
                                    throws com.liferay.portal.kernel.exception.SystemException
Returns true if the s c product version has any s c framework versions associated with it.

Specified by:
containsSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCFrameworkVersion

public void addSCFrameworkVersion(long pk,
                                  long scFrameworkVersionPK)
                           throws com.liferay.portal.kernel.exception.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.

Specified by:
addSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPK - the primary key of the s c framework version
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCFrameworkVersion

public void addSCFrameworkVersion(long pk,
                                  com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
                           throws com.liferay.portal.kernel.exception.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.

Specified by:
addSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersion - the s c framework version
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCFrameworkVersions

public void addSCFrameworkVersions(long pk,
                                   long[] scFrameworkVersionPKs)
                            throws com.liferay.portal.kernel.exception.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.

Specified by:
addSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPKs - the primary keys of the s c framework versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCFrameworkVersions

public void addSCFrameworkVersions(long pk,
                                   java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
                            throws com.liferay.portal.kernel.exception.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.

Specified by:
addSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersions - the s c framework versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearSCFrameworkVersions

public void clearSCFrameworkVersions(long pk)
                              throws com.liferay.portal.kernel.exception.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.

Specified by:
clearSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version to clear the associated s c framework versions from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCFrameworkVersion

public void removeSCFrameworkVersion(long pk,
                                     long scFrameworkVersionPK)
                              throws com.liferay.portal.kernel.exception.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.

Specified by:
removeSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPK - the primary key of the s c framework version
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCFrameworkVersion

public void removeSCFrameworkVersion(long pk,
                                     com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
                              throws com.liferay.portal.kernel.exception.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.

Specified by:
removeSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersion - the s c framework version
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCFrameworkVersions

public void removeSCFrameworkVersions(long pk,
                                      long[] scFrameworkVersionPKs)
                               throws com.liferay.portal.kernel.exception.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.

Specified by:
removeSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersionPKs - the primary keys of the s c framework versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCFrameworkVersions

public void removeSCFrameworkVersions(long pk,
                                      java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
                               throws com.liferay.portal.kernel.exception.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.

Specified by:
removeSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
Parameters:
pk - the primary key of the s c product version
scFrameworkVersions - the s c framework versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setSCFrameworkVersions

public void setSCFrameworkVersions(long pk,
                                   long[] scFrameworkVersionPKs)
                            throws com.liferay.portal.kernel.exception.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.

Specified by:
setSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setSCFrameworkVersions

public void setSCFrameworkVersions(long pk,
                                   java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
                            throws com.liferay.portal.kernel.exception.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.

Specified by:
setSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the s c product version persistence.


destroy

public void destroy()