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
Caching information and settings can be found in portal.properties
SCProductVersionPersistence,
SCProductVersionUtil| Modifier and Type | Field and Description |
|---|---|
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_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_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 com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence |
scFrameworkVersionPersistence |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.softwarecatalog.model.SCProductVersion,com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> |
scProductVersionToSCFrameworkVersionTableMapper |
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 and Description |
|---|
SCProductVersionPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion) |
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. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByProductEntryId_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 |
fetchByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c product version in the ordered set where productEntryId = ?.
|
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.
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
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) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PRODUCTENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_DIRECTDOWNLOADURL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_DIRECTDOWNLOADURL
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.softwarecatalog.model.SCProductVersion,com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scProductVersionToSCFrameworkVersionTableMapper
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDstart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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
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.
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDstart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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
findByProductEntryId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByProductEntryId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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
findByProductEntryId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByProductEntryId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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
findByProductEntryId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductVersionId - the primary key of the current s c product versionproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected 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)
public void removeByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
countByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
NoSuchProductVersionException if it could not be found.findByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lcom.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lnull if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lretrieveFromCache - whether to use the finder cachenull if a matching s c product version could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion removeByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
removeByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.softwarecatalog.NoSuchProductVersionExceptionpublic int countByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.kernel.exception.SystemException
countByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencescProductVersion - the s c product versionpublic void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencescProductVersions - the s c product versionspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>public void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>protected void cacheUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
protected void clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(long productVersionId)
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductVersionId - the primary key for the new s c product versionpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(long productVersionId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductVersionId - the primary key of the s c product versioncom.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>primaryKey - the primary key of the s c product versioncom.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.softwarecatalog.model.SCProductVersion removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.softwarecatalog.model.SCProductVersion toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>primaryKey - the primary key of the s c product versioncom.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(long productVersionId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
NoSuchProductVersionException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductVersionId - the primary key of the s c product versioncom.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>primaryKey - the primary key of the s c product versionnull if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(long productVersionId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductVersionId - the primary key of the s c product versionnull if a s c product version with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencestart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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
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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencestart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionstart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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
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.
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionstart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getSCFrameworkVersionsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getSCFrameworkVersionsSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the s c framework version is associated with the s c product version.containsSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersionPK - the primary key of the s c framework versiontrue if the s c framework version is associated with the s c product version; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsSCFrameworkVersions(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the s c product version has any s c framework versions associated with it.containsSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product version to check for associations with s c framework versionstrue if the s c product version has any s c framework versions associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.kernel.exception.SystemException
addSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersionPK - the primary key of the s c framework versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.kernel.exception.SystemException
addSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersion - the s c framework versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.kernel.exception.SystemException
addSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersionPKs - the primary keys of the s c framework versionscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.kernel.exception.SystemException
addSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersions - the s c framework versionscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearSCFrameworkVersions(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product version to clear the associated s c framework versions fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.kernel.exception.SystemException
removeSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersionPK - the primary key of the s c framework versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.kernel.exception.SystemException
removeSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersion - the s c framework versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersionPKs - the primary keys of the s c framework versionscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.kernel.exception.SystemException
removeSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersions - the s c framework versionscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.kernel.exception.SystemException
setSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersionPKs - the primary keys of the s c framework versions to be associated with the s c product versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.kernel.exception.SystemException
setSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersions - the s c framework versions to be associated with the s c product versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()