com.liferay.portlet.softwarecatalog.service.persistence
Class SCFrameworkVersionUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionUtil
public class SCFrameworkVersionUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addSCProductVersion(long pk,
long scProductVersionPK)
|
static void |
addSCProductVersion(long pk,
SCProductVersion scProductVersion)
|
static void |
addSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
|
static void |
addSCProductVersions(long pk,
long[] scProductVersionPKs)
|
static void |
cacheResult(java.util.List<SCFrameworkVersion> scFrameworkVersions)
|
static void |
cacheResult(SCFrameworkVersion scFrameworkVersion)
|
static void |
clearCache()
|
static void |
clearSCProductVersions(long pk)
|
static boolean |
containsSCProductVersion(long pk,
long scProductVersionPK)
|
static boolean |
containsSCProductVersions(long pk)
|
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByG_A(long groupId,
boolean active)
|
static int |
countByGroupId(long groupId)
|
static SCFrameworkVersion |
create(long frameworkVersionId)
|
static SCFrameworkVersion |
fetchByPrimaryKey(long frameworkVersionId)
|
static java.util.List<SCFrameworkVersion> |
findAll()
|
static java.util.List<SCFrameworkVersion> |
findAll(int start,
int end)
|
static java.util.List<SCFrameworkVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion[] |
findByCompanyId_PrevAndNext(long frameworkVersionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<SCFrameworkVersion> |
findByCompanyId(long companyId)
|
static java.util.List<SCFrameworkVersion> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<SCFrameworkVersion> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion[] |
findByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active)
|
static java.util.List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active,
int start,
int end)
|
static java.util.List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion[] |
findByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<SCFrameworkVersion> |
findByGroupId(long groupId)
|
static java.util.List<SCFrameworkVersion> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<SCFrameworkVersion> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static SCFrameworkVersion |
findByPrimaryKey(long frameworkVersionId)
|
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 SCFrameworkVersionPersistence |
getPersistence()
|
static java.util.List<SCProductVersion> |
getSCProductVersions(long pk)
|
static java.util.List<SCProductVersion> |
getSCProductVersions(long pk,
int start,
int end)
|
static java.util.List<SCProductVersion> |
getSCProductVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getSCProductVersionsSize(long pk)
|
static SCFrameworkVersion |
remove(long frameworkVersionId)
|
static SCFrameworkVersion |
remove(SCFrameworkVersion scFrameworkVersion)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByG_A(long groupId,
boolean active)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeSCProductVersion(long pk,
long scProductVersionPK)
|
static void |
removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
|
static void |
removeSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
|
static void |
removeSCProductVersions(long pk,
long[] scProductVersionPKs)
|
void |
setPersistence(SCFrameworkVersionPersistence persistence)
|
static void |
setSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
|
static void |
setSCProductVersions(long pk,
long[] scProductVersionPKs)
|
static SCFrameworkVersion |
update(SCFrameworkVersion scFrameworkVersion)
Deprecated. Use update(SCFrameworkVersion scFrameworkVersion, boolean merge) . |
static SCFrameworkVersion |
update(SCFrameworkVersion scFrameworkVersion,
boolean merge)
Add, update, or merge, the entity. |
static SCFrameworkVersion |
updateImpl(SCFrameworkVersion scFrameworkVersion,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCFrameworkVersionUtil
public SCFrameworkVersionUtil()
cacheResult
public static void cacheResult(SCFrameworkVersion scFrameworkVersion)
cacheResult
public static void cacheResult(java.util.List<SCFrameworkVersion> scFrameworkVersions)
clearCache
public static void clearCache()
create
public static SCFrameworkVersion create(long frameworkVersionId)
remove
public static SCFrameworkVersion remove(long frameworkVersionId)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
remove
public static SCFrameworkVersion remove(SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SCFrameworkVersion scFrameworkVersion, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion,
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:
scFrameworkVersion
- 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 scFrameworkVersion 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 SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
fetchByPrimaryKey
public static SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<SCFrameworkVersion> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<SCFrameworkVersion> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<SCFrameworkVersion> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static SCFrameworkVersion findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByGroupId_Last
public static SCFrameworkVersion findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByGroupId_PrevAndNext
public static SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByCompanyId
public static java.util.List<SCFrameworkVersion> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<SCFrameworkVersion> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<SCFrameworkVersion> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static SCFrameworkVersion findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByCompanyId_Last
public static SCFrameworkVersion findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByCompanyId_PrevAndNext
public static SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByG_A
public static java.util.List<SCFrameworkVersion> findByG_A(long groupId,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A
public static java.util.List<SCFrameworkVersion> findByG_A(long groupId,
boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A
public static java.util.List<SCFrameworkVersion> findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A_First
public static SCFrameworkVersion findByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByG_A_Last
public static SCFrameworkVersion findByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
findByG_A_PrevAndNext
public static SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFrameworkVersionException
- Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException
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<SCFrameworkVersion> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<SCFrameworkVersion> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<SCFrameworkVersion> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_A
public static void removeByG_A(long groupId,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_A
public static int countByG_A(long groupId,
boolean active)
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
getSCProductVersions
public static java.util.List<SCProductVersion> getSCProductVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductVersions
public static java.util.List<SCProductVersion> getSCProductVersions(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductVersions
public static java.util.List<SCProductVersion> getSCProductVersions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductVersionsSize
public static int getSCProductVersionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCProductVersion
public static boolean containsSCProductVersion(long pk,
long scProductVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCProductVersions
public static boolean containsSCProductVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductVersion
public static void addSCProductVersion(long pk,
long scProductVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductVersion
public static void addSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductVersions
public static void addSCProductVersions(long pk,
long[] scProductVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductVersions
public static void addSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearSCProductVersions
public static void clearSCProductVersions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductVersion
public static void removeSCProductVersion(long pk,
long scProductVersionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductVersion
public static void removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductVersions
public static void removeSCProductVersions(long pk,
long[] scProductVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductVersions
public static void removeSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCProductVersions
public static void setSCProductVersions(long pk,
long[] scProductVersionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCProductVersions
public static void setSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static SCFrameworkVersionPersistence getPersistence()
setPersistence
public void setPersistence(SCFrameworkVersionPersistence persistence)