com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductVersionUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionUtil
public class SCProductVersionUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
static void |
addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
|
static void |
addSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
static void |
addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
static void |
clearSCFrameworkVersions(long pk)
|
static boolean |
containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
static boolean |
containsSCFrameworkVersions(long pk)
|
static int |
countAll()
|
static int |
countByDirectDownloadURL(java.lang.String directDownloadURL)
|
static int |
countByProductEntryId(long productEntryId)
|
static SCProductVersion |
create(long productVersionId)
|
static SCProductVersion |
fetchByDirectDownloadURL(java.lang.String directDownloadURL)
|
static SCProductVersion |
fetchByPrimaryKey(long productVersionId)
|
static java.util.List<SCProductVersion> |
findAll()
|
static java.util.List<SCProductVersion> |
findAll(int start,
int end)
|
static java.util.List<SCProductVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCProductVersion |
findByDirectDownloadURL(java.lang.String directDownloadURL)
|
static SCProductVersion |
findByPrimaryKey(long productVersionId)
|
static SCProductVersion |
findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCProductVersion |
findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCProductVersion[] |
findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<SCProductVersion> |
findByProductEntryId(long productEntryId)
|
static java.util.List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end)
|
static java.util.List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static SCProductVersionPersistence |
getPersistence()
|
static java.util.List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk)
|
static java.util.List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end)
|
static java.util.List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getSCFrameworkVersionsSize(long pk)
|
static SCProductVersion |
remove(long productVersionId)
|
static SCProductVersion |
remove(SCProductVersion scProductVersion)
|
static void |
removeAll()
|
static void |
removeByDirectDownloadURL(java.lang.String directDownloadURL)
|
static void |
removeByProductEntryId(long productEntryId)
|
static void |
removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
static void |
removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
|
static void |
removeSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
static void |
removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
setPersistence(SCProductVersionPersistence persistence)
|
static void |
setSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
static void |
setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
static SCProductVersion |
update(SCProductVersion scProductVersion)
Deprecated. Use update(SCProductVersion scProductVersion, boolean merge) . |
static SCProductVersion |
update(SCProductVersion scProductVersion,
boolean merge)
Add, update, or merge, the entity. |
static SCProductVersion |
updateImpl(SCProductVersion scProductVersion,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductVersionUtil
public SCProductVersionUtil()
create
public static SCProductVersion create(long productVersionId)
remove
public static SCProductVersion remove(long productVersionId)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
remove
public static SCProductVersion remove(SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static SCProductVersion update(SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SCProductVersion scProductVersion, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static 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
public static SCProductVersion updateImpl(SCProductVersion scProductVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static SCProductVersion findByPrimaryKey(long productVersionId)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
fetchByPrimaryKey
public static SCProductVersion fetchByPrimaryKey(long productVersionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
public static java.util.List<SCProductVersion> findByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
public static java.util.List<SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
public static 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
public static 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
public static 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
public static 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
public static SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
fetchByDirectDownloadURL
public static SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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
public static 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
public static java.util.List<SCProductVersion> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<SCProductVersion> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByDirectDownloadURL
public static void removeByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException,
NoSuchProductVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByProductEntryId
public static int countByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByDirectDownloadURL
public static int countByDirectDownloadURL(java.lang.String directDownloadURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
public static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
public static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
public static 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
public static int getSCFrameworkVersionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersion
public static boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersions
public static boolean containsSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersion
public static void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersion
public static void addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersions
public static void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersions
public static void addSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearSCFrameworkVersions
public static void clearSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersion
public static void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersion
public static void removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersions
public static void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCFrameworkVersions
public static void removeSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCFrameworkVersions
public static void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCFrameworkVersions
public static void setSCFrameworkVersions(long pk,
java.util.List<SCFrameworkVersion> scFrameworkVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static SCProductVersionPersistence getPersistence()
setPersistence
public void setPersistence(SCProductVersionPersistence persistence)