|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductVersion>
com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceImpl
public class SCProductVersionPersistenceImpl
The persistence implementation for the s c product version service.
Caching information and settings can be found in portal.properties
SCProductVersionPersistence,
SCProductVersionUtil| Nested Class Summary | |
|---|---|
protected class |
SCProductVersionPersistenceImpl.AddSCFrameworkVersion
|
protected class |
SCProductVersionPersistenceImpl.ClearSCFrameworkVersions
|
protected class |
SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion
|
protected class |
SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion
|
| Field Summary | |
|---|---|
protected SCProductVersionPersistenceImpl.AddSCFrameworkVersion |
addSCFrameworkVersion
|
protected SCProductVersionPersistenceImpl.ClearSCFrameworkVersions |
clearSCFrameworkVersions
|
protected SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion |
containsSCFrameworkVersion
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_CONTAINS_SCFRAMEWORKVERSION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_DIRECTDOWNLOADURL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PRODUCTENTRYID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_DIRECTDOWNLOADURL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_SCFRAMEWORKVERSIONS
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_SCFRAMEWORKVERSIONS_SIZE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID
|
protected SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion |
removeSCFrameworkVersion
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence |
scFrameworkVersionPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence |
scLicensePersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence |
scProductEntryPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence |
scProductScreenshotPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence |
scProductVersionPersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
SCProductVersionPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
Adds an association between the s c product version and the s c framework version. |
void |
addSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
Adds an association between the s c product version and the s c framework version. |
void |
addSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
Adds an association between the s c product version and the s c framework versions. |
void |
addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
Adds an association between the s c product version and the s c framework versions. |
void |
afterPropertiesSet()
Initializes the s c product version persistence. |
void |
cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
Caches the s c product versions in the entity cache if it is enabled. |
void |
cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
Caches the s c product version in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all s c product versions. |
void |
clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
|
void |
clearCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
Clears the cache for the s c product version. |
void |
clearSCFrameworkVersions(long pk)
Clears all associations between the s c product version and its s c framework versions. |
protected void |
clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
|
boolean |
containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
Returns true if the s c framework version is associated with the s c product version. |
boolean |
containsSCFrameworkVersions(long pk)
Returns true if the s c product version has any s c framework versions associated with it. |
int |
countAll()
Returns the number of s c product versions. |
int |
countByDirectDownloadURL(java.lang.String directDownloadURL)
Returns the number of s c product versions where directDownloadURL = ?. |
int |
countByProductEntryId(long productEntryId)
Returns the number of s c product versions where productEntryId = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
create(long productVersionId)
Creates a new s c product version with the primary key. |
void |
destroy()
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByDirectDownloadURL(java.lang.String directDownloadURL)
Returns the s c product version where directDownloadURL = ? or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByDirectDownloadURL(java.lang.String directDownloadURL,
boolean retrieveFromCache)
Returns the s c product version where directDownloadURL = ? or returns null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByPrimaryKey(long productVersionId)
Returns the s c product version with the primary key or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c product version with the primary key or returns null if it could not be found. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
findAll()
Returns all the s c product versions. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
findAll(int start,
int end)
Returns a range of all the s c product versions. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c product versions. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByDirectDownloadURL(java.lang.String directDownloadURL)
Returns the s c product version where directDownloadURL = ? or throws a NoSuchProductVersionException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByPrimaryKey(long productVersionId)
Returns the s c product version with the primary key or throws a NoSuchProductVersionException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c product version with the primary key or throws a NoSuchModelException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c product version in the ordered set where productEntryId = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c product version in the ordered set where productEntryId = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion[] |
findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c product versions before and after the current s c product version in the ordered set where productEntryId = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
findByProductEntryId(long productEntryId)
Returns all the s c product versions where productEntryId = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end)
Returns a range of all the s c product versions where productEntryId = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c product versions where productEntryId = ?. |
protected com.liferay.portlet.softwarecatalog.model.SCProductVersion |
getByProductEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> |
getSCFrameworkVersions(long pk)
Returns all the s c framework versions associated with the s c product version. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end)
Returns a range of all the s c framework versions associated with the s c product version. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions associated with the s c product version. |
int |
getSCFrameworkVersionsSize(long pk)
Returns the number of s c framework versions associated with the s c product version. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
remove(long productVersionId)
Removes the s c product version with the primary key from the database. |
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
remove(java.io.Serializable primaryKey)
Removes the s c product version with the primary key from the database. |
void |
removeAll()
Removes all the s c product versions from the database. |
void |
removeByDirectDownloadURL(java.lang.String directDownloadURL)
Removes the s c product version where directDownloadURL = ? from the database. |
void |
removeByProductEntryId(long productEntryId)
Removes all the s c product versions where productEntryId = ? from the database. |
protected com.liferay.portlet.softwarecatalog.model.SCProductVersion |
removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
|
void |
removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
Removes the association between the s c product version and the s c framework version. |
void |
removeSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
Removes the association between the s c product version and the s c framework version. |
void |
removeSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
Removes the association between the s c product version and the s c framework versions. |
void |
removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
Removes the association between the s c product version and the s c framework versions. |
void |
setSCFrameworkVersions(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary. |
void |
setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary. |
protected com.liferay.portlet.softwarecatalog.model.SCProductVersion |
toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public 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_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
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_GET_SCFRAMEWORKVERSIONS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS_SIZE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCFRAMEWORKVERSION
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
protected SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion containsSCFrameworkVersion
protected SCProductVersionPersistenceImpl.AddSCFrameworkVersion addSCFrameworkVersion
protected SCProductVersionPersistenceImpl.ClearSCFrameworkVersions clearSCFrameworkVersions
protected SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion removeSCFrameworkVersion
| Constructor Detail |
|---|
public SCProductVersionPersistenceImpl()
| Method Detail |
|---|
public 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 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 version
public 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 version
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected 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.SystemException
public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
boolean merge)
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.portal.NoSuchModelException,
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 version
com.liferay.portal.NoSuchModelException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
null if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
null if a s c product version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
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 occurred
public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.kernel.exception.SystemException
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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)
public 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 l
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException - if a matching s c product version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 l
null if a matching s c product version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 cache
null if a matching s c product version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 occurred
public 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.
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 occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
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 occurred
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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void 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 l
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
public 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 occurred
public int countByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
countByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceproductEntryId - the product entry ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 l
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
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 occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
true if the s c framework version is associated with the s c product version; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 versions
true if the s c product version has any s c framework versions associated with it; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 versions
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 versions
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 from
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 versions
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 versions
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 version
com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||