@ProviderType
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 |
|---|---|
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
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.portal.kernel.dao.orm.FinderCache |
finderCache |
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 |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(SCProductVersionModelImpl scProductVersionModelImpl,
boolean isNew) |
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(SCProductVersionModelImpl scProductVersionModelImpl) |
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.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
Returns an ordered 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator,
boolean retrieveFromCache)
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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
Returns an ordered 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator,
boolean retrieveFromCache)
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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator,
boolean previous) |
long[] |
getSCFrameworkVersionPrimaryKeys(long pk)
Returns the primaryKeys of s c framework versions associated with the s c product version.
|
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<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> orderByComparator)
Returns an ordered range of all the s c framework versions associated with the s c product version.
|
int |
getSCFrameworkVersionsSize(long pk)
Returns the number of s c framework versions associated with the s c product version.
|
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
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, getColumnName, 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, getBadColumnNames, 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
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
@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)
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator,
boolean retrieveFromCache)
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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
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 foundprotected 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<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator,
boolean previous)
public void removeByProductEntryId(long productEntryId)
removeByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDpublic int countByProductEntryId(long productEntryId)
countByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry IDpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL,
boolean retrieveFromCache)
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 retrieve from the finder cachenull if a matching s c product version could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion removeByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
removeByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lcom.liferay.portlet.softwarecatalog.NoSuchProductVersionExceptionpublic int countByDirectDownloadURL(java.lang.String directDownloadURL)
countByDirectDownloadURL in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencedirectDownloadURL - the direct download u r lpublic 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(SCProductVersionModelImpl scProductVersionModelImpl, boolean isNew)
protected void clearUniqueFindersCache(SCProductVersionModelImpl scProductVersionModelImpl)
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
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
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 foundprotected com.liferay.portlet.softwarecatalog.model.SCProductVersion removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
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>protected 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
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(long productVersionId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(java.io.Serializable primaryKey)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(long productVersionId)
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 foundpublic java.util.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCProductVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductVersion>fetchByPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencefetchByPrimaryKeys in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductVersion> orderByComparator,
boolean retrieveFromCache)
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)retrieveFromCache - whether to retrieve from the finder cachepublic void removeAll()
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepublic int countAll()
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepublic long[] getSCFrameworkVersionPrimaryKeys(long pk)
getSCFrameworkVersionPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk)
getSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> orderByComparator)
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)public int getSCFrameworkVersionsSize(long pk)
getSCFrameworkVersionsSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionpublic boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
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 otherwisepublic boolean containsSCFrameworkVersions(long pk)
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 otherwisepublic void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
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 versionpublic void addSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
addSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersion - the s c framework versionpublic void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
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 versionspublic void addSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
addSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersions - the s c framework versionspublic void clearSCFrameworkVersions(long pk)
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 frompublic void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
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 versionpublic void removeSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
removeSCFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersion - the s c framework versionpublic void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
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 versionspublic void removeSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
removeSCFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistencepk - the primary key of the s c product versionscFrameworkVersions - the s c framework versionspublic void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
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 versionpublic void setSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
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 versionprotected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>public void afterPropertiesSet()
public void destroy()