Class CPDefinitionLinkUtil

java.lang.Object
com.liferay.commerce.product.service.persistence.CPDefinitionLinkUtil

public class CPDefinitionLinkUtil extends Object
The persistence utility for the cp definition link service. This utility wraps 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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
    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
    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)
     
    create(long CPDefinitionLinkId)
    Creates a new cp definition link with the primary key.
    fetchByC_C_T(long CPDefinitionId, long CProductId, String type)
    Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returns null if it could not be found.
    fetchByC_C_T(long CPDefinitionId, long CProductId, String type, boolean useFinderCache)
    Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the first cp definition link in the ordered set where CPDefinitionId = ?.
    fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the last cp definition link in the ordered set where CPDefinitionId = ?.
    fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the first cp definition link in the ordered set where CProductId = ?.
    fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the last cp definition link in the ordered set where CProductId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByPrimaryKey(long CPDefinitionLinkId)
    Returns the cp definition link with the primary key or returns null if it could not be found.
     
    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 = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the first cp definition link in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the cp definition link where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the cp definition link where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the last cp definition link in the ordered set where uuid = ?.
    Returns all the cp definition links.
    findAll(int start, int end)
    Returns a range of all the cp definition links.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns an ordered range of all the cp definition links.
    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.
    findByC_C_T(long CPDefinitionId, long CProductId, String type)
    Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or throws a NoSuchCPDefinitionLinkException if it could not be found.
    findByCP_S(long CProductId, int status)
    Returns all the cp definition links where CProductId = ? and status = ?.
    findByCP_S(long CProductId, int status, int start, int end)
    Returns a range of all the cp definition links where CProductId = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCP_T(long CProductId, String type)
    Returns all the cp definition links where CProductId = ? and type = ?.
    findByCP_T(long CProductId, String type, int start, int end)
    Returns a range of all the cp definition links where CProductId = ? and type = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCP_T_S(long CProductId, String type, int status)
    Returns all the cp definition links where CProductId = ? and type = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCPD_S(long CPDefinitionId, int status)
    Returns all the cp definition links where CPDefinitionId = ? and status = ?.
    findByCPD_S(long CPDefinitionId, int status, int start, int end)
    Returns a range of all the cp definition links where CPDefinitionId = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCPD_T(long CPDefinitionId, String type)
    Returns all the cp definition links where CPDefinitionId = ? and type = ?.
    findByCPD_T(long CPDefinitionId, String type, int start, int end)
    Returns a range of all the cp definition links where CPDefinitionId = ? and type = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCPD_T_S(long CPDefinitionId, String type, int status)
    Returns all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCPDefinitionId(long CPDefinitionId)
    Returns all the cp definition links where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end)
    Returns a range of all the cp definition links where CPDefinitionId = ?.
    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 = ?.
    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 = ?.
    findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the first cp definition link in the ordered set where CPDefinitionId = ?.
    findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the last cp definition link in the ordered set where CPDefinitionId = ?.
    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 = ?.
    findByCProductId(long CProductId)
    Returns all the cp definition links where CProductId = ?.
    findByCProductId(long CProductId, int start, int end)
    Returns a range of all the cp definition links where CProductId = ?.
    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 = ?.
    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 = ?.
    findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the first cp definition link in the ordered set where CProductId = ?.
    findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the last cp definition link in the ordered set where CProductId = ?.
    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 = ?.
    findByLtD_S(Date displayDate, int status)
    Returns all the cp definition links where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the cp definition links where displayDate < ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByLtE_S(Date expirationDate, int status)
    Returns all the cp definition links where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end)
    Returns a range of all the cp definition links where expirationDate < ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByPrimaryKey(long CPDefinitionLinkId)
    Returns the cp definition link with the primary key or throws a NoSuchCPDefinitionLinkException if it could not be found.
    Returns all the cp definition links where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the cp definition links where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the cp definition links where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the cp definition links where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the first cp definition link in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the cp definition link where uuid = ? and groupId = ? or throws a NoSuchCPDefinitionLinkException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
    Returns the last cp definition link in the ordered set where uuid = ?.
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
     
     
    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.
    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
    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.
    removeByUUID_G(String uuid, long groupId)
    Removes the cp definition link where uuid = ? and groupId = ? from the database.
    static void
     
    update(CPDefinitionLink cpDefinitionLink)
     
    update(CPDefinitionLink cpDefinitionLink, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(CPDefinitionLink cpDefinitionLink)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CPDefinitionLinkUtil

      public CPDefinitionLinkUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CPDefinitionLink cpDefinitionLink)
      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

      public static Map<Serializable,CPDefinitionLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      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

      public static CPDefinitionLink update(CPDefinitionLink cpDefinitionLink)
      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

      public static List<CPDefinitionLink> findByUuid(String uuid)
      Returns all the cp definition links where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp definition links
    • findByUuid

      public static List<CPDefinitionLink> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp definition links where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the cp definition links where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      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 a NoSuchCPDefinitionLinkException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • fetchByUUID_G

      public static CPDefinitionLink fetchByUUID_G(String uuid, long groupId)
      Returns the cp definition link where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp definition link, or null if a matching cp definition link could not be found
    • fetchByUUID_G

      public static CPDefinitionLink fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cp definition link where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 uuid
      groupId - the group ID
      Returns:
      the cp definition link that was removed
      Throws:
      NoSuchCPDefinitionLinkException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of cp definition links where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching cp definition links
    • findByUuid_C

      public static List<CPDefinitionLink> findByUuid_C(String uuid, long companyId)
      Returns all the cp definition links where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp definition links
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the cp definition links where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of cp definition links where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp definition links
    • findByCPDefinitionId

      public static List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId)
      Returns all the cp definition links where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cp definition links
    • findByCPDefinitionId

      public static List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end)
      Returns a range of all the cp definition links where CPDefinitionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • 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

      public static List<CPDefinitionLink> findByCProductId(long CProductId)
      Returns all the cp definition links where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the matching cp definition links
    • findByCProductId

      public static List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end)
      Returns a range of all the cp definition links where CProductId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • 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

      public static List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type)
      Returns all the cp definition links where CPDefinitionId = ? and type = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      type - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CPDefinitionId - the cp definition ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByCPD_T

      public static void removeByCPD_T(long CPDefinitionId, String type)
      Removes all the cp definition links where CPDefinitionId = ? and type = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
    • countByCPD_T

      public static int countByCPD_T(long CPDefinitionId, String type)
      Returns the number of cp definition links where CPDefinitionId = ? and type = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      Returns:
      the number of matching cp definition links
    • findByCPD_S

      public static List<CPDefinitionLink> findByCPD_S(long CPDefinitionId, int status)
      Returns all the cp definition links where CPDefinitionId = ? and status = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CPDefinitionId - the cp definition ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching cp definition links
    • findByCP_T

      public static List<CPDefinitionLink> findByCP_T(long CProductId, String type)
      Returns all the cp definition links where CProductId = ? and type = ?.
      Parameters:
      CProductId - the c product ID
      type - the type
      Returns:
      the matching cp definition links
    • findByCP_T

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      type - the type
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      type - the type
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      type - the type
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CProductId - the c product ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByCP_T

      public static void removeByCP_T(long CProductId, String type)
      Removes all the cp definition links where CProductId = ? and type = ? from the database.
      Parameters:
      CProductId - the c product ID
      type - the type
    • countByCP_T

      public static int countByCP_T(long CProductId, String type)
      Returns the number of cp definition links where CProductId = ? and type = ?.
      Parameters:
      CProductId - the c product ID
      type - the type
      Returns:
      the number of matching cp definition links
    • findByCP_S

      public static List<CPDefinitionLink> findByCP_S(long CProductId, int status)
      Returns all the cp definition links where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      Returns:
      the matching cp definition links
    • findByCP_S

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      status - the status
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CProductId - the c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching cp definition links
    • findByLtD_S

      public static List<CPDefinitionLink> findByLtD_S(Date displayDate, int status)
      Returns all the cp definition links where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching cp definition links
    • findByLtD_S

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByLtD_S

      public static void removeByLtD_S(Date displayDate, int status)
      Removes all the cp definition links where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      public static int countByLtD_S(Date displayDate, int status)
      Returns the number of cp definition links where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching cp definition links
    • findByLtE_S

      public static List<CPDefinitionLink> findByLtE_S(Date expirationDate, int status)
      Returns all the cp definition links where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByLtE_S

      public static void removeByLtE_S(Date expirationDate, int status)
      Removes all the cp definition links where expirationDate < ? and status = ? from the database.
      Parameters:
      expirationDate - the expiration date
      status - the status
    • countByLtE_S

      public static int countByLtE_S(Date expirationDate, int status)
      Returns the number of cp definition links where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - 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 a NoSuchCPDefinitionLinkException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      CProductId - the c product ID
      type - the type
      Returns:
      the matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • fetchByC_C_T

      public static CPDefinitionLink fetchByC_C_T(long CPDefinitionId, long CProductId, String type)
      Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      CProductId - the c product ID
      type - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      CProductId - the c product ID
      type - the type
      useFinderCache - 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 ID
      CProductId - the c product ID
      type - the type
      Returns:
      the cp definition link that was removed
      Throws:
      NoSuchCPDefinitionLinkException
    • countByC_C_T

      public static int countByC_C_T(long CPDefinitionId, long CProductId, String type)
      Returns the number of cp definition links where CPDefinitionId = ? and CProductId = ? and type = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CProductId - the c product ID
      type - the type
      Returns:
      the number of matching cp definition links
    • findByCPD_T_S

      public static List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status)
      Returns all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      status - the status
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CPDefinitionId - the cp definition ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByCPD_T_S

      public 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.
      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      status - the status
    • countByCPD_T_S

      public static int countByCPD_T_S(long CPDefinitionId, String type, int status)
      Returns the number of cp definition links where CPDefinitionId = ? and type = ? and status = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      type - the type
      status - the status
      Returns:
      the number of matching cp definition links
    • findByCP_T_S

      public static List<CPDefinitionLink> findByCP_T_S(long CProductId, String type, int status)
      Returns all the cp definition links where CProductId = ? and type = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      type - the type
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      type - the type
      status - the status
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      type - the type
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      CProductId - the c product ID
      type - the type
      status - the status
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a matching cp definition link could not be found
      NoSuchCPDefinitionLinkException
    • 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 ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 link
      CProductId - the c product ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition link
      Throws:
      NoSuchCPDefinitionLinkException - if a cp definition link with the primary key could not be found
      NoSuchCPDefinitionLinkException
    • removeByCP_T_S

      public 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.
      Parameters:
      CProductId - the c product ID
      type - the type
      status - the status
    • countByCP_T_S

      public static int countByCP_T_S(long CProductId, String type, int status)
      Returns the number of cp definition links where CProductId = ? and type = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      type - the type
      status - the status
      Returns:
      the number of matching cp definition links
    • cacheResult

      public static void cacheResult(CPDefinitionLink cpDefinitionLink)
      Caches the cp definition link in the entity cache if it is enabled.
      Parameters:
      cpDefinitionLink - the cp definition link
    • cacheResult

      public static void cacheResult(List<CPDefinitionLink> cpDefinitionLinks)
      Caches the cp definition links in the entity cache if it is enabled.
      Parameters:
      cpDefinitionLinks - the cp definition links
    • create

      public static CPDefinitionLink create(long CPDefinitionLinkId)
      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 found
      NoSuchCPDefinitionLinkException
    • updateImpl

      public static CPDefinitionLink updateImpl(CPDefinitionLink cpDefinitionLink)
    • findByPrimaryKey

      public static CPDefinitionLink findByPrimaryKey(long CPDefinitionLinkId) throws NoSuchCPDefinitionLinkException
      Returns the cp definition link with the primary key or throws a NoSuchCPDefinitionLinkException 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 found
      NoSuchCPDefinitionLinkException
    • fetchByPrimaryKey

      public static CPDefinitionLink fetchByPrimaryKey(long CPDefinitionLinkId)
      Returns the cp definition link with the primary key or returns null 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

      public static List<CPDefinitionLink> findAll()
      Returns all the cp definition links.
      Returns:
      the cp definition links
    • findAll

      public static List<CPDefinitionLink> findAll(int start, int end)
      Returns a range of all the cp definition links.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      start - the lower bound of the range of cp definition links
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl.

      Parameters:
      start - the lower bound of the range of cp definition links
      end - the upper bound of the range of cp definition links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static CPDefinitionLinkPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPDefinitionLinkPersistence persistence)