Interface CPConfigurationEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPConfigurationEntry>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPConfigurationEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPConfigurationEntry cpConfigurationEntry) Caches the cp configuration entry in the entity cache if it is enabled.void
cacheResult
(List<CPConfigurationEntry> cpConfigurationEntries) Caches the cp configuration entries in the entity cache if it is enabled.int
countAll()
Returns the number of cp configuration entries.int
countByC_C
(long classNameId, long classPK) Returns the number of cp configuration entries where classNameId = ? and classPK = ?.int
countByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and CPConfigurationListId = ?.int
countByC_C_V
(long classNameId, long classPK, boolean visible) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and visible = ?.int
countByCompanyId
(long companyId) Returns the number of cp configuration entries where companyId = ?.int
countByCPConfigurationListId
(long CPConfigurationListId) Returns the number of cp configuration entries where CPConfigurationListId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp configuration entries where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of cp configuration entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp configuration entries where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp configuration entries where uuid = ? and groupId = ?.create
(long CPConfigurationEntryId) Creates a new cp configuration entry with the primary key.fetchByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_V_First
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.fetchByC_C_V_Last
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where companyId = ?.fetchByCPConfigurationListId_First
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.fetchByCPConfigurationListId_Last
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long CPConfigurationEntryId) Returns the cp configuration entry 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<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp configuration entry 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 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<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ?.findAll()
Returns all the cp configuration entries.findAll
(int start, int end) Returns a range of all the cp configuration entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries.findByC_C
(long classNameId, long classPK) Returns all the cp configuration entries where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.findByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.findByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.findByC_C_PrevAndNext
(long CPConfigurationEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ?.findByC_C_V
(long classNameId, long classPK, boolean visible) Returns all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.findByC_C_V
(long classNameId, long classPK, boolean visible, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.findByC_C_V
(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.findByC_C_V
(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.findByC_C_V_First
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.findByC_C_V_Last
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.findByC_C_V_PrevAndNext
(long CPConfigurationEntryId, long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.findByCompanyId
(long companyId) Returns all the cp configuration entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp configuration entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long CPConfigurationEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where companyId = ?.findByCPConfigurationListId
(long CPConfigurationListId) Returns all the cp configuration entries where CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration entries where CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.findByCPConfigurationListId_First
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.findByCPConfigurationListId_Last
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.findByCPConfigurationListId_PrevAndNext
(long CPConfigurationEntryId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where CPConfigurationListId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.findByPrimaryKey
(long CPConfigurationEntryId) Returns the cp configuration entry with the primary key or throws aNoSuchCPConfigurationEntryException
if it could not be found.findByUuid
(String uuid) Returns all the cp configuration entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp configuration entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp configuration entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPConfigurationEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp configuration entry where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPConfigurationEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ?.remove
(long CPConfigurationEntryId) Removes the cp configuration entry with the primary key from the database.void
Removes all the cp configuration entries from the database.void
removeByC_C
(long classNameId, long classPK) Removes all the cp configuration entries where classNameId = ? and classPK = ? from the database.removeByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Removes the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.void
removeByC_C_V
(long classNameId, long classPK, boolean visible) Removes all the cp configuration entries where classNameId = ? and classPK = ? and visible = ? from the database.void
removeByCompanyId
(long companyId) Removes all the cp configuration entries where companyId = ? from the database.void
removeByCPConfigurationListId
(long CPConfigurationListId) Removes all the cp configuration entries where CPConfigurationListId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp configuration entry where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp configuration entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp configuration entries where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp configuration entry where uuid = ? and groupId = ? from the database.updateImpl
(CPConfigurationEntry cpConfigurationEntry) 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 entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp configuration entries
-
findByUuid
Returns a range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByUuid
List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid
List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
findByUuid_First
CPConfigurationEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry 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
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByUuid_First
CPConfigurationEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
findByUuid_Last
CPConfigurationEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry 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
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByUuid_Last
CPConfigurationEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
findByUuid_PrevAndNext
CPConfigurationEntry[] findByUuid_PrevAndNext(long CPConfigurationEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
removeByUuid
Removes all the cp configuration entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp configuration entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp configuration entries
-
findByUUID_G
CPConfigurationEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByUUID_G
Returns the cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
fetchByUUID_G
Returns the cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
removeByUUID_G
CPConfigurationEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByUUID_G
Returns the number of cp configuration entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp configuration entries
-
findByUuid_C
Returns all the cp configuration entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp configuration entries
-
findByUuid_C
Returns a range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByUuid_C
List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid_C
List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
findByUuid_C_First
CPConfigurationEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry 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
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByUuid_C_First
CPConfigurationEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
findByUuid_C_Last
CPConfigurationEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry 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
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByUuid_C_Last
CPConfigurationEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
findByUuid_C_PrevAndNext
CPConfigurationEntry[] findByUuid_C_PrevAndNext(long CPConfigurationEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
removeByUuid_C
Removes all the cp configuration entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp configuration entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp configuration entries
-
findByCompanyId
Returns all the cp configuration entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp configuration entries
-
findByCompanyId
Returns a range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByCompanyId
List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByCompanyId
List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
findByCompanyId_First
CPConfigurationEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry 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
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByCompanyId_First
CPConfigurationEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
findByCompanyId_Last
CPConfigurationEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry 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
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByCompanyId_Last
CPConfigurationEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry 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, or
null
if a matching cp configuration entry could not be found
-
findByCompanyId_PrevAndNext
CPConfigurationEntry[] findByCompanyId_PrevAndNext(long CPConfigurationEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where companyId = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp configuration entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of cp configuration entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp configuration entries
-
findByCPConfigurationListId
Returns all the cp configuration entries where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration entries
-
findByCPConfigurationListId
List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration entries where CPConfigurationListId = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByCPConfigurationListId
List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByCPConfigurationListId
List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
findByCPConfigurationListId_First
CPConfigurationEntry findByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByCPConfigurationListId_First
CPConfigurationEntry fetchByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByCPConfigurationListId_Last
CPConfigurationEntry findByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByCPConfigurationListId_Last
CPConfigurationEntry fetchByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByCPConfigurationListId_PrevAndNext
CPConfigurationEntry[] findByCPConfigurationListId_PrevAndNext(long CPConfigurationEntryId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
removeByCPConfigurationListId
void removeByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration entries where CPConfigurationListId = ? from the database.- Parameters:
CPConfigurationListId
- the cp configuration list ID
-
countByCPConfigurationListId
int countByCPConfigurationListId(long CPConfigurationListId) Returns the number of cp configuration entries where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration entries
-
findByC_C
Returns all the cp configuration entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching cp configuration entries
-
findByC_C
Returns a range of all the cp configuration entries where classNameId = ? and classPK = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByC_C
List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByC_C
List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
findByC_C_First
CPConfigurationEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByC_C_First
CPConfigurationEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_Last
CPConfigurationEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByC_C_Last
CPConfigurationEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_PrevAndNext
CPConfigurationEntry[] findByC_C_PrevAndNext(long CPConfigurationEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
removeByC_C
void removeByC_C(long classNameId, long classPK) Removes all the cp configuration entries where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
int countByC_C(long classNameId, long classPK) Returns the number of cp configuration entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching cp configuration entries
-
findByC_C_C
CPConfigurationEntry findByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByC_C_C
Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
fetchByC_C_C
CPConfigurationEntry fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
removeByC_C_C
CPConfigurationEntry removeByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByC_C_C
int countByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration entries
-
findByC_C_V
Returns all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visible- Returns:
- the matching cp configuration entries
-
findByC_C_V
List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visiblestart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByC_C_V
List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visiblestart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByC_C_V
List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visiblestart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
findByC_C_V_First
CPConfigurationEntry findByC_C_V_First(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByC_C_V_First
CPConfigurationEntry fetchByC_C_V_First(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_V_Last
CPConfigurationEntry findByC_C_V_Last(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByC_C_V_Last
CPConfigurationEntry fetchByC_C_V_Last(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_V_PrevAndNext
CPConfigurationEntry[] findByC_C_V_PrevAndNext(long CPConfigurationEntryId, long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryclassNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
removeByC_C_V
void removeByC_C_V(long classNameId, long classPK, boolean visible) Removes all the cp configuration entries where classNameId = ? and classPK = ? and visible = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visible
-
countByC_C_V
int countByC_C_V(long classNameId, long classPK, boolean visible) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visible- Returns:
- the number of matching cp configuration entries
-
findByERC_C
CPConfigurationEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be found
-
fetchByERC_C
Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
fetchByERC_C
CPConfigurationEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
removeByERC_C
CPConfigurationEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByERC_C
Returns the number of cp configuration entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cp configuration entries
-
cacheResult
Caches the cp configuration entry in the entity cache if it is enabled.- Parameters:
cpConfigurationEntry
- the cp configuration entry
-
cacheResult
Caches the cp configuration entries in the entity cache if it is enabled.- Parameters:
cpConfigurationEntries
- the cp configuration entries
-
create
Creates a new cp configuration entry with the primary key. Does not add the cp configuration entry to the database.- Parameters:
CPConfigurationEntryId
- the primary key for the new cp configuration entry- Returns:
- the new cp configuration entry
-
remove
Removes the cp configuration entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPConfigurationEntryId
- the primary key of the cp configuration entry- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPConfigurationEntry findByPrimaryKey(long CPConfigurationEntryId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry with the primary key or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
CPConfigurationEntryId
- the primary key of the cp configuration entry- Returns:
- the cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp configuration entry with the primary key or returnsnull
if it could not be found.- Parameters:
CPConfigurationEntryId
- the primary key of the cp configuration entry- Returns:
- the cp configuration entry, or
null
if a cp configuration entry with the primary key could not be found
-
findAll
List<CPConfigurationEntry> findAll()Returns all the cp configuration entries.- Returns:
- the cp configuration entries
-
findAll
Returns a range of all the cp configuration entries.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 fromCPConfigurationEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of cp configuration entries
-
findAll
List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries.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 fromCPConfigurationEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp configuration entries
-
findAll
List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries.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 fromCPConfigurationEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 entries
-
removeAll
void removeAll()Removes all the cp configuration entries from the database. -
countAll
int countAll()Returns the number of cp configuration entries.- Returns:
- the number of cp configuration entries
-