Class CPConfigurationEntrySettingUtil
com.liferay.commerce.product.service.persistence.impl.CPConfigurationEntrySettingPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CPConfigurationEntrySetting cpConfigurationEntrySetting) Caches the cp configuration entry setting in the entity cache if it is enabled.static voidcacheResult(List<CPConfigurationEntrySetting> cpConfigurationEntrySettings) Caches the cp configuration entry settings in the entity cache if it is enabled.static voidstatic voidclearCache(CPConfigurationEntrySetting cpConfigurationEntrySetting) static intcountAll()Returns the number of cp configuration entry settings.static intcountByC_T(long CPConfigurationEntryId, int type) Returns the number of cp configuration entry settings where CPConfigurationEntryId = ? and type = ?.static intcountByCompanyId(long companyId) Returns the number of cp configuration entry settings where companyId = ?.static intcountByUuid(String uuid) Returns the number of cp configuration entry settings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cp configuration entry settings where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of cp configuration entry settings where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPConfigurationEntrySettingcreate(long CPConfigurationEntrySettingId) Creates a new cp configuration entry setting with the primary key.static CPConfigurationEntrySettingfetchByC_T(long CPConfigurationEntryId, int type) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnullif it could not be found.static CPConfigurationEntrySettingfetchByC_T(long CPConfigurationEntryId, int type, boolean useFinderCache) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.static CPConfigurationEntrySettingfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where companyId = ?.static CPConfigurationEntrySettingfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where companyId = ?.static CPConfigurationEntrySettingfetchByPrimaryKey(long CPConfigurationEntrySettingId) Returns the cp configuration entry setting with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CPConfigurationEntrySettingfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntrySettingfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntrySettingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where uuid = ?.static CPConfigurationEntrySettingfetchByUUID_G(String uuid, long groupId) Returns the cp configuration entry setting where uuid = ? and groupId = ? or returnsnullif it could not be found.static CPConfigurationEntrySettingfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp configuration entry setting where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPConfigurationEntrySettingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where uuid = ?.static List<CPConfigurationEntrySetting>findAll()Returns all the cp configuration entry settings.static List<CPConfigurationEntrySetting>findAll(int start, int end) Returns a range of all the cp configuration entry settings.static List<CPConfigurationEntrySetting>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings.static List<CPConfigurationEntrySetting>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings.static CPConfigurationEntrySettingfindByC_T(long CPConfigurationEntryId, int type) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or throws aNoSuchCPConfigurationEntrySettingExceptionif it could not be found.static List<CPConfigurationEntrySetting>findByCompanyId(long companyId) Returns all the cp configuration entry settings where companyId = ?.static List<CPConfigurationEntrySetting>findByCompanyId(long companyId, int start, int end) Returns a range of all the cp configuration entry settings where companyId = ?.static List<CPConfigurationEntrySetting>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings where companyId = ?.static List<CPConfigurationEntrySetting>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings where companyId = ?.static CPConfigurationEntrySettingfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where companyId = ?.static CPConfigurationEntrySettingfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where companyId = ?.static CPConfigurationEntrySetting[]findByCompanyId_PrevAndNext(long CPConfigurationEntrySettingId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where companyId = ?.static CPConfigurationEntrySettingfindByPrimaryKey(long CPConfigurationEntrySettingId) Returns the cp configuration entry setting with the primary key or throws aNoSuchCPConfigurationEntrySettingExceptionif it could not be found.static List<CPConfigurationEntrySetting>findByUuid(String uuid) Returns all the cp configuration entry settings where uuid = ?.static List<CPConfigurationEntrySetting>findByUuid(String uuid, int start, int end) Returns a range of all the cp configuration entry settings where uuid = ?.static List<CPConfigurationEntrySetting>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings where uuid = ?.static List<CPConfigurationEntrySetting>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings where uuid = ?.static List<CPConfigurationEntrySetting>findByUuid_C(String uuid, long companyId) Returns all the cp configuration entry settings where uuid = ? and companyId = ?.static List<CPConfigurationEntrySetting>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entry settings where uuid = ? and companyId = ?.static List<CPConfigurationEntrySetting>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings where uuid = ? and companyId = ?.static List<CPConfigurationEntrySetting>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings where uuid = ? and companyId = ?.static CPConfigurationEntrySettingfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntrySettingfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntrySetting[]findByUuid_C_PrevAndNext(long CPConfigurationEntrySettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntrySettingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where uuid = ?.static CPConfigurationEntrySettingfindByUUID_G(String uuid, long groupId) Returns the cp configuration entry setting where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntrySettingExceptionif it could not be found.static CPConfigurationEntrySettingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where uuid = ?.static CPConfigurationEntrySetting[]findByUuid_PrevAndNext(long CPConfigurationEntrySettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where uuid = ?.static List<CPConfigurationEntrySetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPConfigurationEntrySetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPConfigurationEntrySetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) static CPConfigurationEntrySettingremove(long CPConfigurationEntrySettingId) Removes the cp configuration entry setting with the primary key from the database.static voidRemoves all the cp configuration entry settings from the database.static CPConfigurationEntrySettingremoveByC_T(long CPConfigurationEntryId, int type) Removes the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the cp configuration entry settings where companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cp configuration entry settings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cp configuration entry settings where uuid = ? and companyId = ? from the database.static CPConfigurationEntrySettingremoveByUUID_G(String uuid, long groupId) Removes the cp configuration entry setting where uuid = ? and groupId = ? from the database.static voidsetPersistence(CPConfigurationEntrySettingPersistence persistence) static CPConfigurationEntrySettingupdate(CPConfigurationEntrySetting cpConfigurationEntrySetting) static CPConfigurationEntrySettingupdate(CPConfigurationEntrySetting cpConfigurationEntrySetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPConfigurationEntrySettingupdateImpl(CPConfigurationEntrySetting cpConfigurationEntrySetting)
-
Constructor Details
-
CPConfigurationEntrySettingUtil
public CPConfigurationEntrySettingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPConfigurationEntrySetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPConfigurationEntrySetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPConfigurationEntrySetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPConfigurationEntrySetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CPConfigurationEntrySetting update(CPConfigurationEntrySetting cpConfigurationEntrySetting) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPConfigurationEntrySetting update(CPConfigurationEntrySetting cpConfigurationEntrySetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp configuration entry settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp configuration entry settings
-
findByUuid
Returns a range of all the cp configuration entry settings 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)- Returns:
- the range of matching cp configuration entry settings
-
findByUuid
public static List<CPConfigurationEntrySetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entry settings
-
findByUuid
public static List<CPConfigurationEntrySetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (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 configuration entry settings
-
findByUuid_First
public static CPConfigurationEntrySetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the first cp configuration entry setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByUuid_First
public static CPConfigurationEntrySetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
findByUuid_Last
public static CPConfigurationEntrySetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the last cp configuration entry setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByUuid_Last
public static CPConfigurationEntrySetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
findByUuid_PrevAndNext
public static CPConfigurationEntrySetting[] findByUuid_PrevAndNext(long CPConfigurationEntrySettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where uuid = ?.- Parameters:
CPConfigurationEntrySettingId- the primary key of the current cp configuration entry settinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a cp configuration entry setting with the primary key could not be foundNoSuchCPConfigurationEntrySettingException
-
removeByUuid
Removes all the cp configuration entry settings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp configuration entry settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp configuration entry settings
-
findByUUID_G
public static CPConfigurationEntrySetting findByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntrySettingException Returns the cp configuration entry setting where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntrySettingExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByUUID_G
Returns the cp configuration entry setting 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 configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
fetchByUUID_G
public static CPConfigurationEntrySetting fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp configuration entry setting 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 configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
removeByUUID_G
public static CPConfigurationEntrySetting removeByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntrySettingException Removes the cp configuration entry setting where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp configuration entry setting that was removed
- Throws:
NoSuchCPConfigurationEntrySettingException
-
countByUUID_G
Returns the number of cp configuration entry settings where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp configuration entry settings
-
findByUuid_C
Returns all the cp configuration entry settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp configuration entry settings
-
findByUuid_C
public static List<CPConfigurationEntrySetting> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entry settings 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)- Returns:
- the range of matching cp configuration entry settings
-
findByUuid_C
public static List<CPConfigurationEntrySetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entry settings
-
findByUuid_C
public static List<CPConfigurationEntrySetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (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 configuration entry settings
-
findByUuid_C_First
public static CPConfigurationEntrySetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the first cp configuration entry setting 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 configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByUuid_C_First
public static CPConfigurationEntrySetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting 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 configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
findByUuid_C_Last
public static CPConfigurationEntrySetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the last cp configuration entry setting 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 configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByUuid_C_Last
public static CPConfigurationEntrySetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting 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 configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
findByUuid_C_PrevAndNext
public static CPConfigurationEntrySetting[] findByUuid_C_PrevAndNext(long CPConfigurationEntrySettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPConfigurationEntrySettingId- the primary key of the current cp configuration entry settinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a cp configuration entry setting with the primary key could not be foundNoSuchCPConfigurationEntrySettingException
-
removeByUuid_C
Removes all the cp configuration entry settings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp configuration entry settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp configuration entry settings
-
findByCompanyId
Returns all the cp configuration entry settings where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching cp configuration entry settings
-
findByCompanyId
Returns a range of all the cp configuration entry settings where 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)- Returns:
- the range of matching cp configuration entry settings
-
findByCompanyId
public static List<CPConfigurationEntrySetting> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings where 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entry settings
-
findByCompanyId
public static List<CPConfigurationEntrySetting> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings where 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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (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 configuration entry settings
-
findByCompanyId_First
public static CPConfigurationEntrySetting findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the first cp configuration entry setting in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByCompanyId_First
public static CPConfigurationEntrySetting fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
findByCompanyId_Last
public static CPConfigurationEntrySetting findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the last cp configuration entry setting in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByCompanyId_Last
public static CPConfigurationEntrySetting fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the last cp configuration entry setting in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
findByCompanyId_PrevAndNext
public static CPConfigurationEntrySetting[] findByCompanyId_PrevAndNext(long CPConfigurationEntrySettingId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where companyId = ?.- Parameters:
CPConfigurationEntrySettingId- the primary key of the current cp configuration entry settingcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a cp configuration entry setting with the primary key could not be foundNoSuchCPConfigurationEntrySettingException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the cp configuration entry settings where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of cp configuration entry settings where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching cp configuration entry settings
-
findByC_T
public static CPConfigurationEntrySetting findByC_T(long CPConfigurationEntryId, int type) throws NoSuchCPConfigurationEntrySettingException Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or throws aNoSuchCPConfigurationEntrySettingExceptionif it could not be found.- Parameters:
CPConfigurationEntryId- the cp configuration entry IDtype- the type- Returns:
- the matching cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a matching cp configuration entry setting could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByC_T
Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPConfigurationEntryId- the cp configuration entry IDtype- the type- Returns:
- the matching cp configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
fetchByC_T
public static CPConfigurationEntrySetting fetchByC_T(long CPConfigurationEntryId, int type, boolean useFinderCache) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPConfigurationEntryId- the cp configuration entry IDtype- the typeuseFinderCache- whether to use the finder cache- Returns:
- the matching cp configuration entry setting, or
nullif a matching cp configuration entry setting could not be found
-
removeByC_T
public static CPConfigurationEntrySetting removeByC_T(long CPConfigurationEntryId, int type) throws NoSuchCPConfigurationEntrySettingException Removes the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? from the database.- Parameters:
CPConfigurationEntryId- the cp configuration entry IDtype- the type- Returns:
- the cp configuration entry setting that was removed
- Throws:
NoSuchCPConfigurationEntrySettingException
-
countByC_T
public static int countByC_T(long CPConfigurationEntryId, int type) Returns the number of cp configuration entry settings where CPConfigurationEntryId = ? and type = ?.- Parameters:
CPConfigurationEntryId- the cp configuration entry IDtype- the type- Returns:
- the number of matching cp configuration entry settings
-
cacheResult
Caches the cp configuration entry setting in the entity cache if it is enabled.- Parameters:
cpConfigurationEntrySetting- the cp configuration entry setting
-
cacheResult
Caches the cp configuration entry settings in the entity cache if it is enabled.- Parameters:
cpConfigurationEntrySettings- the cp configuration entry settings
-
create
Creates a new cp configuration entry setting with the primary key. Does not add the cp configuration entry setting to the database.- Parameters:
CPConfigurationEntrySettingId- the primary key for the new cp configuration entry setting- Returns:
- the new cp configuration entry setting
-
remove
public static CPConfigurationEntrySetting remove(long CPConfigurationEntrySettingId) throws NoSuchCPConfigurationEntrySettingException Removes the cp configuration entry setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPConfigurationEntrySettingId- the primary key of the cp configuration entry setting- Returns:
- the cp configuration entry setting that was removed
- Throws:
NoSuchCPConfigurationEntrySettingException- if a cp configuration entry setting with the primary key could not be foundNoSuchCPConfigurationEntrySettingException
-
updateImpl
public static CPConfigurationEntrySetting updateImpl(CPConfigurationEntrySetting cpConfigurationEntrySetting) -
findByPrimaryKey
public static CPConfigurationEntrySetting findByPrimaryKey(long CPConfigurationEntrySettingId) throws NoSuchCPConfigurationEntrySettingException Returns the cp configuration entry setting with the primary key or throws aNoSuchCPConfigurationEntrySettingExceptionif it could not be found.- Parameters:
CPConfigurationEntrySettingId- the primary key of the cp configuration entry setting- Returns:
- the cp configuration entry setting
- Throws:
NoSuchCPConfigurationEntrySettingException- if a cp configuration entry setting with the primary key could not be foundNoSuchCPConfigurationEntrySettingException
-
fetchByPrimaryKey
Returns the cp configuration entry setting with the primary key or returnsnullif it could not be found.- Parameters:
CPConfigurationEntrySettingId- the primary key of the cp configuration entry setting- Returns:
- the cp configuration entry setting, or
nullif a cp configuration entry setting with the primary key could not be found
-
findAll
Returns all the cp configuration entry settings.- Returns:
- the cp configuration entry settings
-
findAll
Returns a range of all the cp configuration entry settings.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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
start- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)- Returns:
- the range of cp configuration entry settings
-
findAll
public static List<CPConfigurationEntrySetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings.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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
start- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of cp configuration entry settings
-
findAll
public static List<CPConfigurationEntrySetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entry settings.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 bothstartandendtoQueryUtil#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 fromCPConfigurationEntrySettingModelImpl.- Parameters:
start- the lower bound of the range of cp configuration entry settingsend- the upper bound of the range of cp configuration entry settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of cp configuration entry settings
-
removeAll
public static void removeAll()Removes all the cp configuration entry settings from the database. -
countAll
public static int countAll()Returns the number of cp configuration entry settings.- Returns:
- the number of cp configuration entry settings
-
getPersistence
-
setPersistence
-