Interface CPDefinitionLinkPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionLink>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionLink>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
countAll()
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
countByUuid
(String uuid) 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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns the last cp definition link in the ordered set where uuid = ?.findAll()
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 aNoSuchCPDefinitionLinkException
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 aNoSuchCPDefinitionLinkException
if it could not be found.findByUuid
(String uuid) 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 aNoSuchCPDefinitionLinkException
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
removeByUuid
(String uuid) 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
Returns all the cp definition links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition links
-
findByUuid
Returns a range of all the cp definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByUuid
List<CPDefinitionLink> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByUuid
List<CPDefinitionLink> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByUuid_First
CPDefinitionLink findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_Last
CPDefinitionLink findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_PrevAndNext
CPDefinitionLink[] findByUuid_PrevAndNext(long CPDefinitionLinkId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where uuid = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByUuid
Removes all the cp definition links where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition links
-
findByUUID_G
Returns the cp definition link where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionLinkException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be found
-
fetchByUUID_G
Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
fetchByUUID_G
Returns the cp definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
removeByUUID_G
Removes the cp definition link where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition link that was removed
- Throws:
NoSuchCPDefinitionLinkException
-
countByUUID_G
Returns the number of cp definition links where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition links
-
findByUuid_C
Returns all the cp definition links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition links
-
findByUuid_C
Returns a range of all the cp definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByUuid_C
List<CPDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByUuid_C
List<CPDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByUuid_C_First
CPDefinitionLink findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_C_Last
CPDefinitionLink findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByUuid_C_PrevAndNext
CPDefinitionLink[] findByUuid_C_PrevAndNext(long CPDefinitionLinkId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByUuid_C
Removes all the cp definition links where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition links
-
findByCPDefinitionId
Returns all the cp definition links where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition links
-
findByCPDefinitionId
Returns a range of all the cp definition links where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPDefinitionId
List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPDefinitionId
List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPDefinitionId_First
CPDefinitionLink findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPDefinitionId_Last
CPDefinitionLink findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPDefinitionId_PrevAndNext
CPDefinitionLink[] findByCPDefinitionId_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be 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
Returns all the cp definition links where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the matching cp definition links
-
findByCProductId
Returns a range of all the cp definition links where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCProductId
List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCProductId
List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCProductId_First
CPDefinitionLink findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ?.- Parameters:
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCProductId_Last
CPDefinitionLink findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ?.- Parameters:
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCProductId_PrevAndNext
CPDefinitionLink[] findByCProductId_PrevAndNext(long CPDefinitionLinkId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be 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
Returns all the cp definition links where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the type- Returns:
- the matching cp definition links
-
findByCPD_T
Returns a range of all the cp definition links where CPDefinitionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPD_T
List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T
List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T_First
CPDefinitionLink findByCPD_T_First(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_Last
CPDefinitionLink findByCPD_T_Last(long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_PrevAndNext
CPDefinitionLink[] findByCPD_T_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByCPD_T
Removes all the cp definition links where CPDefinitionId = ? and type = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the type
-
countByCPD_T
Returns the number of cp definition links where CPDefinitionId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the type- Returns:
- the number of matching cp definition links
-
findByCPD_S
Returns all the cp definition links where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status- Returns:
- the matching cp definition links
-
findByCPD_S
Returns a range of all the cp definition links where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPD_S
List<CPDefinitionLink> findByCPD_S(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPD_S
List<CPDefinitionLink> findByCPD_S(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPD_S_First
CPDefinitionLink findByCPD_S_First(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_S_Last
CPDefinitionLink findByCPD_S_Last(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_S_PrevAndNext
CPDefinitionLink[] findByCPD_S_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be 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 IDstatus
- 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 IDstatus
- the status- Returns:
- the number of matching cp definition links
-
findByCP_T
Returns all the cp definition links where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the type- Returns:
- the matching cp definition links
-
findByCP_T
Returns a range of all the cp definition links where CProductId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCP_T
List<CPDefinitionLink> findByCP_T(long CProductId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCP_T
List<CPDefinitionLink> findByCP_T(long CProductId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCP_T_First
CPDefinitionLink findByCP_T_First(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_Last
CPDefinitionLink findByCP_T_Last(long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_PrevAndNext
CPDefinitionLink[] findByCP_T_PrevAndNext(long CPDefinitionLinkId, long CProductId, String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and type = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByCP_T
Removes all the cp definition links where CProductId = ? and type = ? from the database.- Parameters:
CProductId
- the c product IDtype
- the type
-
countByCP_T
Returns the number of cp definition links where CProductId = ? and type = ?.- Parameters:
CProductId
- the c product IDtype
- the type- Returns:
- the number of matching cp definition links
-
findByCP_S
Returns all the cp definition links where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the status- Returns:
- the matching cp definition links
-
findByCP_S
Returns a range of all the cp definition links where CProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCP_S
List<CPDefinitionLink> findByCP_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCP_S
List<CPDefinitionLink> findByCP_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCP_S_First
CPDefinitionLink findByCP_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_S_Last
CPDefinitionLink findByCP_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_S_PrevAndNext
CPDefinitionLink[] findByCP_S_PrevAndNext(long CPDefinitionLinkId, long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be 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 IDstatus
- 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 IDstatus
- the status- Returns:
- the number of matching cp definition links
-
findByLtD_S
Returns all the cp definition links where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching cp definition links
-
findByLtD_S
Returns a range of all the cp definition links where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByLtD_S
List<CPDefinitionLink> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByLtD_S
List<CPDefinitionLink> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByLtD_S_First
CPDefinitionLink findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtD_S_Last
CPDefinitionLink findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtD_S_PrevAndNext
CPDefinitionLink[] findByLtD_S_PrevAndNext(long CPDefinitionLinkId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where displayDate < ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByLtD_S
Removes all the cp definition links where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of cp definition links where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching cp definition links
-
findByLtE_S
Returns all the cp definition links where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the matching cp definition links
-
findByLtE_S
Returns a range of all the cp definition links where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByLtE_S
List<CPDefinitionLink> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByLtE_S
List<CPDefinitionLink> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByLtE_S_First
CPDefinitionLink findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtE_S_Last
CPDefinitionLink findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByLtE_S_PrevAndNext
CPDefinitionLink[] findByLtE_S_PrevAndNext(long CPDefinitionLinkId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where expirationDate < ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByLtE_S
Removes all the cp definition links where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate
- the expiration datestatus
- the status
-
countByLtE_S
Returns the number of cp definition links where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the number of matching cp definition links
-
findByC_C_T
CPDefinitionLink findByC_C_T(long CPDefinitionId, long CProductId, String type) throws NoSuchCPDefinitionLinkException Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or throws aNoSuchCPDefinitionLinkException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be found
-
fetchByC_C_T
Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
fetchByC_C_T
CPDefinitionLink fetchByC_C_T(long CPDefinitionId, long CProductId, String type, boolean useFinderCache) Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typeuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition link, or
null
if a matching cp definition link could not be found
-
removeByC_C_T
CPDefinitionLink removeByC_C_T(long CPDefinitionId, long CProductId, String type) throws NoSuchCPDefinitionLinkException Removes the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the cp definition link that was removed
- Throws:
NoSuchCPDefinitionLinkException
-
countByC_C_T
Returns the number of cp definition links where CPDefinitionId = ? and CProductId = ? and type = ?.- Parameters:
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the type- Returns:
- the number of matching cp definition links
-
findByCPD_T_S
Returns all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the status- Returns:
- the matching cp definition links
-
findByCPD_T_S
List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status, int start, int end) Returns a range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCPD_T_S
List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T_S
List<CPDefinitionLink> findByCPD_T_S(long CPDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CPDefinitionId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCPD_T_S_First
CPDefinitionLink findByCPD_T_S_First(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_S_Last
CPDefinitionLink findByCPD_T_S_Last(long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCPD_T_S_PrevAndNext
CPDefinitionLink[] findByCPD_T_S_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByCPD_T_S
Removes all the cp definition links where CPDefinitionId = ? and type = ? and status = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the status
-
countByCPD_T_S
Returns the number of cp definition links where CPDefinitionId = ? and type = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDtype
- the typestatus
- the status- Returns:
- the number of matching cp definition links
-
findByCP_T_S
Returns all the cp definition links where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the status- Returns:
- the matching cp definition links
-
findByCP_T_S
Returns a range of all the cp definition links where CProductId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of matching cp definition links
-
findByCP_T_S
List<CPDefinitionLink> findByCP_T_S(long CProductId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links where CProductId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition links
-
findByCP_T_S
List<CPDefinitionLink> findByCP_T_S(long CProductId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links where CProductId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusstart
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition links
-
findByCP_T_S_First
CPDefinitionLink findByCP_T_S_First(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the first cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_S_Last
CPDefinitionLink findByCP_T_S_Last(long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the last cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be 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 IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition link, or
null
if a matching cp definition link could not be found
-
findByCP_T_S_PrevAndNext
CPDefinitionLink[] findByCP_T_S_PrevAndNext(long CPDefinitionLinkId, long CProductId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ? and type = ? and status = ?.- Parameters:
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
removeByCP_T_S
Removes all the cp definition links where CProductId = ? and type = ? and status = ? from the database.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the status
-
countByCP_T_S
Returns the number of cp definition links where CProductId = ? and type = ? and status = ?.- Parameters:
CProductId
- the c product IDtype
- the typestatus
- the status- Returns:
- the number of matching cp definition links
-
cacheResult
Caches the cp definition link in the entity cache if it is enabled.- Parameters:
cpDefinitionLink
- the cp definition link
-
cacheResult
Caches the cp definition links in the entity cache if it is enabled.- Parameters:
cpDefinitionLinks
- the cp definition links
-
create
Creates a new cp definition link with the primary key. Does not add the cp definition link to the database.- Parameters:
CPDefinitionLinkId
- the primary key for the new cp definition link- Returns:
- the new cp definition link
-
remove
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
-
findByPrimaryKey
Returns the cp definition link with the primary key or throws aNoSuchCPDefinitionLinkException
if it could not be found.- Parameters:
CPDefinitionLinkId
- the primary key of the cp definition link- Returns:
- the cp definition link
- Throws:
NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp definition link with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionLinkId
- the primary key of the cp definition link- Returns:
- the cp definition link, or
null
if a cp definition link with the primary key could not be found
-
findAll
List<CPDefinitionLink> findAll()Returns all the cp definition links.- Returns:
- the cp definition links
-
findAll
Returns a range of all the cp definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)- Returns:
- the range of cp definition links
-
findAll
List<CPDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) Returns an ordered range of all the cp definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp definition links
-
findAll
List<CPDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp definition links
-
removeAll
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
-