Interface CPDefinitionLinkPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionLink>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionLink>

@ProviderType public interface CPDefinitionLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionLink>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionLink>
The persistence interface for the cp definition link service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CPDefinitionLink cpDefinitionLink)
    Caches the cp definition link in the entity cache if it is enabled.
    void
    cacheResult(List<CPDefinitionLink> cpDefinitionLinks)
    Caches the cp definition links in the entity cache if it is enabled.
    int
    Returns the number of cp definition links.
    int
    countByC_C_T(long CPDefinitionId, long CProductId, String type)
    Returns the number of cp definition links where CPDefinitionId = ? and CProductId = ? and type = ?.
    int
    countByCP_S(long CProductId, int status)
    Returns the number of cp definition links where CProductId = ? and status = ?.
    int
    countByCP_T(long CProductId, String type)
    Returns the number of cp definition links where CProductId = ? and type = ?.
    int
    countByCP_T_S(long CProductId, String type, int status)
    Returns the number of cp definition links where CProductId = ? and type = ? and status = ?.
    int
    countByCPD_S(long CPDefinitionId, int status)
    Returns the number of cp definition links where CPDefinitionId = ? and status = ?.
    int
    countByCPD_T(long CPDefinitionId, String type)
    Returns the number of cp definition links where CPDefinitionId = ? and type = ?.
    int
    countByCPD_T_S(long CPDefinitionId, String type, int status)
    Returns the number of cp definition links where CPDefinitionId = ? and type = ? and status = ?.
    int
    countByCPDefinitionId(long CPDefinitionId)
    Returns the number of cp definition links where CPDefinitionId = ?.
    int
    countByCProductId(long CProductId)
    Returns the number of cp definition links where CProductId = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of cp definition links where displayDate < ? and status = ?.
    int
    countByLtE_S(Date expirationDate, int status)
    Returns the number of cp definition links where expirationDate < ? and status = ?.
    int
    Returns the number of cp definition links where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of cp definition links where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of cp definition links where uuid = ? and groupId = ?.
    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 = ?.
    remove(long CPDefinitionLinkId)
    Removes the cp definition link with the primary key from the database.
    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.
    void
    removeByCP_S(long CProductId, int status)
    Removes all the cp definition links where CProductId = ? and status = ? from the database.
    void
    removeByCP_T(long CProductId, String type)
    Removes all the cp definition links where CProductId = ? and type = ? from the database.
    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.
    void
    removeByCPD_S(long CPDefinitionId, int status)
    Removes all the cp definition links where CPDefinitionId = ? and status = ? from the database.
    void
    removeByCPD_T(long CPDefinitionId, String type)
    Removes all the cp definition links where CPDefinitionId = ? and type = ? from the database.
    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.
    void
    removeByCPDefinitionId(long CPDefinitionId)
    Removes all the cp definition links where CPDefinitionId = ? from the database.
    void
    removeByCProductId(long CProductId)
    Removes all the cp definition links where CProductId = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the cp definition links where displayDate < ? and status = ? from the database.
    void
    removeByLtE_S(Date expirationDate, int status)
    Removes all the cp definition links where expirationDate < ? and status = ? from the database.
    void
    Removes all the cp definition links where uuid = ? from the database.
    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.
    updateImpl(CPDefinitionLink cpDefinitionLink)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • removeByUuid

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

      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

      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
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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
    • fetchByCPDefinitionId_First

      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

      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
    • fetchByCPDefinitionId_Last

      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

      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
    • removeByCPDefinitionId

      void removeByCPDefinitionId(long CPDefinitionId)
      Removes all the cp definition links where CPDefinitionId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
    • countByCPDefinitionId

      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

      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

      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

      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

      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

      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
    • fetchByCProductId_First

      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

      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
    • fetchByCProductId_Last

      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

      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
    • removeByCProductId

      void removeByCProductId(long CProductId)
      Removes all the cp definition links where CProductId = ? from the database.
      Parameters:
      CProductId - the c product ID
    • countByCProductId

      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

      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

      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

      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

      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

      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
    • fetchByCPD_T_First

      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

      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
    • fetchByCPD_T_Last

      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

      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
    • removeByCPD_T

      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

      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

      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

      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

      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

      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

      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
    • fetchByCPD_S_First

      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

      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
    • fetchByCPD_S_Last

      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

      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
    • removeByCPD_S

      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

      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

      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

      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

      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

      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

      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
    • fetchByCP_T_First

      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

      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
    • fetchByCP_T_Last

      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

      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
    • removeByCP_T

      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

      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

      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

      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

      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

      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

      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
    • fetchByCP_S_First

      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

      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
    • fetchByCP_S_Last

      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

      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
    • removeByCP_S

      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

      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

      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

      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

      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

      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

      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
    • fetchByLtD_S_First

      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

      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
    • fetchByLtD_S_Last

      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

      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
    • removeByLtD_S

      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

      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

      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

      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

      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

      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

      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
    • fetchByLtE_S_First

      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

      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
    • fetchByLtE_S_Last

      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

      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
    • removeByLtE_S

      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

      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

      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
    • fetchByC_C_T

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByCPD_T_S_First

      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

      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
    • fetchByCPD_T_S_Last

      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

      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
    • removeByCPD_T_S

      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

      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

      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

      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

      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

      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

      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
    • fetchByCP_T_S_First

      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

      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
    • fetchByCP_T_S_Last

      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

      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
    • removeByCP_T_S

      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

      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

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

      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

      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

      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
    • updateImpl

      CPDefinitionLink updateImpl(CPDefinitionLink cpDefinitionLink)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

      Returns all the cp definition links.
      Returns:
      the cp definition links
    • findAll

      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

      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

      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

      void removeAll()
      Removes all the cp definition links from the database.
    • countAll

      int countAll()
      Returns the number of cp definition links.
      Returns:
      the number of cp definition links