Class CPDefinitionLinkUtil
com.liferay.commerce.product.service.persistence.impl.CPDefinitionLinkPersistenceImpl
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CPDefinitionLink cpDefinitionLink) Caches the cp definition link in the entity cache if it is enabled.static void
cacheResult
(List<CPDefinitionLink> cpDefinitionLinks) Caches the cp definition links in the entity cache if it is enabled.static void
static void
clearCache
(CPDefinitionLink cpDefinitionLink) static int
countAll()
Returns the number of cp definition links.static int
countByC_C_T
(long CPDefinitionId, long CProductId, String type) Returns the number of cp definition links where CPDefinitionId = ? and CProductId = ? and type = ?.static int
countByCP_S
(long CProductId, int status) Returns the number of cp definition links where CProductId = ? and status = ?.static int
countByCP_T
(long CProductId, String type) Returns the number of cp definition links where CProductId = ? and type = ?.static int
countByCP_T_S
(long CProductId, String type, int status) Returns the number of cp definition links where CProductId = ? and type = ? and status = ?.static int
countByCPD_S
(long CPDefinitionId, int status) Returns the number of cp definition links where CPDefinitionId = ? and status = ?.static int
countByCPD_T
(long CPDefinitionId, String type) Returns the number of cp definition links where CPDefinitionId = ? and type = ?.static int
countByCPD_T_S
(long CPDefinitionId, String type, int status) Returns the number of cp definition links where CPDefinitionId = ? and type = ? and status = ?.static int
countByCPDefinitionId
(long CPDefinitionId) Returns the number of cp definition links where CPDefinitionId = ?.static int
countByCProductId
(long CProductId) Returns the number of cp definition links where CProductId = ?.static int
countByLtD_S
(Date displayDate, int status) Returns the number of cp definition links where displayDate < ? and status = ?.static int
countByLtE_S
(Date expirationDate, int status) Returns the number of cp definition links where expirationDate < ? and status = ?.static int
countByUuid
(String uuid) Returns the number of cp definition links where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cp definition links where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of cp definition links where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPDefinitionLink
create
(long CPDefinitionLinkId) Creates a new cp definition link with the primary key.static CPDefinitionLink
fetchByC_C_T
(long CPDefinitionId, long CProductId, String type) Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returnsnull
if it could not be found.static CPDefinitionLink
fetchByC_C_T
(long CPDefinitionId, long CProductId, String type, boolean useFinderCache) Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returnsnull
if it could not be found, optionally using the finder cache.static CPDefinitionLink
fetchByCP_S_First
(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and status = ?.static CPDefinitionLink
fetchByCP_S_Last
(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and status = ?.static CPDefinitionLink
fetchByCP_T_First
(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.static CPDefinitionLink
fetchByCP_T_Last
(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.static CPDefinitionLink
fetchByCP_T_S_First
(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.static CPDefinitionLink
fetchByCP_T_S_Last
(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.static CPDefinitionLink
fetchByCPD_S_First
(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and status = ?.static CPDefinitionLink
fetchByCPD_S_Last
(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and status = ?.static CPDefinitionLink
fetchByCPD_T_First
(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.static CPDefinitionLink
fetchByCPD_T_Last
(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.static CPDefinitionLink
fetchByCPD_T_S_First
(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.static CPDefinitionLink
fetchByCPD_T_S_Last
(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.static CPDefinitionLink
fetchByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ?.static CPDefinitionLink
fetchByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ?.static CPDefinitionLink
fetchByCProductId_First
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ?.static CPDefinitionLink
fetchByCProductId_Last
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ?.static CPDefinitionLink
fetchByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where displayDate < ? and status = ?.static CPDefinitionLink
fetchByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where displayDate < ? and status = ?.static CPDefinitionLink
fetchByLtE_S_First
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where expirationDate < ? and status = ?.static CPDefinitionLink
fetchByLtE_S_Last
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where expirationDate < ? and status = ?.static CPDefinitionLink
fetchByPrimaryKey
(long CPDefinitionLinkId) Returns the cp definition link with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CPDefinitionLink> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CPDefinitionLink
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where uuid = ? and companyId = ?.static CPDefinitionLink
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ? and companyId = ?.static CPDefinitionLink
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where uuid = ?.static CPDefinitionLink
fetchByUUID_G
(String uuid, long groupId) Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CPDefinitionLink
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CPDefinitionLink
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ?.static List<CPDefinitionLink>
findAll()
Returns all the cp definition links.static List<CPDefinitionLink>
findAll
(int start, int end) Returns a range of all the cp definition links.static List<CPDefinitionLink>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links.static List<CPDefinitionLink>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links.static CPDefinitionLink
findByC_C_T
(long CPDefinitionId, long CProductId, String type) Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or throws aNoSuchCPDefinitionLinkException
if it could not be found.static List<CPDefinitionLink>
findByCP_S
(long CProductId, int status) Returns all the cp definition links where CProductId = ? and status = ?.static List<CPDefinitionLink>
findByCP_S
(long CProductId, int status, int start, int end) Returns a range of all the cp definition links where CProductId = ? and status = ?.static List<CPDefinitionLink>
findByCP_S
(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and status = ?.static List<CPDefinitionLink>
findByCP_S
(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and status = ?.static CPDefinitionLink
findByCP_S_First
(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and status = ?.static CPDefinitionLink
findByCP_S_Last
(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and status = ?.static CPDefinitionLink[]
findByCP_S_PrevAndNext
(long CPDefinitionLinkId, long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and status = ?.static List<CPDefinitionLink>
findByCP_T
(long CProductId, String type) Returns all the cp definition links where CProductId = ? and type = ?.static List<CPDefinitionLink>
findByCP_T
(long CProductId, String type, int start, int end) Returns a range of all the cp definition links where CProductId = ? and type = ?.static List<CPDefinitionLink>
findByCP_T
(long CProductId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and type = ?.static List<CPDefinitionLink>
findByCP_T
(long CProductId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and type = ?.static CPDefinitionLink
findByCP_T_First
(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.static CPDefinitionLink
findByCP_T_Last
(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.static CPDefinitionLink[]
findByCP_T_PrevAndNext
(long CPDefinitionLinkId, long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and type = ?.static List<CPDefinitionLink>
findByCP_T_S
(long CProductId, String type, int status) Returns all the cp definition links where CProductId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCP_T_S
(long CProductId, String type, int status, int start, int end) Returns a range of all the cp definition links where CProductId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCP_T_S
(long CProductId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCP_T_S
(long CProductId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and type = ? and status = ?.static CPDefinitionLink
findByCP_T_S_First
(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.static CPDefinitionLink
findByCP_T_S_Last
(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.static CPDefinitionLink[]
findByCP_T_S_PrevAndNext
(long CPDefinitionLinkId, long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCPD_S
(long CPDefinitionId, int status) Returns all the cp definition links where CPDefinitionId = ? and status = ?.static List<CPDefinitionLink>
findByCPD_S
(long CPDefinitionId, int status, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and status = ?.static List<CPDefinitionLink>
findByCPD_S
(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and status = ?.static List<CPDefinitionLink>
findByCPD_S
(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and status = ?.static CPDefinitionLink
findByCPD_S_First
(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and status = ?.static CPDefinitionLink
findByCPD_S_Last
(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and status = ?.static CPDefinitionLink[]
findByCPD_S_PrevAndNext
(long CPDefinitionLinkId, long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and status = ?.static List<CPDefinitionLink>
findByCPD_T
(long CPDefinitionId, String type) Returns all the cp definition links where CPDefinitionId = ? and type = ?.static List<CPDefinitionLink>
findByCPD_T
(long CPDefinitionId, String type, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and type = ?.static List<CPDefinitionLink>
findByCPD_T
(long CPDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ?.static List<CPDefinitionLink>
findByCPD_T
(long CPDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ?.static CPDefinitionLink
findByCPD_T_First
(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.static CPDefinitionLink
findByCPD_T_Last
(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.static CPDefinitionLink[]
findByCPD_T_PrevAndNext
(long CPDefinitionLinkId, long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and type = ?.static List<CPDefinitionLink>
findByCPD_T_S
(long CPDefinitionId, String type, int status) Returns all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCPD_T_S
(long CPDefinitionId, String type, int status, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCPD_T_S
(long CPDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCPD_T_S
(long CPDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.static CPDefinitionLink
findByCPD_T_S_First
(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.static CPDefinitionLink
findByCPD_T_S_Last
(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.static CPDefinitionLink[]
findByCPD_T_S_PrevAndNext
(long CPDefinitionLinkId, long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.static List<CPDefinitionLink>
findByCPDefinitionId
(long CPDefinitionId) Returns all the cp definition links where CPDefinitionId = ?.static List<CPDefinitionLink>
findByCPDefinitionId
(long CPDefinitionId, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ?.static List<CPDefinitionLink>
findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ?.static List<CPDefinitionLink>
findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ?.static CPDefinitionLink
findByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ?.static CPDefinitionLink
findByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ?.static CPDefinitionLink[]
findByCPDefinitionId_PrevAndNext
(long CPDefinitionLinkId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ?.static List<CPDefinitionLink>
findByCProductId
(long CProductId) Returns all the cp definition links where CProductId = ?.static List<CPDefinitionLink>
findByCProductId
(long CProductId, int start, int end) Returns a range of all the cp definition links where CProductId = ?.static List<CPDefinitionLink>
findByCProductId
(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ?.static List<CPDefinitionLink>
findByCProductId
(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ?.static CPDefinitionLink
findByCProductId_First
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ?.static CPDefinitionLink
findByCProductId_Last
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ?.static CPDefinitionLink[]
findByCProductId_PrevAndNext
(long CPDefinitionLinkId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ?.static List<CPDefinitionLink>
findByLtD_S
(Date displayDate, int status) Returns all the cp definition links where displayDate < ? and status = ?.static List<CPDefinitionLink>
findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the cp definition links where displayDate < ? and status = ?.static List<CPDefinitionLink>
findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where displayDate < ? and status = ?.static List<CPDefinitionLink>
findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where displayDate < ? and status = ?.static CPDefinitionLink
findByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where displayDate < ? and status = ?.static CPDefinitionLink
findByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where displayDate < ? and status = ?.static CPDefinitionLink[]
findByLtD_S_PrevAndNext
(long CPDefinitionLinkId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where displayDate < ? and status = ?.static List<CPDefinitionLink>
findByLtE_S
(Date expirationDate, int status) Returns all the cp definition links where expirationDate < ? and status = ?.static List<CPDefinitionLink>
findByLtE_S
(Date expirationDate, int status, int start, int end) Returns a range of all the cp definition links where expirationDate < ? and status = ?.static List<CPDefinitionLink>
findByLtE_S
(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where expirationDate < ? and status = ?.static List<CPDefinitionLink>
findByLtE_S
(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where expirationDate < ? and status = ?.static CPDefinitionLink
findByLtE_S_First
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where expirationDate < ? and status = ?.static CPDefinitionLink
findByLtE_S_Last
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where expirationDate < ? and status = ?.static CPDefinitionLink[]
findByLtE_S_PrevAndNext
(long CPDefinitionLinkId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where expirationDate < ? and status = ?.static CPDefinitionLink
findByPrimaryKey
(long CPDefinitionLinkId) Returns the cp definition link with the primary key or throws aNoSuchCPDefinitionLinkException
if it could not be found.static List<CPDefinitionLink>
findByUuid
(String uuid) Returns all the cp definition links where uuid = ?.static List<CPDefinitionLink>
findByUuid
(String uuid, int start, int end) Returns a range of all the cp definition links where uuid = ?.static List<CPDefinitionLink>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where uuid = ?.static List<CPDefinitionLink>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where uuid = ?.static List<CPDefinitionLink>
findByUuid_C
(String uuid, long companyId) Returns all the cp definition links where uuid = ? and companyId = ?.static List<CPDefinitionLink>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp definition links where uuid = ? and companyId = ?.static List<CPDefinitionLink>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where uuid = ? and companyId = ?.static List<CPDefinitionLink>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where uuid = ? and companyId = ?.static CPDefinitionLink
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where uuid = ? and companyId = ?.static CPDefinitionLink
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ? and companyId = ?.static CPDefinitionLink[]
findByUuid_C_PrevAndNext
(long CPDefinitionLinkId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where uuid = ? and companyId = ?.static CPDefinitionLink
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where uuid = ?.static CPDefinitionLink
findByUUID_G
(String uuid, long groupId) Returns the cp definition link where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionLinkException
if it could not be found.static CPDefinitionLink
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ?.static CPDefinitionLink[]
findByUuid_PrevAndNext
(long CPDefinitionLinkId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the cp definition links before and after the current cp definition link in the ordered set where uuid = ?.static List<CPDefinitionLink>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPDefinitionLink>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPDefinitionLink>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) static CPDefinitionLinkPersistence
static CPDefinitionLink
remove
(long CPDefinitionLinkId) Removes the cp definition link with the primary key from the database.static void
Removes all the cp definition links from the database.static CPDefinitionLink
removeByC_C_T
(long CPDefinitionId, long CProductId, String type) Removes the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? from the database.static void
removeByCP_S
(long CProductId, int status) Removes all the cp definition links where CProductId = ? and status = ? from the database.static void
removeByCP_T
(long CProductId, String type) Removes all the cp definition links where CProductId = ? and type = ? from the database.static void
removeByCP_T_S
(long CProductId, String type, int status) Removes all the cp definition links where CProductId = ? and type = ? and status = ? from the database.static void
removeByCPD_S
(long CPDefinitionId, int status) Removes all the cp definition links where CPDefinitionId = ? and status = ? from the database.static void
removeByCPD_T
(long CPDefinitionId, String type) Removes all the cp definition links where CPDefinitionId = ? and type = ? from the database.static void
removeByCPD_T_S
(long CPDefinitionId, String type, int status) Removes all the cp definition links where CPDefinitionId = ? and type = ? and status = ? from the database.static void
removeByCPDefinitionId
(long CPDefinitionId) Removes all the cp definition links where CPDefinitionId = ? from the database.static void
removeByCProductId
(long CProductId) Removes all the cp definition links where CProductId = ? from the database.static void
removeByLtD_S
(Date displayDate, int status) Removes all the cp definition links where displayDate < ? and status = ? from the database.static void
removeByLtE_S
(Date expirationDate, int status) Removes all the cp definition links where expirationDate < ? and status = ? from the database.static void
removeByUuid
(String uuid) Removes all the cp definition links where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cp definition links where uuid = ? and companyId = ? from the database.static CPDefinitionLink
removeByUUID_G
(String uuid, long groupId) Removes the cp definition link where uuid = ? and groupId = ? from the database.static void
setPersistence
(CPDefinitionLinkPersistence persistence) static CPDefinitionLink
update
(CPDefinitionLink cpDefinitionLink) static CPDefinitionLink
update
(CPDefinitionLink cpDefinitionLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPDefinitionLink
updateImpl
(CPDefinitionLink cpDefinitionLink)
-
Constructor Details
-
CPDefinitionLinkUtil
public CPDefinitionLinkUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPDefinitionLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPDefinitionLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPDefinitionLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPDefinitionLink update(CPDefinitionLink cpDefinitionLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp definition links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition links
-
findByUuid
Returns a range of all the cp definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByUuid
public static List<CPDefinitionLink> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByUuid
public static List<CPDefinitionLink> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByUuid_First
public static CPDefinitionLink findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByUuid_First
public static CPDefinitionLink fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_Last
public static CPDefinitionLink findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByUuid_Last
public static CPDefinitionLink fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_PrevAndNext
public static CPDefinitionLink[] findByUuid_PrevAndNext(long CPDefinitionLinkId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where uuid = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByUuid
Removes all the cp definition links where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition links
-
findByUUID_G
public static CPDefinitionLink findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionLinkException Returns the cp definition link where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionLinkException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByUUID_G
Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
fetchByUUID_G
Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
removeByUUID_G
public static CPDefinitionLink removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionLinkException Removes the cp definition link where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition link that was removed
- Throws:
NoSuchCPDefinitionLinkException
-
countByUUID_G
Returns the number of cp definition links where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition links
-
findByUuid_C
Returns all the cp definition links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition links
-
findByUuid_C
Returns a range of all the cp definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByUuid_C
public static List<CPDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByUuid_C
public static List<CPDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByUuid_C_First
public static CPDefinitionLink findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByUuid_C_First
public static CPDefinitionLink fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_C_Last
public static CPDefinitionLink findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByUuid_C_Last
public static CPDefinitionLink fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_C_PrevAndNext
public static CPDefinitionLink[] findByUuid_C_PrevAndNext(long CPDefinitionLinkId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByUuid_C
Removes all the cp definition links where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition links
-
findByCPDefinitionId
Returns all the cp definition links where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition links
-
findByCPDefinitionId
Returns a range of all the cp definition links where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPDefinitionId
public static List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPDefinitionId
public static List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPDefinitionId_First
public static CPDefinitionLink findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPDefinitionId_First
public static CPDefinitionLink fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPDefinitionId_Last
public static CPDefinitionLink findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPDefinitionId_Last
public static CPDefinitionLink fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPDefinitionId_PrevAndNext
public static CPDefinitionLink[] findByCPDefinitionId_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCPDefinitionId
public static void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp definition links where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition ID
-
countByCPDefinitionId
public static int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition links where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the number of matching cp definition links
-
findByCProductId
Returns all the cp definition links where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the matching cp definition links
-
findByCProductId
Returns a range of all the cp definition links where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCProductId
public static List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCProductId
public static List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCProductId_First
public static CPDefinitionLink findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ?.- Parameters:
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCProductId_First
public static CPDefinitionLink fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ?.- Parameters:
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCProductId_Last
public static CPDefinitionLink findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ?.- Parameters:
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCProductId_Last
public static CPDefinitionLink fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ?.- Parameters:
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCProductId_PrevAndNext
public static CPDefinitionLink[] findByCProductId_PrevAndNext(long CPDefinitionLinkId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCProductId
public static void removeByCProductId(long CProductId) Removes all the cp definition links where CProductId = ? from the database.- Parameters:
CProductId
- the c product ID
-
countByCProductId
public static int countByCProductId(long CProductId) Returns the number of cp definition links where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the number of matching cp definition links
-
findByCPD_T
Returns all the cp definition links where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the type- Returns:
- the matching cp definition links
-
findByCPD_T
public static List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPD_T
public static List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T
public static List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T_First
public static CPDefinitionLink findByCPD_T_First(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPD_T_First
public static CPDefinitionLink fetchByCPD_T_First(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_Last
public static CPDefinitionLink findByCPD_T_Last(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPD_T_Last
public static CPDefinitionLink fetchByCPD_T_Last(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_PrevAndNext
public static CPDefinitionLink[] findByCPD_T_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCPD_T
Removes all the cp definition links where CPDefinitionId = ? and type = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the type
-
countByCPD_T
Returns the number of cp definition links where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the type- Returns:
- the number of matching cp definition links
-
findByCPD_S
Returns all the cp definition links where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status- Returns:
- the matching cp definition links
-
findByCPD_S
public static List<CPDefinitionLink> findByCPD_S(long CPDefinitionId, int status, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPD_S
public static List<CPDefinitionLink> findByCPD_S(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPD_S
public static List<CPDefinitionLink> findByCPD_S(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPD_S_First
public static CPDefinitionLink findByCPD_S_First(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPD_S_First
public static CPDefinitionLink fetchByCPD_S_First(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_S_Last
public static CPDefinitionLink findByCPD_S_Last(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPD_S_Last
public static CPDefinitionLink fetchByCPD_S_Last(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_S_PrevAndNext
public static CPDefinitionLink[] findByCPD_S_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCPD_S
public static void removeByCPD_S(long CPDefinitionId, int status) Removes all the cp definition links where CPDefinitionId = ? and status = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status
-
countByCPD_S
public static int countByCPD_S(long CPDefinitionId, int status) Returns the number of cp definition links where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status- Returns:
- the number of matching cp definition links
-
findByCP_T
Returns all the cp definition links where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the type- Returns:
- the matching cp definition links
-
findByCP_T
Returns a range of all the cp definition links where CProductId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCP_T
public static List<CPDefinitionLink> findByCP_T(long CProductId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCP_T
public static List<CPDefinitionLink> findByCP_T(long CProductId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCP_T_First
public static CPDefinitionLink findByCP_T_First(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCP_T_First
public static CPDefinitionLink fetchByCP_T_First(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_Last
public static CPDefinitionLink findByCP_T_Last(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCP_T_Last
public static CPDefinitionLink fetchByCP_T_Last(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_PrevAndNext
public static CPDefinitionLink[] findByCP_T_PrevAndNext(long CPDefinitionLinkId, long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCP_T
Removes all the cp definition links where CProductId = ? and type = ? from the database.- Parameters:
CProductId
- the c product IDtype
- the type
-
countByCP_T
Returns the number of cp definition links where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the type- Returns:
- the number of matching cp definition links
-
findByCP_S
Returns all the cp definition links where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the status- Returns:
- the matching cp definition links
-
findByCP_S
Returns a range of all the cp definition links where CProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCP_S
public static List<CPDefinitionLink> findByCP_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCP_S
public static List<CPDefinitionLink> findByCP_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCP_S_First
public static CPDefinitionLink findByCP_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCP_S_First
public static CPDefinitionLink fetchByCP_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_S_Last
public static CPDefinitionLink findByCP_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCP_S_Last
public static CPDefinitionLink fetchByCP_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_S_PrevAndNext
public static CPDefinitionLink[] findByCP_S_PrevAndNext(long CPDefinitionLinkId, long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCP_S
public static void removeByCP_S(long CProductId, int status) Removes all the cp definition links where CProductId = ? and status = ? from the database.- Parameters:
CProductId
- the c product IDstatus
- the status
-
countByCP_S
public static int countByCP_S(long CProductId, int status) Returns the number of cp definition links where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the status- Returns:
- the number of matching cp definition links
-
findByLtD_S
Returns all the cp definition links where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching cp definition links
-
findByLtD_S
Returns a range of all the cp definition links where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByLtD_S
public static List<CPDefinitionLink> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByLtD_S
public static List<CPDefinitionLink> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByLtD_S_First
public static CPDefinitionLink findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByLtD_S_First
public static CPDefinitionLink fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtD_S_Last
public static CPDefinitionLink findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByLtD_S_Last
public static CPDefinitionLink fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtD_S_PrevAndNext
public static CPDefinitionLink[] findByLtD_S_PrevAndNext(long CPDefinitionLinkId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByLtD_S
Removes all the cp definition links where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of cp definition links where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching cp definition links
-
findByLtE_S
Returns all the cp definition links where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the matching cp definition links
-
findByLtE_S
public static List<CPDefinitionLink> findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the cp definition links where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByLtE_S
public static List<CPDefinitionLink> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByLtE_S
public static List<CPDefinitionLink> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByLtE_S_First
public static CPDefinitionLink findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByLtE_S_First
public static CPDefinitionLink fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtE_S_Last
public static CPDefinitionLink findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByLtE_S_Last
public static CPDefinitionLink fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtE_S_PrevAndNext
public static CPDefinitionLink[] findByLtE_S_PrevAndNext(long CPDefinitionLinkId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByLtE_S
Removes all the cp definition links where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate
- the expiration datestatus
- the status
-
countByLtE_S
Returns the number of cp definition links where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the number of matching cp definition links
-
findByC_C_T
public static CPDefinitionLink findByC_C_T(long CPDefinitionId, long CProductId, String type) throws NoSuchCPDefinitionLinkException Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or throws aNoSuchCPDefinitionLinkException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByC_C_T
Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
fetchByC_C_T
public static CPDefinitionLink fetchByC_C_T(long CPDefinitionId, long CProductId, String type, boolean useFinderCache) Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typeuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
removeByC_C_T
public static CPDefinitionLink removeByC_C_T(long CPDefinitionId, long CProductId, String type) throws NoSuchCPDefinitionLinkException Removes the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the cp definition link that was removed
- Throws:
NoSuchCPDefinitionLinkException
-
countByC_C_T
Returns the number of cp definition links where CPDefinitionId = ? and CProductId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the number of matching cp definition links
-
findByCPD_T_S
Returns all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the status- Returns:
- the matching cp definition links
-
findByCPD_T_S
public static List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPD_T_S
public static List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T_S
public static List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T_S_First
public static CPDefinitionLink findByCPD_T_S_First(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPD_T_S_First
public static CPDefinitionLink fetchByCPD_T_S_First(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_S_Last
public static CPDefinitionLink findByCPD_T_S_Last(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCPD_T_S_Last
public static CPDefinitionLink fetchByCPD_T_S_Last(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_S_PrevAndNext
public static CPDefinitionLink[] findByCPD_T_S_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCPD_T_S
Removes all the cp definition links where CPDefinitionId = ? and type = ? and status = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the status
-
countByCPD_T_S
Returns the number of cp definition links where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the status- Returns:
- the number of matching cp definition links
-
findByCP_T_S
Returns all the cp definition links where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the status- Returns:
- the matching cp definition links
-
findByCP_T_S
public static List<CPDefinitionLink> findByCP_T_S(long CProductId, String type, int status, int start, int end) Returns a range of all the cp definition links where CProductId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCP_T_S
public static List<CPDefinitionLink> findByCP_T_S(long CProductId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCP_T_S
public static List<CPDefinitionLink> findByCP_T_S(long CProductId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCP_T_S_First
public static CPDefinitionLink findByCP_T_S_First(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCP_T_S_First
public static CPDefinitionLink fetchByCP_T_S_First(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the first cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_S_Last
public static CPDefinitionLink findByCP_T_S_Last(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundNoSuchCPDefinitionLinkException
-
fetchByCP_T_S_Last
public static CPDefinitionLink fetchByCP_T_S_Last(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_S_PrevAndNext
public static CPDefinitionLink[] findByCP_T_S_PrevAndNext(long CPDefinitionLinkId, long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
removeByCP_T_S
Removes all the cp definition links where CProductId = ? and type = ? and status = ? from the database.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the status
-
countByCP_T_S
Returns the number of cp definition links where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the status- Returns:
- the number of matching cp definition links
-
cacheResult
Caches the cp definition link in the entity cache if it is enabled.- Parameters:
cpDefinitionLink
- the cp definition link
-
cacheResult
Caches the cp definition links in the entity cache if it is enabled.- Parameters:
cpDefinitionLinks
- the cp definition links
-
create
Creates a new cp definition link with the primary key. Does not add the cp definition link to the database.- Parameters:
CPDefinitionLinkId
- the primary key for the new cp definition link- Returns:
- the new cp definition link
-
remove
public static CPDefinitionLink remove(long CPDefinitionLinkId) throws NoSuchCPDefinitionLinkException Removes the cp definition link with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionLinkId
- the primary key of the cp definition link- Returns:
- the cp definition link that was removed
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
updateImpl
-
findByPrimaryKey
public static CPDefinitionLink findByPrimaryKey(long CPDefinitionLinkId) throws NoSuchCPDefinitionLinkException Returns the cp definition link with the primary key or throws aNoSuchCPDefinitionLinkException
if it could not be found.- Parameters:
CPDefinitionLinkId
- the primary key of the cp definition link- Returns:
- the cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundNoSuchCPDefinitionLinkException
-
fetchByPrimaryKey
Returns the cp definition link with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionLinkId
- the primary key of the cp definition link- Returns:
- the cp definition link, or
null
if a cp definition link with the primary key could not be found
-
findAll
Returns all the cp definition links.- Returns:
- the cp definition links
-
findAll
Returns a range of all the cp definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of cp definition links
-
findAll
public static List<CPDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp definition links
-
findAll
public static List<CPDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp definition links
-
removeAll
public static void removeAll()Removes all the cp definition links from the database. -
countAll
public static int countAll()Returns the number of cp definition links.- Returns:
- the number of cp definition links
-
getPersistence
-
setPersistence
-