public class AppBuilderAppVersionUtil
extends java.lang.Object
com.liferay.app.builder.service.persistence.impl.AppBuilderAppVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
AppBuilderAppVersionPersistence
Constructor and Description |
---|
AppBuilderAppVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AppBuilderAppVersion appBuilderAppVersion)
Caches the app builder app version in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AppBuilderAppVersion> appBuilderAppVersions)
Caches the app builder app versions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AppBuilderAppVersion appBuilderAppVersion) |
static int |
countAll()
Returns the number of app builder app versions.
|
static int |
countByA_V(long appBuilderAppId,
java.lang.String version)
Returns the number of app builder app versions where appBuilderAppId = ? and version = ?.
|
static int |
countByAppBuilderAppId(long appBuilderAppId)
Returns the number of app builder app versions where appBuilderAppId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of app builder app versions where companyId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of app builder app versions where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of app builder app versions where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of app builder app versions where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of app builder app versions where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AppBuilderAppVersion |
create(long appBuilderAppVersionId)
Creates a new app builder app version with the primary key.
|
static AppBuilderAppVersion |
fetchByA_V(long appBuilderAppId,
java.lang.String version)
Returns the app builder app version where appBuilderAppId = ? and version = ? or returns
null if it could not be found. |
static AppBuilderAppVersion |
fetchByA_V(long appBuilderAppId,
java.lang.String version,
boolean useFinderCache)
Returns the app builder app version where appBuilderAppId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static AppBuilderAppVersion |
fetchByAppBuilderAppId_First(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppVersion |
fetchByAppBuilderAppId_Last(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppVersion |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where companyId = ?.
|
static AppBuilderAppVersion |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where companyId = ?.
|
static AppBuilderAppVersion |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where groupId = ?.
|
static AppBuilderAppVersion |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where groupId = ?.
|
static AppBuilderAppVersion |
fetchByPrimaryKey(long appBuilderAppVersionId)
Returns the app builder app version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AppBuilderAppVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static AppBuilderAppVersion |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where uuid = ? and companyId = ?.
|
static AppBuilderAppVersion |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where uuid = ? and companyId = ?.
|
static AppBuilderAppVersion |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where uuid = ?.
|
static AppBuilderAppVersion |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the app builder app version where uuid = ? and groupId = ? or returns
null if it could not be found. |
static AppBuilderAppVersion |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the app builder app version where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AppBuilderAppVersion |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where uuid = ?.
|
static java.util.List<AppBuilderAppVersion> |
findAll()
Returns all the app builder app versions.
|
static java.util.List<AppBuilderAppVersion> |
findAll(int start,
int end)
Returns a range of all the app builder app versions.
|
static java.util.List<AppBuilderAppVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns an ordered range of all the app builder app versions.
|
static java.util.List<AppBuilderAppVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app versions.
|
static AppBuilderAppVersion |
findByA_V(long appBuilderAppId,
java.lang.String version)
Returns the app builder app version where appBuilderAppId = ? and version = ? or throws a
NoSuchAppVersionException if it could not be found. |
static AppBuilderAppVersion |
findByAppBuilderAppId_First(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppVersion |
findByAppBuilderAppId_Last(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppVersion[] |
findByAppBuilderAppId_PrevAndNext(long appBuilderAppVersionId,
long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the app builder app versions before and after the current app builder app version in the ordered set where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByAppBuilderAppId(long appBuilderAppId)
Returns all the app builder app versions where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end)
Returns a range of all the app builder app versions where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns an ordered range of all the app builder app versions where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app versions where appBuilderAppId = ?.
|
static AppBuilderAppVersion |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where companyId = ?.
|
static AppBuilderAppVersion |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where companyId = ?.
|
static AppBuilderAppVersion[] |
findByCompanyId_PrevAndNext(long appBuilderAppVersionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the app builder app versions before and after the current app builder app version in the ordered set where companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByCompanyId(long companyId)
Returns all the app builder app versions where companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the app builder app versions where companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns an ordered range of all the app builder app versions where companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app versions where companyId = ?.
|
static AppBuilderAppVersion |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where groupId = ?.
|
static AppBuilderAppVersion |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where groupId = ?.
|
static AppBuilderAppVersion[] |
findByGroupId_PrevAndNext(long appBuilderAppVersionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the app builder app versions before and after the current app builder app version in the ordered set where groupId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByGroupId(long groupId)
Returns all the app builder app versions where groupId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the app builder app versions where groupId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns an ordered range of all the app builder app versions where groupId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app versions where groupId = ?.
|
static AppBuilderAppVersion |
findByPrimaryKey(long appBuilderAppVersionId)
Returns the app builder app version with the primary key or throws a
NoSuchAppVersionException if it could not be found. |
static AppBuilderAppVersion |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where uuid = ? and companyId = ?.
|
static AppBuilderAppVersion |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where uuid = ? and companyId = ?.
|
static AppBuilderAppVersion[] |
findByUuid_C_PrevAndNext(long appBuilderAppVersionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the app builder app versions before and after the current app builder app version in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the app builder app versions where uuid = ? and companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the app builder app versions where uuid = ? and companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns an ordered range of all the app builder app versions where uuid = ? and companyId = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app versions where uuid = ? and companyId = ?.
|
static AppBuilderAppVersion |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the first app builder app version in the ordered set where uuid = ?.
|
static AppBuilderAppVersion |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the app builder app version where uuid = ? and groupId = ? or throws a
NoSuchAppVersionException if it could not be found. |
static AppBuilderAppVersion |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the last app builder app version in the ordered set where uuid = ?.
|
static AppBuilderAppVersion[] |
findByUuid_PrevAndNext(long appBuilderAppVersionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns the app builder app versions before and after the current app builder app version in the ordered set where uuid = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid(java.lang.String uuid)
Returns all the app builder app versions where uuid = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the app builder app versions where uuid = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
Returns an ordered range of all the app builder app versions where uuid = ?.
|
static java.util.List<AppBuilderAppVersion> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app versions where uuid = ?.
|
static java.util.List<AppBuilderAppVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AppBuilderAppVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AppBuilderAppVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) |
static AppBuilderAppVersionPersistence |
getPersistence() |
static AppBuilderAppVersion |
remove(long appBuilderAppVersionId)
Removes the app builder app version with the primary key from the database.
|
static void |
removeAll()
Removes all the app builder app versions from the database.
|
static AppBuilderAppVersion |
removeByA_V(long appBuilderAppId,
java.lang.String version)
Removes the app builder app version where appBuilderAppId = ? and version = ? from the database.
|
static void |
removeByAppBuilderAppId(long appBuilderAppId)
Removes all the app builder app versions where appBuilderAppId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the app builder app versions where companyId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the app builder app versions where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the app builder app versions where uuid = ? and companyId = ? from the database.
|
static AppBuilderAppVersion |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the app builder app version where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the app builder app versions where uuid = ? from the database.
|
static AppBuilderAppVersion |
update(AppBuilderAppVersion appBuilderAppVersion) |
static AppBuilderAppVersion |
update(AppBuilderAppVersion appBuilderAppVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AppBuilderAppVersion |
updateImpl(AppBuilderAppVersion appBuilderAppVersion) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AppBuilderAppVersion appBuilderAppVersion)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AppBuilderAppVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AppBuilderAppVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AppBuilderAppVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AppBuilderAppVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AppBuilderAppVersion update(AppBuilderAppVersion appBuilderAppVersion)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AppBuilderAppVersion update(AppBuilderAppVersion appBuilderAppVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AppBuilderAppVersion> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AppBuilderAppVersion> findByUuid(java.lang.String uuid, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)public static java.util.List<AppBuilderAppVersion> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppVersion> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppVersion findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion[] findByUuid_PrevAndNext(long appBuilderAppVersionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppVersionId
- the primary key of the current app builder app versionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static AppBuilderAppVersion findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchAppVersionException
NoSuchAppVersionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchAppVersionException
uuid
- the uuidgroupId
- the group IDNoSuchAppVersionException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<AppBuilderAppVersion> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AppBuilderAppVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)public static java.util.List<AppBuilderAppVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppVersion findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion[] findByUuid_C_PrevAndNext(long appBuilderAppVersionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppVersionId
- the primary key of the current app builder app versionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AppBuilderAppVersion> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<AppBuilderAppVersion> findByGroupId(long groupId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)public static java.util.List<AppBuilderAppVersion> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppVersion> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppVersion findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion[] findByGroupId_PrevAndNext(long appBuilderAppVersionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppVersionId
- the primary key of the current app builder app versiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<AppBuilderAppVersion> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<AppBuilderAppVersion> findByCompanyId(long companyId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)public static java.util.List<AppBuilderAppVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion[] findByCompanyId_PrevAndNext(long appBuilderAppVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppVersionId
- the primary key of the current app builder app versioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<AppBuilderAppVersion> findByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDpublic static java.util.List<AppBuilderAppVersion> findByAppBuilderAppId(long appBuilderAppId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)public static java.util.List<AppBuilderAppVersion> findByAppBuilderAppId(long appBuilderAppId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppVersion> findByAppBuilderAppId(long appBuilderAppId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppVersion findByAppBuilderAppId_First(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByAppBuilderAppId_First(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion findByAppBuilderAppId_Last(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByAppBuilderAppId_Last(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion[] findByAppBuilderAppId_PrevAndNext(long appBuilderAppVersionId, long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator) throws NoSuchAppVersionException
appBuilderAppVersionId
- the primary key of the current app builder app versionappBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static void removeByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDpublic static int countByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDpublic static AppBuilderAppVersion findByA_V(long appBuilderAppId, java.lang.String version) throws NoSuchAppVersionException
NoSuchAppVersionException
if it could not be found.appBuilderAppId
- the app builder app IDversion
- the versionNoSuchAppVersionException
- if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByA_V(long appBuilderAppId, java.lang.String version)
null
if it could not be found. Uses the finder cache.appBuilderAppId
- the app builder app IDversion
- the versionnull
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion fetchByA_V(long appBuilderAppId, java.lang.String version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.appBuilderAppId
- the app builder app IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching app builder app version could not be foundpublic static AppBuilderAppVersion removeByA_V(long appBuilderAppId, java.lang.String version) throws NoSuchAppVersionException
appBuilderAppId
- the app builder app IDversion
- the versionNoSuchAppVersionException
public static int countByA_V(long appBuilderAppId, java.lang.String version)
appBuilderAppId
- the app builder app IDversion
- the versionpublic static void cacheResult(AppBuilderAppVersion appBuilderAppVersion)
appBuilderAppVersion
- the app builder app versionpublic static void cacheResult(java.util.List<AppBuilderAppVersion> appBuilderAppVersions)
appBuilderAppVersions
- the app builder app versionspublic static AppBuilderAppVersion create(long appBuilderAppVersionId)
appBuilderAppVersionId
- the primary key for the new app builder app versionpublic static AppBuilderAppVersion remove(long appBuilderAppVersionId) throws NoSuchAppVersionException
appBuilderAppVersionId
- the primary key of the app builder app versionNoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static AppBuilderAppVersion updateImpl(AppBuilderAppVersion appBuilderAppVersion)
public static AppBuilderAppVersion findByPrimaryKey(long appBuilderAppVersionId) throws NoSuchAppVersionException
NoSuchAppVersionException
if it could not be found.appBuilderAppVersionId
- the primary key of the app builder app versionNoSuchAppVersionException
- if a app builder app version with the primary key could not be foundpublic static AppBuilderAppVersion fetchByPrimaryKey(long appBuilderAppVersionId)
null
if it could not be found.appBuilderAppVersionId
- the primary key of the app builder app versionnull
if a app builder app version with the primary key could not be foundpublic static java.util.List<AppBuilderAppVersion> findAll()
public static java.util.List<AppBuilderAppVersion> findAll(int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
start
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)public static java.util.List<AppBuilderAppVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
start
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppVersion> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AppBuilderAppVersionModelImpl
.
start
- the lower bound of the range of app builder app versionsend
- the upper bound of the range of app builder app versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static AppBuilderAppVersionPersistence getPersistence()