Interface CPDefinitionSpecificationOptionValuePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionSpecificationOptionValue>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionSpecificationOptionValue>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_COC(long CPDefinitionId, long CPOptionCategoryId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.intcountByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.intcountByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ?.intcountByC_K(long CPDefinitionId, String key) Returns the number of cp definition specification option values where CPDefinitionId = ? and key = ?.intcountByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionId = ?.intcountByCPOptionCategoryId(long CPOptionCategoryId) Returns the number of cp definition specification option values where CPOptionCategoryId = ?.intcountByCPSpecificationOptionId(long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPSpecificationOptionId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of cp definition specification option values where externalReferenceCode = ? and companyId = ?.intcountByGroupId(long groupId) Returns the number of cp definition specification option values where groupId = ?.intcountByUuid(String uuid) Returns the number of cp definition specification option values where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of cp definition specification option values where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of cp definition specification option values where uuid = ? and groupId = ?.create(long CPDefinitionSpecificationOptionValueId) Creates a new cp definition specification option value with the primary key.fetchByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.fetchByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnullif it could not be found.fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_K(long CPDefinitionId, String key) Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnullif it could not be found.fetchByC_K(long CPDefinitionId, String key, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.fetchByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.fetchByERC_C(String externalReferenceCode, long companyId) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where groupId = ?.fetchByPrimaryKey(long CPDefinitionSpecificationOptionValueId) Returns the cp definition specification option value with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the cp definition specification option value where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition specification option value where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.default List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.default List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.default List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.default List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.default List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.default List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.default List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId) Returns all the cp definition specification option values where CPDefinitionId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId) Returns all the cp definition specification option values where CPOptionCategoryId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPOptionCategoryId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId) Returns all the cp definition specification option values where CPSpecificationOptionId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPSpecificationOptionId = ?.default List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.default List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId) Returns all the cp definition specification option values where groupId = ?.default List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end) Returns a range of all the cp definition specification option values where groupId = ?.default List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where groupId = ?.findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where groupId = ?.findByPrimaryKey(long CPDefinitionSpecificationOptionValueId) Returns the cp definition specification option value with the primary key or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.default List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid) Returns all the cp definition specification option values where uuid = ?.default List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end) Returns a range of all the cp definition specification option values where uuid = ?.default List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where uuid = ?.default List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId) Returns all the cp definition specification option values where uuid = ? and companyId = ?.default List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition specification option values where uuid = ? and companyId = ?.default List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the cp definition specification option value where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.remove(long CPDefinitionSpecificationOptionValueId) Removes the cp definition specification option value with the primary key from the database.voidremoveByC_COC(long CPDefinitionId, long CPOptionCategoryId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ? from the database.voidremoveByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ? from the database.removeByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Removes the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? from the database.removeByC_K(long CPDefinitionId, String key) Removes the cp definition specification option value where CPDefinitionId = ? and key = ? from the database.voidremoveByCPDefinitionId(long CPDefinitionId) Removes all the cp definition specification option values where CPDefinitionId = ? from the database.voidremoveByCPOptionCategoryId(long CPOptionCategoryId) Removes all the cp definition specification option values where CPOptionCategoryId = ? from the database.voidremoveByCPSpecificationOptionId(long CPSpecificationOptionId) Removes all the cp definition specification option values where CPSpecificationOptionId = ? from the database.removeByERC_C(String externalReferenceCode, long companyId) Removes the cp definition specification option value where externalReferenceCode = ? and companyId = ? from the database.voidremoveByGroupId(long groupId) Removes all the cp definition specification option values where groupId = ? from the database.voidremoveByUuid(String uuid) Removes all the cp definition specification option values where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the cp definition specification option values where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the cp definition specification option value where uuid = ? and groupId = ? from the database.updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByUuid_First
CPDefinitionSpecificationOptionValue findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByUuid_First
CPDefinitionSpecificationOptionValue fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByUuid
Removes all the cp definition specification option values where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp definition specification option values where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp definition specification option values
-
findByUUID_G
CPDefinitionSpecificationOptionValue findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByUUID_G
CPDefinitionSpecificationOptionValue fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition specification option value where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByUUID_G
CPDefinitionSpecificationOptionValue removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByUUID_G
Returns the number of cp definition specification option values where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp definition specification option values
-
findByUuid_C
List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByUuid_C_First
CPDefinitionSpecificationOptionValue findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByUuid_C_First
CPDefinitionSpecificationOptionValue fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByUuid_C
Removes all the cp definition specification option values where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp definition specification option values where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp definition specification option values
-
findByGroupId
List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByGroupId_First
CPDefinitionSpecificationOptionValue findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByGroupId_First
CPDefinitionSpecificationOptionValue fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the cp definition specification option values where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of cp definition specification option values where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching cp definition specification option values
-
findByCPDefinitionId
List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPDefinitionId_First
CPDefinitionSpecificationOptionValue findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByCPDefinitionId_First
CPDefinitionSpecificationOptionValue fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByCPDefinitionId
void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp definition specification option values where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId- the cp definition ID
-
countByCPDefinitionId
int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the number of matching cp definition specification option values
-
findByCPSpecificationOptionId
List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPSpecificationOptionId- the cp specification option IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPSpecificationOptionId_First
CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId- the cp specification option IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByCPSpecificationOptionId_First
CPDefinitionSpecificationOptionValue fetchByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId- the cp specification option IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByCPSpecificationOptionId
void removeByCPSpecificationOptionId(long CPSpecificationOptionId) Removes all the cp definition specification option values where CPSpecificationOptionId = ? from the database.- Parameters:
CPSpecificationOptionId- the cp specification option ID
-
countByCPSpecificationOptionId
int countByCPSpecificationOptionId(long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId- the cp specification option ID- Returns:
- the number of matching cp definition specification option values
-
findByCPOptionCategoryId
List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPOptionCategoryId- the cp option category IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPOptionCategoryId_First
CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId- the cp option category IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByCPOptionCategoryId_First
CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId- the cp option category IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByCPOptionCategoryId
void removeByCPOptionCategoryId(long CPOptionCategoryId) Removes all the cp definition specification option values where CPOptionCategoryId = ? from the database.- Parameters:
CPOptionCategoryId- the cp option category ID
-
countByCPOptionCategoryId
int countByCPOptionCategoryId(long CPOptionCategoryId) Returns the number of cp definition specification option values where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId- the cp option category ID- Returns:
- the number of matching cp definition specification option values
-
findByC_CSOVI
CPDefinitionSpecificationOptionValue findByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.- Parameters:
CPDefinitionSpecificationOptionValueId- the cp definition specification option value IDCPDefinitionId- the cp definition ID- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByC_CSOVI
CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionSpecificationOptionValueId- the cp definition specification option value IDCPDefinitionId- the cp definition IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByC_CSOVI
CPDefinitionSpecificationOptionValue removeByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? from the database.- Parameters:
CPDefinitionSpecificationOptionValueId- the cp definition specification option value IDCPDefinitionId- the cp definition ID- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByC_CSOVI
int countByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId- the cp definition specification option value IDCPDefinitionId- the cp definition ID- Returns:
- the number of matching cp definition specification option values
-
findByC_CSO
List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByC_CSO_First
CPDefinitionSpecificationOptionValue findByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByC_CSO_First
CPDefinitionSpecificationOptionValue fetchByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByC_CSO
void removeByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ? from the database.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option ID
-
countByC_CSO
int countByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option ID- Returns:
- the number of matching cp definition specification option values
-
findByC_COC
List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp definition specification option values
-
findByC_COC_First
CPDefinitionSpecificationOptionValue findByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByC_COC_First
CPDefinitionSpecificationOptionValue fetchByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByC_COC
void removeByC_COC(long CPDefinitionId, long CPOptionCategoryId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ? from the database.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category ID
-
countByC_COC
int countByC_COC(long CPDefinitionId, long CPOptionCategoryId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category ID- Returns:
- the number of matching cp definition specification option values
-
findByC_K
CPDefinitionSpecificationOptionValue findByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.- Parameters:
CPDefinitionId- the cp definition IDkey- the key- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByC_K
CPDefinitionSpecificationOptionValue fetchByC_K(long CPDefinitionId, String key, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId- the cp definition IDkey- the keyuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByC_K
CPDefinitionSpecificationOptionValue removeByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where CPDefinitionId = ? and key = ? from the database.- Parameters:
CPDefinitionId- the cp definition IDkey- the key- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByC_K
Returns the number of cp definition specification option values where CPDefinitionId = ? and key = ?.- Parameters:
CPDefinitionId- the cp definition IDkey- the key- Returns:
- the number of matching cp definition specification option values
-
findByERC_C
CPDefinitionSpecificationOptionValue findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a matching cp definition specification option value could not be found
-
fetchByERC_C
CPDefinitionSpecificationOptionValue fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
removeByERC_C
CPDefinitionSpecificationOptionValue removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByERC_C
Returns the number of cp definition specification option values where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching cp definition specification option values
-
create
Creates a new cp definition specification option value with the primary key. Does not add the cp definition specification option value to the database.- Parameters:
CPDefinitionSpecificationOptionValueId- the primary key for the new cp definition specification option value- Returns:
- the new cp definition specification option value
-
remove
CPDefinitionSpecificationOptionValue remove(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionSpecificationOptionValueId- the primary key of the cp definition specification option value- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a cp definition specification option value with the primary key could not be found
-
updateImpl
CPDefinitionSpecificationOptionValue updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) -
findByPrimaryKey
CPDefinitionSpecificationOptionValue findByPrimaryKey(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value with the primary key or throws aNoSuchCPDefinitionSpecificationOptionValueExceptionif it could not be found.- Parameters:
CPDefinitionSpecificationOptionValueId- the primary key of the cp definition specification option value- Returns:
- the cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException- if a cp definition specification option value with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp definition specification option value with the primary key or returnsnullif it could not be found.- Parameters:
CPDefinitionSpecificationOptionValueId- the primary key of the cp definition specification option value- Returns:
- the cp definition specification option value, or
nullif a cp definition specification option value with the primary key could not be found
-
fetchByUUID_G
Returns the cp definition specification option value where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
fetchByC_CSOVI
default CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionSpecificationOptionValueId- the cp definition specification option value IDCPDefinitionId- the cp definition ID- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
fetchByC_K
Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId- the cp definition IDkey- the key- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
fetchByERC_C
default CPDefinitionSpecificationOptionValue fetchByERC_C(String externalReferenceCode, long companyId) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cp definition specification option value, or
nullif a matching cp definition specification option value could not be found
-
findByUuid
Returns all the cp definition specification option values where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp definition specification option values
-
findByUuid
Returns a range of all the cp definition specification option values where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByUuid
default List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByUuid_C
Returns all the cp definition specification option values where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp definition specification option values
-
findByUuid_C
default List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition specification option values where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByUuid_C
default List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByGroupId
Returns all the cp definition specification option values where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching cp definition specification option values
-
findByGroupId
Returns a range of all the cp definition specification option values where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByGroupId
default List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPDefinitionId
Returns all the cp definition specification option values where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the matching cp definition specification option values
-
findByCPDefinitionId
default List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByCPDefinitionId
default List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPSpecificationOptionId
default List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId) Returns all the cp definition specification option values where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId- the cp specification option ID- Returns:
- the matching cp definition specification option values
-
findByCPSpecificationOptionId
default List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPSpecificationOptionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPSpecificationOptionId- the cp specification option IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByCPSpecificationOptionId
default List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPSpecificationOptionId- the cp specification option IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPOptionCategoryId
default List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId) Returns all the cp definition specification option values where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId- the cp option category ID- Returns:
- the matching cp definition specification option values
-
findByCPOptionCategoryId
default List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPOptionCategoryId- the cp option category IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByCPOptionCategoryId
default List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPOptionCategoryId- the cp option category IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByC_CSO
default List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option ID- Returns:
- the matching cp definition specification option values
-
findByC_CSO
default List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByC_CSO
default List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDCPSpecificationOptionId- the cp specification option IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-
findByC_COC
default List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category ID- Returns:
- the matching cp definition specification option values
-
findByC_COC
default List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByC_COC
default List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionSpecificationOptionValueModelImpl.- Parameters:
CPDefinitionId- the cp definition IDCPOptionCategoryId- the cp option category IDstart- the lower bound of the range of cp definition specification option valuesend- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition specification option values
-