com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductVersionPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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 |
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 |
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)
|
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductVersion> findByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductVersion> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductVersion> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByDirectDownloadURL
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCFrameworkVersionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersion
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersions
@Transactional(propagation=SUPPORTS,
readOnly=true)
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