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 void
cacheResult
(CPConfigurationEntrySetting cpConfigurationEntrySetting) Caches the cp configuration entry setting in the entity cache if it is enabled.static void
cacheResult
(List<CPConfigurationEntrySetting> cpConfigurationEntrySettings) Caches the cp configuration entry settings in the entity cache if it is enabled.static void
static void
clearCache
(CPConfigurationEntrySetting cpConfigurationEntrySetting) static int
countAll()
Returns the number of cp configuration entry settings.static int
countByC_T
(long CPConfigurationEntryId, int type) Returns the number of cp configuration entry settings where CPConfigurationEntryId = ? and type = ?.static int
countByCompanyId
(long companyId) Returns the number of cp configuration entry settings where companyId = ?.static int
countByUuid
(String uuid) Returns the number of cp configuration entry settings where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cp configuration entry settings where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of cp configuration entry settings where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPConfigurationEntrySetting
create
(long CPConfigurationEntrySettingId) Creates a new cp configuration entry setting with the primary key.static CPConfigurationEntrySetting
fetchByC_T
(long CPConfigurationEntryId, int type) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnull
if it could not be found.static CPConfigurationEntrySetting
fetchByC_T
(long CPConfigurationEntryId, int type, boolean useFinderCache) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.static CPConfigurationEntrySetting
fetchByPrimaryKey
(long CPConfigurationEntrySettingId) Returns the cp configuration entry setting with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.static CPConfigurationEntrySetting
fetchByUUID_G
(String uuid, long groupId) Returns the cp configuration entry setting where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CPConfigurationEntrySetting
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp configuration entry setting where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 CPConfigurationEntrySetting
findByC_T
(long CPConfigurationEntryId, int type) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or throws aNoSuchCPConfigurationEntrySettingException
if 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 CPConfigurationEntrySetting
findByCompanyId_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 CPConfigurationEntrySetting
findByCompanyId_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 CPConfigurationEntrySetting
findByPrimaryKey
(long CPConfigurationEntrySettingId) Returns the cp configuration entry setting with the primary key or throws aNoSuchCPConfigurationEntrySettingException
if 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 CPConfigurationEntrySetting
findByUuid_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 CPConfigurationEntrySetting
findByUuid_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 CPConfigurationEntrySetting
findByUuid_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 CPConfigurationEntrySetting
findByUUID_G
(String uuid, long groupId) Returns the cp configuration entry setting where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntrySettingException
if it could not be found.static CPConfigurationEntrySetting
findByUuid_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 CPConfigurationEntrySetting
remove
(long CPConfigurationEntrySettingId) Removes the cp configuration entry setting with the primary key from the database.static void
Removes all the cp configuration entry settings from the database.static CPConfigurationEntrySetting
removeByC_T
(long CPConfigurationEntryId, int type) Removes the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the cp configuration entry settings where companyId = ? from the database.static void
removeByUuid
(String uuid) Removes all the cp configuration entry settings where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cp configuration entry settings where uuid = ? and companyId = ? from the database.static CPConfigurationEntrySetting
removeByUUID_G
(String uuid, long groupId) Removes the cp configuration entry setting where uuid = ? and groupId = ? from the database.static void
setPersistence
(CPConfigurationEntrySettingPersistence persistence) static CPConfigurationEntrySetting
update
(CPConfigurationEntrySetting cpConfigurationEntrySetting) static CPConfigurationEntrySetting
update
(CPConfigurationEntrySetting cpConfigurationEntrySetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPConfigurationEntrySetting
updateImpl
(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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 aNoSuchCPConfigurationEntrySettingException
if 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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp configuration entry setting, or
null
if 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 returnsnull
if 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
null
if 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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 aNoSuchCPConfigurationEntrySettingException
if 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 returnsnull
if 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
null
if 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 returnsnull
if 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
null
if 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 aNoSuchCPConfigurationEntrySettingException
if 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 returnsnull
if it could not be found.- Parameters:
CPConfigurationEntrySettingId
- the primary key of the cp configuration entry setting- Returns:
- the cp configuration entry setting, or
null
if 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 - 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 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 - 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 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 - 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 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
-