com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductVersionPersistence
- All Superinterfaces:
- BasePersistence
public interface SCProductVersionPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
void |
addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
|
void |
addSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
void |
addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
cacheResult(java.util.List<SCProductVersion> scProductVersions)
|
void |
cacheResult(SCProductVersion scProductVersion)
|
void |
clearCache()
|
void |
clearSCFrameworkVersions(long pk)
|
boolean |
containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
boolean |
containsSCFrameworkVersions(long pk)
|
int |
countAll()
|
int |
countByDirectDownloadURL(java.lang.String directDownloadURL)
|
int |
countByProductEntryId(long productEntryId)
|
SCProductVersion |
create(long productVersionId)
|
SCProductVersion |
fetchByDirectDownloadURL(java.lang.String directDownloadURL)
|
SCProductVersion |
fetchByDirectDownloadURL(java.lang.String directDownloadURL,
boolean retrieveFromCache)
|
SCProductVersion |
fetchByPrimaryKey(long productVersionId)
|
java.util.List<SCProductVersion> |
findAll()
|
java.util.List<SCProductVersion> |
findAll(int start,
int end)
|
java.util.List<SCProductVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductVersion |
findByDirectDownloadURL(java.lang.String directDownloadURL)
|
SCProductVersion |
findByPrimaryKey(long productVersionId)
|
SCProductVersion |
findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductVersion |
findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductVersion[] |
findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SCProductVersion> |
findByProductEntryId(long productEntryId)
|
java.util.List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end)
|
java.util.List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk)
|
java.util.List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end)
|
java.util.List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getSCFrameworkVersionsSize(long pk)
|
SCProductVersion |
remove(long productVersionId)
|
SCProductVersion |
remove(SCProductVersion scProductVersion)
|
void |
removeAll()
|
void |
removeByDirectDownloadURL(java.lang.String directDownloadURL)
|
void |
removeByProductEntryId(long productEntryId)
|
void |
removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
void |
removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
|
void |
removeSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
void |
removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
setSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
void |
setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
SCProductVersion |
update(SCProductVersion scProductVersion)
Deprecated. Use update(SCProductVersion scProductVersion, boolean merge) . |
SCProductVersion |
update(SCProductVersion scProductVersion,
boolean merge)
Add, update, or merge, the entity. |
SCProductVersion |
updateImpl(SCProductVersion scProductVersion,
boolean merge)
|
cacheResult
void cacheResult(SCProductVersion scProductVersion)
cacheResult
void cacheResult(java.util.List<SCProductVersion> scProductVersions)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
SCProductVersion create(long productVersionId)
remove
SCProductVersion remove(long productVersionId)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
remove
SCProductVersion remove(SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
SCProductVersion update(SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SCProductVersion scProductVersion, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
SCProductVersion update(SCProductVersion scProductVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
scProductVersion
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when scProductVersion is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
SCProductVersion updateImpl(SCProductVersion scProductVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
SCProductVersion findByPrimaryKey(long productVersionId)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
fetchByPrimaryKey
SCProductVersion fetchByPrimaryKey(long productVersionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
java.util.List<SCProductVersion> findByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
java.util.List<SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
java.util.List<SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId_First
SCProductVersion findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
findByProductEntryId_Last
SCProductVersion findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
findByProductEntryId_PrevAndNext
SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
findByDirectDownloadURL
SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
fetchByDirectDownloadURL
SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByDirectDownloadURL
SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCProductVersion> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCProductVersion> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCProductVersion> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByProductEntryId
void removeByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByDirectDownloadURL
void removeByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByProductEntryId
int countByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByDirectDownloadURL
int countByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersionsSize
int getSCFrameworkVersionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersion
boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersions
boolean containsSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersion
void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersion
void addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersions
void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersions
void addSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearSCFrameworkVersions
void clearSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersion
void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersion
void removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersions
void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersions
void removeSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCFrameworkVersions
void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCFrameworkVersions
void setSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException