@ProviderType public interface CPDefinitionOptionRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionOptionRel>
Caching information and settings can be found in portal.properties
CPDefinitionOptionRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPDefinitionOptionRel cpDefinitionOptionRel)
Caches the cp definition option rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPDefinitionOptionRel> cpDefinitionOptionRels)
Caches the cp definition option rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp definition option rels.
|
int |
countByC_C(long CPDefinitionId,
long CPOptionId)
Returns the number of cp definition option rels where CPDefinitionId = ? and CPOptionId = ?.
|
int |
countByC_K(long CPDefinitionId,
java.lang.String key)
Returns the number of cp definition option rels where CPDefinitionId = ? and key = ?.
|
int |
countByC_SC(long CPDefinitionId,
boolean skuContributor)
Returns the number of cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of cp definition option rels where companyId = ?.
|
int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cp definition option rels where CPDefinitionId = ?.
|
int |
countByCPDI_R(long CPDefinitionId,
boolean required)
Returns the number of cp definition option rels where CPDefinitionId = ? and required = ?.
|
int |
countByGroupId(long groupId)
Returns the number of cp definition option rels where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definition option rels where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definition option rels where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp definition option rels where uuid = ?.
|
CPDefinitionOptionRel |
create(long CPDefinitionOptionRelId)
Creates a new cp definition option rel with the primary key.
|
CPDefinitionOptionRel |
fetchByC_C(long CPDefinitionId,
long CPOptionId)
Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returns
null if it could not be found. |
CPDefinitionOptionRel |
fetchByC_C(long CPDefinitionId,
long CPOptionId,
boolean useFinderCache)
Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionOptionRel |
fetchByC_K(long CPDefinitionId,
java.lang.String key)
Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returns
null if it could not be found. |
CPDefinitionOptionRel |
fetchByC_K(long CPDefinitionId,
java.lang.String key,
boolean useFinderCache)
Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionOptionRel |
fetchByC_SC_First(long CPDefinitionId,
boolean skuContributor,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
|
CPDefinitionOptionRel |
fetchByC_SC_Last(long CPDefinitionId,
boolean skuContributor,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
|
CPDefinitionOptionRel |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where companyId = ?.
|
CPDefinitionOptionRel |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where companyId = ?.
|
CPDefinitionOptionRel |
fetchByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.
|
CPDefinitionOptionRel |
fetchByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where CPDefinitionId = ?.
|
CPDefinitionOptionRel |
fetchByCPDI_R_First(long CPDefinitionId,
boolean required,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
|
CPDefinitionOptionRel |
fetchByCPDI_R_Last(long CPDefinitionId,
boolean required,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
|
CPDefinitionOptionRel |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where groupId = ?.
|
CPDefinitionOptionRel |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where groupId = ?.
|
CPDefinitionOptionRel |
fetchByPrimaryKey(long CPDefinitionOptionRelId)
Returns the cp definition option rel with the primary key or returns
null if it could not be found. |
CPDefinitionOptionRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionOptionRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionOptionRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where uuid = ?.
|
CPDefinitionOptionRel |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition option rel where uuid = ? and groupId = ? or returns
null if it could not be found. |
CPDefinitionOptionRel |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition option rel where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionOptionRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionOptionRel> |
findAll()
Returns all the cp definition option rels.
|
java.util.List<CPDefinitionOptionRel> |
findAll(int start,
int end)
Returns a range of all the cp definition option rels.
|
java.util.List<CPDefinitionOptionRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels.
|
java.util.List<CPDefinitionOptionRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels.
|
CPDefinitionOptionRel |
findByC_C(long CPDefinitionId,
long CPOptionId)
Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or throws a
NoSuchCPDefinitionOptionRelException if it could not be found. |
CPDefinitionOptionRel |
findByC_K(long CPDefinitionId,
java.lang.String key)
Returns the cp definition option rel where CPDefinitionId = ? and key = ? or throws a
NoSuchCPDefinitionOptionRelException if it could not be found. |
CPDefinitionOptionRel |
findByC_SC_First(long CPDefinitionId,
boolean skuContributor,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
|
CPDefinitionOptionRel |
findByC_SC_Last(long CPDefinitionId,
boolean skuContributor,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
|
CPDefinitionOptionRel[] |
findByC_SC_PrevAndNext(long CPDefinitionOptionRelId,
long CPDefinitionId,
boolean skuContributor,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByC_SC(long CPDefinitionId,
boolean skuContributor)
Returns all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByC_SC(long CPDefinitionId,
boolean skuContributor,
int start,
int end)
Returns a range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByC_SC(long CPDefinitionId,
boolean skuContributor,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByC_SC(long CPDefinitionId,
boolean skuContributor,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
|
CPDefinitionOptionRel |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where companyId = ?.
|
CPDefinitionOptionRel |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where companyId = ?.
|
CPDefinitionOptionRel[] |
findByCompanyId_PrevAndNext(long CPDefinitionOptionRelId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCompanyId(long companyId)
Returns all the cp definition option rels where companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp definition option rels where companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where companyId = ?.
|
CPDefinitionOptionRel |
findByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.
|
CPDefinitionOptionRel |
findByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where CPDefinitionId = ?.
|
CPDefinitionOptionRel[] |
findByCPDefinitionId_PrevAndNext(long CPDefinitionOptionRelId,
long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the cp definition option rels where CPDefinitionId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the cp definition option rels where CPDefinitionId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.
|
CPDefinitionOptionRel |
findByCPDI_R_First(long CPDefinitionId,
boolean required,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
|
CPDefinitionOptionRel |
findByCPDI_R_Last(long CPDefinitionId,
boolean required,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
|
CPDefinitionOptionRel[] |
findByCPDI_R_PrevAndNext(long CPDefinitionOptionRelId,
long CPDefinitionId,
boolean required,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDI_R(long CPDefinitionId,
boolean required)
Returns all the cp definition option rels where CPDefinitionId = ? and required = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDI_R(long CPDefinitionId,
boolean required,
int start,
int end)
Returns a range of all the cp definition option rels where CPDefinitionId = ? and required = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDI_R(long CPDefinitionId,
boolean required,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByCPDI_R(long CPDefinitionId,
boolean required,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.
|
CPDefinitionOptionRel |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where groupId = ?.
|
CPDefinitionOptionRel |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where groupId = ?.
|
CPDefinitionOptionRel[] |
findByGroupId_PrevAndNext(long CPDefinitionOptionRelId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where groupId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByGroupId(long groupId)
Returns all the cp definition option rels where groupId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cp definition option rels where groupId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where groupId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where groupId = ?.
|
CPDefinitionOptionRel |
findByPrimaryKey(long CPDefinitionOptionRelId)
Returns the cp definition option rel with the primary key or throws a
NoSuchCPDefinitionOptionRelException if it could not be found. |
CPDefinitionOptionRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionOptionRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionOptionRel[] |
findByUuid_C_PrevAndNext(long CPDefinitionOptionRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definition option rels where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definition option rels where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where uuid = ? and companyId = ?.
|
CPDefinitionOptionRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the first cp definition option rel in the ordered set where uuid = ?.
|
CPDefinitionOptionRel |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition option rel where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionOptionRelException if it could not be found. |
CPDefinitionOptionRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the last cp definition option rel in the ordered set where uuid = ?.
|
CPDefinitionOptionRel[] |
findByUuid_PrevAndNext(long CPDefinitionOptionRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid(java.lang.String uuid)
Returns all the cp definition option rels where uuid = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definition option rels where uuid = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns an ordered range of all the cp definition option rels where uuid = ?.
|
java.util.List<CPDefinitionOptionRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option rels where uuid = ?.
|
CPDefinitionOptionRel |
remove(long CPDefinitionOptionRelId)
Removes the cp definition option rel with the primary key from the database.
|
void |
removeAll()
Removes all the cp definition option rels from the database.
|
CPDefinitionOptionRel |
removeByC_C(long CPDefinitionId,
long CPOptionId)
Removes the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? from the database.
|
CPDefinitionOptionRel |
removeByC_K(long CPDefinitionId,
java.lang.String key)
Removes the cp definition option rel where CPDefinitionId = ? and key = ? from the database.
|
void |
removeByC_SC(long CPDefinitionId,
boolean skuContributor)
Removes all the cp definition option rels where CPDefinitionId = ? and skuContributor = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the cp definition option rels where companyId = ? from the database.
|
void |
removeByCPDefinitionId(long CPDefinitionId)
Removes all the cp definition option rels where CPDefinitionId = ? from the database.
|
void |
removeByCPDI_R(long CPDefinitionId,
boolean required)
Removes all the cp definition option rels where CPDefinitionId = ? and required = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the cp definition option rels where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definition option rels where uuid = ? and companyId = ? from the database.
|
CPDefinitionOptionRel |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition option rel where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp definition option rels where uuid = ? from the database.
|
CPDefinitionOptionRel |
updateImpl(CPDefinitionOptionRel cpDefinitionOptionRel) |
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<CPDefinitionOptionRel> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByUuid_PrevAndNext(long CPDefinitionOptionRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCPDefinitionOptionRel findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionOptionRelException
NoSuchCPDefinitionOptionRelException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel 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 option rel could not be foundCPDefinitionOptionRel 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 option rel could not be foundCPDefinitionOptionRel removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionOptionRelException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionOptionRelException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CPDefinitionOptionRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByUuid_C_PrevAndNext(long CPDefinitionOptionRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel 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<CPDefinitionOptionRel> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CPDefinitionOptionRel> findByGroupId(long groupId, 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 CPDefinitionOptionRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByGroupId_PrevAndNext(long CPDefinitionOptionRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<CPDefinitionOptionRel> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPDefinitionOptionRel> findByCompanyId(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 CPDefinitionOptionRelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByCompanyId_PrevAndNext(long CPDefinitionOptionRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option relcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByCPDefinitionId_PrevAndNext(long CPDefinitionOptionRelId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundvoid removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDint countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDCPDefinitionOptionRel findByC_C(long CPDefinitionId, long CPOptionId) throws NoSuchCPDefinitionOptionRelException
NoSuchCPDefinitionOptionRelException
if it could not be found.CPDefinitionId
- the cp definition IDCPOptionId
- the cp option IDNoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByC_C(long CPDefinitionId, long CPOptionId)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDCPOptionId
- the cp option IDnull
if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByC_C(long CPDefinitionId, long CPOptionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDCPOptionId
- the cp option IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition option rel could not be foundCPDefinitionOptionRel removeByC_C(long CPDefinitionId, long CPOptionId) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option IDNoSuchCPDefinitionOptionRelException
int countByC_C(long CPDefinitionId, long CPOptionId)
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option IDjava.util.List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required)
CPDefinitionId
- the cp definition IDrequired
- the requiredjava.util.List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDrequired
- the requiredstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDrequired
- the requiredstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDrequired
- the requiredstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByCPDI_R_Last(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByCPDI_R_Last(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByCPDI_R_PrevAndNext(long CPDefinitionOptionRelId, long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundvoid removeByCPDI_R(long CPDefinitionId, boolean required)
CPDefinitionId
- the cp definition IDrequired
- the requiredint countByCPDI_R(long CPDefinitionId, boolean required)
CPDefinitionId
- the cp definition IDrequired
- the requiredjava.util.List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor)
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorjava.util.List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionOptionRel findByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel findByC_SC_Last(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByC_SC_Last(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option rel could not be foundCPDefinitionOptionRel[] findByC_SC_PrevAndNext(long CPDefinitionOptionRelId, long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundvoid removeByC_SC(long CPDefinitionId, boolean skuContributor)
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorint countByC_SC(long CPDefinitionId, boolean skuContributor)
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorCPDefinitionOptionRel findByC_K(long CPDefinitionId, java.lang.String key) throws NoSuchCPDefinitionOptionRelException
NoSuchCPDefinitionOptionRelException
if it could not be found.CPDefinitionId
- the cp definition IDkey
- the keyNoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByC_K(long CPDefinitionId, java.lang.String key)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDkey
- the keynull
if a matching cp definition option rel could not be foundCPDefinitionOptionRel fetchByC_K(long CPDefinitionId, java.lang.String key, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDkey
- the keyuseFinderCache
- whether to use the finder cachenull
if a matching cp definition option rel could not be foundCPDefinitionOptionRel removeByC_K(long CPDefinitionId, java.lang.String key) throws NoSuchCPDefinitionOptionRelException
CPDefinitionId
- the cp definition IDkey
- the keyNoSuchCPDefinitionOptionRelException
int countByC_K(long CPDefinitionId, java.lang.String key)
CPDefinitionId
- the cp definition IDkey
- the keyvoid cacheResult(CPDefinitionOptionRel cpDefinitionOptionRel)
cpDefinitionOptionRel
- the cp definition option relvoid cacheResult(java.util.List<CPDefinitionOptionRel> cpDefinitionOptionRels)
cpDefinitionOptionRels
- the cp definition option relsCPDefinitionOptionRel create(long CPDefinitionOptionRelId)
CPDefinitionOptionRelId
- the primary key for the new cp definition option relCPDefinitionOptionRel remove(long CPDefinitionOptionRelId) throws NoSuchCPDefinitionOptionRelException
CPDefinitionOptionRelId
- the primary key of the cp definition option relNoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundCPDefinitionOptionRel updateImpl(CPDefinitionOptionRel cpDefinitionOptionRel)
CPDefinitionOptionRel findByPrimaryKey(long CPDefinitionOptionRelId) throws NoSuchCPDefinitionOptionRelException
NoSuchCPDefinitionOptionRelException
if it could not be found.CPDefinitionOptionRelId
- the primary key of the cp definition option relNoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be foundCPDefinitionOptionRel fetchByPrimaryKey(long CPDefinitionOptionRelId)
null
if it could not be found.CPDefinitionOptionRelId
- the primary key of the cp definition option relnull
if a cp definition option rel with the primary key could not be foundjava.util.List<CPDefinitionOptionRel> findAll()
java.util.List<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)java.util.List<CPDefinitionOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> 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 CPDefinitionOptionRelModelImpl
.
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()