@ProviderType public interface CPDefinitionLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionLink>
Caching information and settings can be found in portal.properties
CPDefinitionLinkUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPDefinitionLink cpDefinitionLink)
Caches the cp definition link in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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,
java.lang.String type)
Returns the number of cp definition links where CPDefinitionId = ? and CProductId = ? and type = ?.
|
int |
countByCP_T(long CProductId,
java.lang.String type)
Returns the number of cp definition links where CProductId = ? and type = ?.
|
int |
countByCPD_T(long CPDefinitionId,
java.lang.String type)
Returns the number of cp definition links where CPDefinitionId = ? and type = ?.
|
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 |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definition links where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definition links where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp definition links where uuid = ?.
|
CPDefinitionLink |
create(long CPDefinitionLinkId)
Creates a new cp definition link with the primary key.
|
CPDefinitionLink |
fetchByC_C_T(long CPDefinitionId,
long CProductId,
java.lang.String type)
Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returns
null if it could not be found. |
CPDefinitionLink |
fetchByC_C_T(long CPDefinitionId,
long CProductId,
java.lang.String type,
boolean useFinderCache)
Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionLink |
fetchByCP_T_First(long CProductId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.
|
CPDefinitionLink |
fetchByCP_T_Last(long CProductId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.
|
CPDefinitionLink |
fetchByCPD_T_First(long CPDefinitionId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.
|
CPDefinitionLink |
fetchByCPD_T_Last(long CPDefinitionId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CPDefinitionLink |
fetchByPrimaryKey(long CPDefinitionLinkId)
Returns the cp definition link with the primary key or returns
null if it could not be found. |
CPDefinitionLink |
fetchByUuid_C_First(java.lang.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 = ?.
|
CPDefinitionLink |
fetchByUuid_C_Last(java.lang.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 = ?.
|
CPDefinitionLink |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where uuid = ?.
|
CPDefinitionLink |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition link where uuid = ? and groupId = ? or returns
null if it could not be found. |
CPDefinitionLink |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition link where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionLink |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionLink> |
findAll()
Returns all the cp definition links.
|
java.util.List<CPDefinitionLink> |
findAll(int start,
int end)
Returns a range of all the cp definition links.
|
java.util.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.
|
java.util.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.
|
CPDefinitionLink |
findByC_C_T(long CPDefinitionId,
long CProductId,
java.lang.String type)
Returns the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? or throws a
NoSuchCPDefinitionLinkException if it could not be found. |
CPDefinitionLink |
findByCP_T_First(long CProductId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where CProductId = ? and type = ?.
|
CPDefinitionLink |
findByCP_T_Last(long CProductId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where CProductId = ? and type = ?.
|
CPDefinitionLink[] |
findByCP_T_PrevAndNext(long CPDefinitionLinkId,
long CProductId,
java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByCP_T(long CProductId,
java.lang.String type)
Returns all the cp definition links where CProductId = ? and type = ?.
|
java.util.List<CPDefinitionLink> |
findByCP_T(long CProductId,
java.lang.String type,
int start,
int end)
Returns a range of all the cp definition links where CProductId = ? and type = ?.
|
java.util.List<CPDefinitionLink> |
findByCP_T(long CProductId,
java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByCP_T(long CProductId,
java.lang.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 = ?.
|
CPDefinitionLink |
findByCPD_T_First(long CPDefinitionId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where CPDefinitionId = ? and type = ?.
|
CPDefinitionLink |
findByCPD_T_Last(long CPDefinitionId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where CPDefinitionId = ? and type = ?.
|
CPDefinitionLink[] |
findByCPD_T_PrevAndNext(long CPDefinitionLinkId,
long CPDefinitionId,
java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByCPD_T(long CPDefinitionId,
java.lang.String type)
Returns all the cp definition links where CPDefinitionId = ? and type = ?.
|
java.util.List<CPDefinitionLink> |
findByCPD_T(long CPDefinitionId,
java.lang.String type,
int start,
int end)
Returns a range of all the cp definition links where CPDefinitionId = ? and type = ?.
|
java.util.List<CPDefinitionLink> |
findByCPD_T(long CPDefinitionId,
java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByCPD_T(long CPDefinitionId,
java.lang.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 = ?.
|
CPDefinitionLink |
findByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where CPDefinitionId = ?.
|
CPDefinitionLink |
findByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where CPDefinitionId = ?.
|
CPDefinitionLink[] |
findByCPDefinitionId_PrevAndNext(long CPDefinitionLinkId,
long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the cp definition links before and after the current cp definition link in the ordered set where CPDefinitionId = ?.
|
java.util.List<CPDefinitionLink> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the cp definition links where CPDefinitionId = ?.
|
java.util.List<CPDefinitionLink> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the cp definition links where CPDefinitionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CPDefinitionLink |
findByCProductId_First(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where CProductId = ?.
|
CPDefinitionLink |
findByCProductId_Last(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where CProductId = ?.
|
CPDefinitionLink[] |
findByCProductId_PrevAndNext(long CPDefinitionLinkId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the cp definition links before and after the current cp definition link in the ordered set where CProductId = ?.
|
java.util.List<CPDefinitionLink> |
findByCProductId(long CProductId)
Returns all the cp definition links where CProductId = ?.
|
java.util.List<CPDefinitionLink> |
findByCProductId(long CProductId,
int start,
int end)
Returns a range of all the cp definition links where CProductId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CPDefinitionLink |
findByPrimaryKey(long CPDefinitionLinkId)
Returns the cp definition link with the primary key or throws a
NoSuchCPDefinitionLinkException if it could not be found. |
CPDefinitionLink |
findByUuid_C_First(java.lang.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 = ?.
|
CPDefinitionLink |
findByUuid_C_Last(java.lang.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 = ?.
|
CPDefinitionLink[] |
findByUuid_C_PrevAndNext(long CPDefinitionLinkId,
java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definition links where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definition links where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid_C(java.lang.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 = ?.
|
CPDefinitionLink |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the first cp definition link in the ordered set where uuid = ?.
|
CPDefinitionLink |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition link where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionLinkException if it could not be found. |
CPDefinitionLink |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Returns the last cp definition link in the ordered set where uuid = ?.
|
CPDefinitionLink[] |
findByUuid_PrevAndNext(long CPDefinitionLinkId,
java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid(java.lang.String uuid)
Returns all the cp definition links where uuid = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definition links where uuid = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid(java.lang.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 = ?.
|
java.util.List<CPDefinitionLink> |
findByUuid(java.lang.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 = ?.
|
CPDefinitionLink |
remove(long CPDefinitionLinkId)
Removes the cp definition link with the primary key from the database.
|
void |
removeAll()
Removes all the cp definition links from the database.
|
CPDefinitionLink |
removeByC_C_T(long CPDefinitionId,
long CProductId,
java.lang.String type)
Removes the cp definition link where CPDefinitionId = ? and CProductId = ? and type = ? from the database.
|
void |
removeByCP_T(long CProductId,
java.lang.String type)
Removes all the cp definition links where CProductId = ? and type = ? from the database.
|
void |
removeByCPD_T(long CPDefinitionId,
java.lang.String type)
Removes all the cp definition links where CPDefinitionId = ? and type = ? 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 |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definition links where uuid = ? and companyId = ? from the database.
|
CPDefinitionLink |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition link where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp definition links where uuid = ? from the database.
|
CPDefinitionLink |
updateImpl(CPDefinitionLink cpDefinitionLink) |
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, setDataSource, unregisterListener, update, update
java.util.List<CPDefinitionLink> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPDefinitionLink> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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)java.util.List<CPDefinitionLink> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionLink findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink[] findByUuid_PrevAndNext(long CPDefinitionLinkId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the current cp definition linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCPDefinitionLink findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionLinkException
NoSuchCPDefinitionLinkException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp definition link could not be foundCPDefinitionLink fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition link could not be foundCPDefinitionLink removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionLinkException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionLinkException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CPDefinitionLink> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDefinitionLink> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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)java.util.List<CPDefinitionLink> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionLink findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink[] findByUuid_C_PrevAndNext(long CPDefinitionLinkId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the current cp definition linkuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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)java.util.List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionLink findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink[] findByCPDefinitionId_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundvoid removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDint countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CPDefinitionLink> findByCProductId(long CProductId)
CProductId
- the c product IDjava.util.List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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)java.util.List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionLink findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink[] findByCProductId_PrevAndNext(long CPDefinitionLinkId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundvoid removeByCProductId(long CProductId)
CProductId
- the c product IDint countByCProductId(long CProductId)
CProductId
- the c product IDjava.util.List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, java.lang.String type)
CPDefinitionId
- the cp definition IDtype
- the typejava.util.List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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)java.util.List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionLink findByCPD_T_First(long CPDefinitionId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCPD_T_First(long CPDefinitionId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink findByCPD_T_Last(long CPDefinitionId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCPD_T_Last(long CPDefinitionId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink[] findByCPD_T_PrevAndNext(long CPDefinitionLinkId, long CPDefinitionId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the current cp definition linkCPDefinitionId
- the cp definition IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundvoid removeByCPD_T(long CPDefinitionId, java.lang.String type)
CPDefinitionId
- the cp definition IDtype
- the typeint countByCPD_T(long CPDefinitionId, java.lang.String type)
CPDefinitionId
- the cp definition IDtype
- the typejava.util.List<CPDefinitionLink> findByCP_T(long CProductId, java.lang.String type)
CProductId
- the c product IDtype
- the typejava.util.List<CPDefinitionLink> findByCP_T(long CProductId, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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)java.util.List<CPDefinitionLink> findByCP_T(long CProductId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findByCP_T(long CProductId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionLink findByCP_T_First(long CProductId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCP_T_First(long CProductId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink findByCP_T_Last(long CProductId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByCP_T_Last(long CProductId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
CProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition link could not be foundCPDefinitionLink[] findByCP_T_PrevAndNext(long CPDefinitionLinkId, long CProductId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the current cp definition linkCProductId
- the c product IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundvoid removeByCP_T(long CProductId, java.lang.String type)
CProductId
- the c product IDtype
- the typeint countByCP_T(long CProductId, java.lang.String type)
CProductId
- the c product IDtype
- the typeCPDefinitionLink findByC_C_T(long CPDefinitionId, long CProductId, java.lang.String type) throws NoSuchCPDefinitionLinkException
NoSuchCPDefinitionLinkException
if it could not be found.CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typeNoSuchCPDefinitionLinkException
- if a matching cp definition link could not be foundCPDefinitionLink fetchByC_C_T(long CPDefinitionId, long CProductId, java.lang.String type)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typenull
if a matching cp definition link could not be foundCPDefinitionLink fetchByC_C_T(long CPDefinitionId, long CProductId, java.lang.String type, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typeuseFinderCache
- whether to use the finder cachenull
if a matching cp definition link could not be foundCPDefinitionLink removeByC_C_T(long CPDefinitionId, long CProductId, java.lang.String type) throws NoSuchCPDefinitionLinkException
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typeNoSuchCPDefinitionLinkException
int countByC_C_T(long CPDefinitionId, long CProductId, java.lang.String type)
CPDefinitionId
- the cp definition IDCProductId
- the c product IDtype
- the typevoid cacheResult(CPDefinitionLink cpDefinitionLink)
cpDefinitionLink
- the cp definition linkvoid cacheResult(java.util.List<CPDefinitionLink> cpDefinitionLinks)
cpDefinitionLinks
- the cp definition linksCPDefinitionLink create(long CPDefinitionLinkId)
CPDefinitionLinkId
- the primary key for the new cp definition linkCPDefinitionLink remove(long CPDefinitionLinkId) throws NoSuchCPDefinitionLinkException
CPDefinitionLinkId
- the primary key of the cp definition linkNoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundCPDefinitionLink updateImpl(CPDefinitionLink cpDefinitionLink)
CPDefinitionLink findByPrimaryKey(long CPDefinitionLinkId) throws NoSuchCPDefinitionLinkException
NoSuchCPDefinitionLinkException
if it could not be found.CPDefinitionLinkId
- the primary key of the cp definition linkNoSuchCPDefinitionLinkException
- if a cp definition link with the primary key could not be foundCPDefinitionLink fetchByPrimaryKey(long CPDefinitionLinkId)
null
if it could not be found.CPDefinitionLinkId
- the primary key of the cp definition linknull
if a cp definition link with the primary key could not be foundjava.util.List<CPDefinitionLink> findAll()
java.util.List<CPDefinitionLink> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
start
- the lower bound of the range of cp definition linksend
- the upper bound of the range of cp definition links (not inclusive)java.util.List<CPDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)java.util.List<CPDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionLinkModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()