Interface CPConfigurationEntrySettingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPConfigurationEntrySetting>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPConfigurationEntrySetting>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPConfigurationEntrySetting cpConfigurationEntrySetting) Caches the cp configuration entry setting in the entity cache if it is enabled.void
cacheResult
(List<CPConfigurationEntrySetting> cpConfigurationEntrySettings) Caches the cp configuration entry settings in the entity cache if it is enabled.int
countAll()
Returns the number of cp configuration entry settings.int
countByC_T
(long CPConfigurationEntryId, int type) Returns the number of cp configuration entry settings where CPConfigurationEntryId = ? and type = ?.int
countByCompanyId
(long companyId) Returns the number of cp configuration entry settings where companyId = ?.int
countByUuid
(String uuid) Returns the number of cp configuration entry settings where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp configuration entry settings where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp configuration entry settings where uuid = ? and groupId = ?.create
(long CPConfigurationEntrySettingId) Creates a new cp configuration entry setting with the primary key.fetchByC_T
(long CPConfigurationEntryId, int type) Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returnsnull
if it could not be found.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.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 = ?.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 = ?.fetchByPrimaryKey
(long CPConfigurationEntrySettingId) Returns the cp configuration entry setting with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns the first cp configuration entry setting in the ordered set where uuid = ? and companyId = ?.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 = ?.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 = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp configuration entry setting where uuid = ? and groupId = ? or returnsnull
if it could not be found.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.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 = ?.findAll()
Returns all the cp configuration entry settings.findAll
(int start, int end) Returns a range of all the cp configuration entry settings.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) Returns an ordered range of all the cp configuration entry settings.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.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.findByCompanyId
(long companyId) Returns all the cp configuration entry settings where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp configuration entry settings where companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey
(long CPConfigurationEntrySettingId) Returns the cp configuration entry setting with the primary key or throws aNoSuchCPConfigurationEntrySettingException
if it could not be found.findByUuid
(String uuid) Returns all the cp configuration entry settings where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp configuration entry settings where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp configuration entry settings where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entry settings where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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.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 = ?.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 = ?.remove
(long CPConfigurationEntrySettingId) Removes the cp configuration entry setting with the primary key from the database.void
Removes all the cp configuration entry settings from the database.removeByC_T
(long CPConfigurationEntryId, int type) Removes the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? from the database.void
removeByCompanyId
(long companyId) Removes all the cp configuration entry settings where companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp configuration entry settings where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp configuration entry settings where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp configuration entry setting where uuid = ? and groupId = ? from the database.updateImpl
(CPConfigurationEntrySetting cpConfigurationEntrySetting) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the cp 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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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
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 found
-
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
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
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
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp configuration entry settings where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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 found
-
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
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
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<CPConfigurationEntrySetting> 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
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
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
void removeAll()Removes all the cp configuration entry settings from the database. -
countAll
int countAll()Returns the number of cp configuration entry settings.- Returns:
- the number of cp configuration entry settings
-