public class AppBuilderAppDataRecordLinkUtil
extends java.lang.Object
com.liferay.app.builder.service.persistence.impl.AppBuilderAppDataRecordLinkPersistenceImpl
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
AppBuilderAppDataRecordLinkPersistence
Constructor and Description |
---|
AppBuilderAppDataRecordLinkUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink)
Caches the app builder app data record link in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AppBuilderAppDataRecordLink> appBuilderAppDataRecordLinks)
Caches the app builder app data record links in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink) |
static int |
countAll()
Returns the number of app builder app data record links.
|
static int |
countByA_D(long appBuilderAppId,
long ddlRecordId)
Returns the number of app builder app data record links where appBuilderAppId = ? and ddlRecordId = ?.
|
static int |
countByA_D(long appBuilderAppId,
long[] ddlRecordIds)
Returns the number of app builder app data record links where appBuilderAppId = ? and ddlRecordId = any ?.
|
static int |
countByAppBuilderAppId(long appBuilderAppId)
Returns the number of app builder app data record links where appBuilderAppId = ?.
|
static int |
countByDDLRecordId(long ddlRecordId)
Returns the number of app builder app data record links where ddlRecordId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AppBuilderAppDataRecordLink |
create(long appBuilderAppDataRecordLinkId)
Creates a new app builder app data record link with the primary key.
|
static AppBuilderAppDataRecordLink |
fetchByA_D_First(long appBuilderAppId,
long ddlRecordId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the first app builder app data record link in the ordered set where appBuilderAppId = ? and ddlRecordId = ?.
|
static AppBuilderAppDataRecordLink |
fetchByA_D_Last(long appBuilderAppId,
long ddlRecordId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the last app builder app data record link in the ordered set where appBuilderAppId = ? and ddlRecordId = ?.
|
static AppBuilderAppDataRecordLink |
fetchByAppBuilderAppId_First(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the first app builder app data record link in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppDataRecordLink |
fetchByAppBuilderAppId_Last(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the last app builder app data record link in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppDataRecordLink |
fetchByDDLRecordId(long ddlRecordId)
Returns the app builder app data record link where ddlRecordId = ? or returns
null if it could not be found. |
static AppBuilderAppDataRecordLink |
fetchByDDLRecordId(long ddlRecordId,
boolean useFinderCache)
Returns the app builder app data record link where ddlRecordId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AppBuilderAppDataRecordLink |
fetchByPrimaryKey(long appBuilderAppDataRecordLinkId)
Returns the app builder app data record link with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AppBuilderAppDataRecordLink> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<AppBuilderAppDataRecordLink> |
findAll()
Returns all the app builder app data record links.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findAll(int start,
int end)
Returns a range of all the app builder app data record links.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns an ordered range of all the app builder app data record links.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app data record links.
|
static AppBuilderAppDataRecordLink |
findByA_D_First(long appBuilderAppId,
long ddlRecordId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the first app builder app data record link in the ordered set where appBuilderAppId = ? and ddlRecordId = ?.
|
static AppBuilderAppDataRecordLink |
findByA_D_Last(long appBuilderAppId,
long ddlRecordId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the last app builder app data record link in the ordered set where appBuilderAppId = ? and ddlRecordId = ?.
|
static AppBuilderAppDataRecordLink[] |
findByA_D_PrevAndNext(long appBuilderAppDataRecordLinkId,
long appBuilderAppId,
long ddlRecordId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the app builder app data record links before and after the current app builder app data record link in the ordered set where appBuilderAppId = ? and ddlRecordId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long ddlRecordId)
Returns all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long[] ddlRecordIds)
Returns all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = any ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long[] ddlRecordIds,
int start,
int end)
Returns a range of all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = any ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long[] ddlRecordIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns an ordered range of all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = any ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long[] ddlRecordIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = ?, optionally using the finder cache.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long ddlRecordId,
int start,
int end)
Returns a range of all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long ddlRecordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns an ordered range of all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByA_D(long appBuilderAppId,
long ddlRecordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = ?.
|
static AppBuilderAppDataRecordLink |
findByAppBuilderAppId_First(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the first app builder app data record link in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppDataRecordLink |
findByAppBuilderAppId_Last(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the last app builder app data record link in the ordered set where appBuilderAppId = ?.
|
static AppBuilderAppDataRecordLink[] |
findByAppBuilderAppId_PrevAndNext(long appBuilderAppDataRecordLinkId,
long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns the app builder app data record links before and after the current app builder app data record link in the ordered set where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByAppBuilderAppId(long appBuilderAppId)
Returns all the app builder app data record links where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end)
Returns a range of all the app builder app data record links where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
Returns an ordered range of all the app builder app data record links where appBuilderAppId = ?.
|
static java.util.List<AppBuilderAppDataRecordLink> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app data record links where appBuilderAppId = ?.
|
static AppBuilderAppDataRecordLink |
findByDDLRecordId(long ddlRecordId)
Returns the app builder app data record link where ddlRecordId = ? or throws a
NoSuchAppDataRecordLinkException if it could not be found. |
static AppBuilderAppDataRecordLink |
findByPrimaryKey(long appBuilderAppDataRecordLinkId)
Returns the app builder app data record link with the primary key or throws a
NoSuchAppDataRecordLinkException if it could not be found. |
static java.util.List<AppBuilderAppDataRecordLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AppBuilderAppDataRecordLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AppBuilderAppDataRecordLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) |
static AppBuilderAppDataRecordLinkPersistence |
getPersistence() |
static AppBuilderAppDataRecordLink |
remove(long appBuilderAppDataRecordLinkId)
Removes the app builder app data record link with the primary key from the database.
|
static void |
removeAll()
Removes all the app builder app data record links from the database.
|
static void |
removeByA_D(long appBuilderAppId,
long ddlRecordId)
Removes all the app builder app data record links where appBuilderAppId = ? and ddlRecordId = ? from the database.
|
static void |
removeByAppBuilderAppId(long appBuilderAppId)
Removes all the app builder app data record links where appBuilderAppId = ? from the database.
|
static AppBuilderAppDataRecordLink |
removeByDDLRecordId(long ddlRecordId)
Removes the app builder app data record link where ddlRecordId = ? from the database.
|
static AppBuilderAppDataRecordLink |
update(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink) |
static AppBuilderAppDataRecordLink |
update(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AppBuilderAppDataRecordLink |
updateImpl(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink)
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,AppBuilderAppDataRecordLink> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AppBuilderAppDataRecordLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AppBuilderAppDataRecordLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AppBuilderAppDataRecordLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AppBuilderAppDataRecordLink update(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AppBuilderAppDataRecordLink update(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AppBuilderAppDataRecordLink> findByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDpublic static java.util.List<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)public static java.util.List<AppBuilderAppDataRecordLink> findByAppBuilderAppId(long appBuilderAppId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppDataRecordLink> findByAppBuilderAppId(long appBuilderAppId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppDataRecordLink findByAppBuilderAppId_First(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) throws NoSuchAppDataRecordLinkException
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDataRecordLinkException
- if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink fetchByAppBuilderAppId_First(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink findByAppBuilderAppId_Last(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) throws NoSuchAppDataRecordLinkException
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDataRecordLinkException
- if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink fetchByAppBuilderAppId_Last(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink[] findByAppBuilderAppId_PrevAndNext(long appBuilderAppDataRecordLinkId, long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) throws NoSuchAppDataRecordLinkException
appBuilderAppDataRecordLinkId
- the primary key of the current app builder app data record linkappBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDataRecordLinkException
- if a app builder app data record link 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 AppBuilderAppDataRecordLink findByDDLRecordId(long ddlRecordId) throws NoSuchAppDataRecordLinkException
NoSuchAppDataRecordLinkException
if it could not be found.ddlRecordId
- the ddl record IDNoSuchAppDataRecordLinkException
- if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink fetchByDDLRecordId(long ddlRecordId)
null
if it could not be found. Uses the finder cache.ddlRecordId
- the ddl record IDnull
if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink fetchByDDLRecordId(long ddlRecordId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.ddlRecordId
- the ddl record IDuseFinderCache
- whether to use the finder cachenull
if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink removeByDDLRecordId(long ddlRecordId) throws NoSuchAppDataRecordLinkException
ddlRecordId
- the ddl record IDNoSuchAppDataRecordLinkException
public static int countByDDLRecordId(long ddlRecordId)
ddlRecordId
- the ddl record IDpublic static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long ddlRecordId)
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDpublic static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long ddlRecordId, 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)public static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long ddlRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long ddlRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AppBuilderAppDataRecordLink findByA_D_First(long appBuilderAppId, long ddlRecordId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) throws NoSuchAppDataRecordLinkException
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDataRecordLinkException
- if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink fetchByA_D_First(long appBuilderAppId, long ddlRecordId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink findByA_D_Last(long appBuilderAppId, long ddlRecordId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) throws NoSuchAppDataRecordLinkException
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDataRecordLinkException
- if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink fetchByA_D_Last(long appBuilderAppId, long ddlRecordId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator)
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app data record link could not be foundpublic static AppBuilderAppDataRecordLink[] findByA_D_PrevAndNext(long appBuilderAppDataRecordLinkId, long appBuilderAppId, long ddlRecordId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> orderByComparator) throws NoSuchAppDataRecordLinkException
appBuilderAppDataRecordLinkId
- the primary key of the current app builder app data record linkappBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDataRecordLinkException
- if a app builder app data record link with the primary key could not be foundpublic static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long[] ddlRecordIds)
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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordIds
- the ddl record IDspublic static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long[] ddlRecordIds, 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordIds
- the ddl record IDsstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)public static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long[] ddlRecordIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordIds
- the ddl record IDsstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppDataRecordLink> findByA_D(long appBuilderAppId, long[] ddlRecordIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDstart
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByA_D(long appBuilderAppId, long ddlRecordId)
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDpublic static int countByA_D(long appBuilderAppId, long ddlRecordId)
appBuilderAppId
- the app builder app IDddlRecordId
- the ddl record IDpublic static int countByA_D(long appBuilderAppId, long[] ddlRecordIds)
appBuilderAppId
- the app builder app IDddlRecordIds
- the ddl record IDspublic static void cacheResult(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink)
appBuilderAppDataRecordLink
- the app builder app data record linkpublic static void cacheResult(java.util.List<AppBuilderAppDataRecordLink> appBuilderAppDataRecordLinks)
appBuilderAppDataRecordLinks
- the app builder app data record linkspublic static AppBuilderAppDataRecordLink create(long appBuilderAppDataRecordLinkId)
appBuilderAppDataRecordLinkId
- the primary key for the new app builder app data record linkpublic static AppBuilderAppDataRecordLink remove(long appBuilderAppDataRecordLinkId) throws NoSuchAppDataRecordLinkException
appBuilderAppDataRecordLinkId
- the primary key of the app builder app data record linkNoSuchAppDataRecordLinkException
- if a app builder app data record link with the primary key could not be foundpublic static AppBuilderAppDataRecordLink updateImpl(AppBuilderAppDataRecordLink appBuilderAppDataRecordLink)
public static AppBuilderAppDataRecordLink findByPrimaryKey(long appBuilderAppDataRecordLinkId) throws NoSuchAppDataRecordLinkException
NoSuchAppDataRecordLinkException
if it could not be found.appBuilderAppDataRecordLinkId
- the primary key of the app builder app data record linkNoSuchAppDataRecordLinkException
- if a app builder app data record link with the primary key could not be foundpublic static AppBuilderAppDataRecordLink fetchByPrimaryKey(long appBuilderAppDataRecordLinkId)
null
if it could not be found.appBuilderAppDataRecordLinkId
- the primary key of the app builder app data record linknull
if a app builder app data record link with the primary key could not be foundpublic static java.util.List<AppBuilderAppDataRecordLink> findAll()
public static java.util.List<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
start
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)public static java.util.List<AppBuilderAppDataRecordLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
start
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AppBuilderAppDataRecordLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDataRecordLink> 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 AppBuilderAppDataRecordLinkModelImpl
.
start
- the lower bound of the range of app builder app data record linksend
- the upper bound of the range of app builder app data record links (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 AppBuilderAppDataRecordLinkPersistence getPersistence()