Interface CPSpecificationOptionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPSpecificationOption>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOption>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPSpecificationOption cpSpecificationOption) Caches the cp specification option in the entity cache if it is enabled.void
cacheResult
(List<CPSpecificationOption> cpSpecificationOptions) Caches the cp specification options in the entity cache if it is enabled.int
countAll()
Returns the number of cp specification options.int
countByC_K
(long companyId, String key) Returns the number of cp specification options where companyId = ? and key = ?.int
countByCompanyId
(long companyId) Returns the number of cp specification options where companyId = ?.int
countByCPOptionCategoryId
(long CPOptionCategoryId) Returns the number of cp specification options where CPOptionCategoryId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp specification options where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of cp specification options where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp specification options where uuid = ? and companyId = ?.create
(long CPSpecificationOptionId) Creates a new cp specification option with the primary key.fetchByC_K
(long companyId, String key) Returns the cp specification option where companyId = ? and key = ? or returnsnull
if it could not be found.fetchByC_K
(long companyId, String key, boolean useFinderCache) Returns the cp specification option where companyId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where companyId = ?.fetchByCPOptionCategoryId_First
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where CPOptionCategoryId = ?.fetchByCPOptionCategoryId_Last
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where CPOptionCategoryId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp specification option where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp specification option where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long CPSpecificationOptionId) Returns the cp specification option with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where uuid = ?.int
filterCountByCompanyId
(long companyId) Returns the number of cp specification options that the user has permission to view where companyId = ?.int
filterCountByCPOptionCategoryId
(long CPOptionCategoryId) Returns the number of cp specification options that the user has permission to view where CPOptionCategoryId = ?.int
filterCountByUuid
(String uuid) Returns the number of cp specification options that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of cp specification options that the user has permission to view where uuid = ? and companyId = ?.filterFindByCompanyId
(long companyId) Returns all the cp specification options that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the cp specification options that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext
(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where companyId = ?.filterFindByCPOptionCategoryId
(long CPOptionCategoryId) Returns all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.filterFindByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end) Returns a range of all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.filterFindByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where CPOptionCategoryId = ?.filterFindByCPOptionCategoryId_PrevAndNext
(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where CPOptionCategoryId = ?.filterFindByUuid
(String uuid) Returns all the cp specification options that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the cp specification options that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where uuid = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where uuid = ? and companyId = ?.filterFindByUuid_C_PrevAndNext
(long CPSpecificationOptionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_PrevAndNext
(long CPSpecificationOptionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ?.findAll()
Returns all the cp specification options.findAll
(int start, int end) Returns a range of all the cp specification options.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options.Returns the cp specification option where companyId = ? and key = ? or throws aNoSuchCPSpecificationOptionException
if it could not be found.findByCompanyId
(long companyId) Returns all the cp specification options where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp specification options where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set where companyId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId) Returns all the cp specification options where CPOptionCategoryId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end) Returns a range of all the cp specification options where CPOptionCategoryId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where CPOptionCategoryId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where CPOptionCategoryId = ?.findByCPOptionCategoryId_First
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where CPOptionCategoryId = ?.findByCPOptionCategoryId_Last
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where CPOptionCategoryId = ?.findByCPOptionCategoryId_PrevAndNext
(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set where CPOptionCategoryId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the cp specification option where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPSpecificationOptionException
if it could not be found.findByPrimaryKey
(long CPSpecificationOptionId) Returns the cp specification option with the primary key or throws aNoSuchCPSpecificationOptionException
if it could not be found.findByUuid
(String uuid) Returns all the cp specification options where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp specification options where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp specification options where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp specification options where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPSpecificationOptionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPSpecificationOptionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ?.remove
(long CPSpecificationOptionId) Removes the cp specification option with the primary key from the database.void
Removes all the cp specification options from the database.removeByC_K
(long companyId, String key) Removes the cp specification option where companyId = ? and key = ? from the database.void
removeByCompanyId
(long companyId) Removes all the cp specification options where companyId = ? from the database.void
removeByCPOptionCategoryId
(long CPOptionCategoryId) Removes all the cp specification options where CPOptionCategoryId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp specification option where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp specification options where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp specification options where uuid = ? and companyId = ? from the database.updateImpl
(CPSpecificationOption cpSpecificationOption) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the cp specification options where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp specification options
-
findByUuid
Returns a range of all the cp specification options where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options
-
findByUuid
List<CPSpecificationOption> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options
-
findByUuid
List<CPSpecificationOption> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (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 specification options
-
findByUuid_First
CPSpecificationOption findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the first cp specification option in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByUuid_First
CPSpecificationOption fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option, or
null
if a matching cp specification option could not be found
-
findByUuid_Last
CPSpecificationOption findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the last cp specification option in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByUuid_Last
CPSpecificationOption fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option, or
null
if a matching cp specification option could not be found
-
findByUuid_PrevAndNext
CPSpecificationOption[] findByUuid_PrevAndNext(long CPSpecificationOptionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
filterFindByUuid
Returns all the cp specification options that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp specification options that the user has permission to view
-
filterFindByUuid
Returns a range of all the cp specification options that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options that the user has permission to view
-
filterFindByUuid
List<CPSpecificationOption> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options that the user has permission to view
-
filterFindByUuid_PrevAndNext
CPSpecificationOption[] filterFindByUuid_PrevAndNext(long CPSpecificationOptionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
removeByUuid
Removes all the cp specification options where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp specification options where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp specification options
-
filterCountByUuid
Returns the number of cp specification options that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp specification options that the user has permission to view
-
findByUuid_C
Returns all the cp specification options where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp specification options
-
findByUuid_C
Returns a range of all the cp specification options where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options
-
findByUuid_C
List<CPSpecificationOption> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options
-
findByUuid_C
List<CPSpecificationOption> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (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 specification options
-
findByUuid_C_First
CPSpecificationOption findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the first cp specification option 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 specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByUuid_C_First
CPSpecificationOption fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option 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 specification option, or
null
if a matching cp specification option could not be found
-
findByUuid_C_Last
CPSpecificationOption findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the last cp specification option in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByUuid_C_Last
CPSpecificationOption fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option, or
null
if a matching cp specification option could not be found
-
findByUuid_C_PrevAndNext
CPSpecificationOption[] findByUuid_C_PrevAndNext(long CPSpecificationOptionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
filterFindByUuid_C
Returns all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp specification options that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options that the user has permission to view
-
filterFindByUuid_C
List<CPSpecificationOption> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
CPSpecificationOption[] filterFindByUuid_C_PrevAndNext(long CPSpecificationOptionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
removeByUuid_C
Removes all the cp specification options where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp specification options where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp specification options
-
filterCountByUuid_C
Returns the number of cp specification options that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp specification options that the user has permission to view
-
findByCompanyId
Returns all the cp specification options where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp specification options
-
findByCompanyId
Returns a range of all the cp specification options where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options
-
findByCompanyId
List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options
-
findByCompanyId
List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (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 specification options
-
findByCompanyId_First
CPSpecificationOption findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the first cp specification option in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByCompanyId_First
CPSpecificationOption fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option, or
null
if a matching cp specification option could not be found
-
findByCompanyId_Last
CPSpecificationOption findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the last cp specification option in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByCompanyId_Last
CPSpecificationOption fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option, or
null
if a matching cp specification option could not be found
-
findByCompanyId_PrevAndNext
CPSpecificationOption[] findByCompanyId_PrevAndNext(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set where companyId = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
filterFindByCompanyId
Returns all the cp specification options that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp specification options that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the cp specification options that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options that the user has permission to view
-
filterFindByCompanyId
List<CPSpecificationOption> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
CPSpecificationOption[] filterFindByCompanyId_PrevAndNext(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where companyId = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp specification options where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of cp specification options where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp specification options
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of cp specification options that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp specification options that the user has permission to view
-
findByCPOptionCategoryId
Returns all the cp specification options where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category ID- Returns:
- the matching cp specification options
-
findByCPOptionCategoryId
Returns a range of all the cp specification options where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options
-
findByCPOptionCategoryId
List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options
-
findByCPOptionCategoryId
List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (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 specification options
-
findByCPOptionCategoryId_First
CPSpecificationOption findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the first cp specification option 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 specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByCPOptionCategoryId_First
CPSpecificationOption fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the first cp specification option 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 specification option, or
null
if a matching cp specification option could not be found
-
findByCPOptionCategoryId_Last
CPSpecificationOption findByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the last cp specification option in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByCPOptionCategoryId_Last
CPSpecificationOption fetchByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns the last cp specification option in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option, or
null
if a matching cp specification option could not be found
-
findByCPOptionCategoryId_PrevAndNext
CPSpecificationOption[] findByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optionCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
filterFindByCPOptionCategoryId
Returns all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category ID- Returns:
- the matching cp specification options that the user has permission to view
-
filterFindByCPOptionCategoryId
List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId, int start, int end) Returns a range of all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of matching cp specification options that the user has permission to view
-
filterFindByCPOptionCategoryId
List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options that the user has permissions to view where CPOptionCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification options that the user has permission to view
-
filterFindByCPOptionCategoryId_PrevAndNext
CPSpecificationOption[] filterFindByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where CPOptionCategoryId = ?.- Parameters:
CPSpecificationOptionId
- the primary key of the current cp specification optionCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
removeByCPOptionCategoryId
void removeByCPOptionCategoryId(long CPOptionCategoryId) Removes all the cp specification options where CPOptionCategoryId = ? from the database.- Parameters:
CPOptionCategoryId
- the cp option category ID
-
countByCPOptionCategoryId
int countByCPOptionCategoryId(long CPOptionCategoryId) Returns the number of cp specification options where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category ID- Returns:
- the number of matching cp specification options
-
filterCountByCPOptionCategoryId
int filterCountByCPOptionCategoryId(long CPOptionCategoryId) Returns the number of cp specification options that the user has permission to view where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category ID- Returns:
- the number of matching cp specification options that the user has permission to view
-
findByC_K
CPSpecificationOption findByC_K(long companyId, String key) throws NoSuchCPSpecificationOptionException Returns the cp specification option where companyId = ? and key = ? or throws aNoSuchCPSpecificationOptionException
if it could not be found.- Parameters:
companyId
- the company IDkey
- the key- Returns:
- the matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByC_K
Returns the cp specification option where companyId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDkey
- the key- Returns:
- the matching cp specification option, or
null
if a matching cp specification option could not be found
-
fetchByC_K
Returns the cp specification option where companyId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp specification option, or
null
if a matching cp specification option could not be found
-
removeByC_K
CPSpecificationOption removeByC_K(long companyId, String key) throws NoSuchCPSpecificationOptionException Removes the cp specification option where companyId = ? and key = ? from the database.- Parameters:
companyId
- the company IDkey
- the key- Returns:
- the cp specification option that was removed
- Throws:
NoSuchCPSpecificationOptionException
-
countByC_K
Returns the number of cp specification options where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the key- Returns:
- the number of matching cp specification options
-
findByERC_C
CPSpecificationOption findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPSpecificationOptionException Returns the cp specification option where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPSpecificationOptionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be found
-
fetchByERC_C
Returns the cp specification option where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp specification option, or
null
if a matching cp specification option could not be found
-
fetchByERC_C
CPSpecificationOption fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp specification option where externalReferenceCode = ? and companyId = ? or returnsnull
if 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 specification option, or
null
if a matching cp specification option could not be found
-
removeByERC_C
CPSpecificationOption removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPSpecificationOptionException Removes the cp specification option where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cp specification option that was removed
- Throws:
NoSuchCPSpecificationOptionException
-
countByERC_C
Returns the number of cp specification options where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cp specification options
-
cacheResult
Caches the cp specification option in the entity cache if it is enabled.- Parameters:
cpSpecificationOption
- the cp specification option
-
cacheResult
Caches the cp specification options in the entity cache if it is enabled.- Parameters:
cpSpecificationOptions
- the cp specification options
-
create
Creates a new cp specification option with the primary key. Does not add the cp specification option to the database.- Parameters:
CPSpecificationOptionId
- the primary key for the new cp specification option- Returns:
- the new cp specification option
-
remove
CPSpecificationOption remove(long CPSpecificationOptionId) throws NoSuchCPSpecificationOptionException Removes the cp specification option with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPSpecificationOptionId
- the primary key of the cp specification option- Returns:
- the cp specification option that was removed
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPSpecificationOption findByPrimaryKey(long CPSpecificationOptionId) throws NoSuchCPSpecificationOptionException Returns the cp specification option with the primary key or throws aNoSuchCPSpecificationOptionException
if it could not be found.- Parameters:
CPSpecificationOptionId
- the primary key of the cp specification option- Returns:
- the cp specification option
- Throws:
NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp specification option with the primary key or returnsnull
if it could not be found.- Parameters:
CPSpecificationOptionId
- the primary key of the cp specification option- Returns:
- the cp specification option, or
null
if a cp specification option with the primary key could not be found
-
findAll
List<CPSpecificationOption> findAll()Returns all the cp specification options.- Returns:
- the cp specification options
-
findAll
Returns a range of all the cp specification options.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
start
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)- Returns:
- the range of cp specification options
-
findAll
List<CPSpecificationOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) Returns an ordered range of all the cp specification options.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
start
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp specification options
-
findAll
List<CPSpecificationOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification options.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPSpecificationOptionModelImpl
.- Parameters:
start
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp specification options
-
removeAll
void removeAll()Removes all the cp specification options from the database. -
countAll
int countAll()Returns the number of cp specification options.- Returns:
- the number of cp specification options
-