Interface CPDefinitionGroupedEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionGroupedEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) Caches the cp definition grouped entry in the entity cache if it is enabled.void
cacheResult
(List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) Caches the cp definition grouped entries in the entity cache if it is enabled.int
countAll()
Returns the number of cp definition grouped entries.int
countByC_E
(long CPDefinitionId, long entryCProductId) Returns the number of cp definition grouped entries where CPDefinitionId = ? and entryCProductId = ?.int
countByCPDefinitionId
(long CPDefinitionId) Returns the number of cp definition grouped entries where CPDefinitionId = ?.int
countByEntryCProductId
(long entryCProductId) Returns the number of cp definition grouped entries where entryCProductId = ?.int
countByUuid
(String uuid) Returns the number of cp definition grouped entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp definition grouped entries where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp definition grouped entries where uuid = ? and groupId = ?.create
(long CPDefinitionGroupedEntryId) Creates a new cp definition grouped entry with the primary key.fetchByC_E
(long CPDefinitionId, long entryCProductId) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnull
if it could not be found.fetchByC_E
(long CPDefinitionId, long entryCProductId, boolean useFinderCache) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.fetchByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.fetchByEntryCProductId_First
(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.fetchByEntryCProductId_Last
(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.fetchByPrimaryKey
(long CPDefinitionGroupedEntryId) Returns the cp definition grouped 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<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp definition grouped entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp definition grouped 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<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ?.findAll()
Returns all the cp definition grouped entries.findAll
(int start, int end) Returns a range of all the cp definition grouped entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries.findByC_E
(long CPDefinitionId, long entryCProductId) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or throws aNoSuchCPDefinitionGroupedEntryException
if it could not be found.findByCPDefinitionId
(long CPDefinitionId) Returns all the cp definition grouped entries where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end) Returns a range of all the cp definition grouped entries where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.findByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.findByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.findByCPDefinitionId_PrevAndNext
(long CPDefinitionGroupedEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where CPDefinitionId = ?.findByEntryCProductId
(long entryCProductId) Returns all the cp definition grouped entries where entryCProductId = ?.findByEntryCProductId
(long entryCProductId, int start, int end) Returns a range of all the cp definition grouped entries where entryCProductId = ?.findByEntryCProductId
(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.findByEntryCProductId
(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.findByEntryCProductId_First
(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.findByEntryCProductId_Last
(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.findByEntryCProductId_PrevAndNext
(long CPDefinitionGroupedEntryId, long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where entryCProductId = ?.findByPrimaryKey
(long CPDefinitionGroupedEntryId) Returns the cp definition grouped entry with the primary key or throws aNoSuchCPDefinitionGroupedEntryException
if it could not be found.findByUuid
(String uuid) Returns all the cp definition grouped entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp definition grouped entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp definition grouped entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp definition grouped entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPDefinitionGroupedEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp definition grouped entry where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionGroupedEntryException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPDefinitionGroupedEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ?.remove
(long CPDefinitionGroupedEntryId) Removes the cp definition grouped entry with the primary key from the database.void
Removes all the cp definition grouped entries from the database.removeByC_E
(long CPDefinitionId, long entryCProductId) Removes the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? from the database.void
removeByCPDefinitionId
(long CPDefinitionId) Removes all the cp definition grouped entries where CPDefinitionId = ? from the database.void
removeByEntryCProductId
(long entryCProductId) Removes all the cp definition grouped entries where entryCProductId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp definition grouped entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp definition grouped entries where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp definition grouped entry where uuid = ? and groupId = ? from the database.updateImpl
(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) 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
-
Method Details
-
findByUuid
Returns all the cp definition grouped entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition grouped entries
-
findByUuid
Returns a range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByUuid
List<CPDefinitionGroupedEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByUuid
List<CPDefinitionGroupedEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped 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 definition grouped entries
-
findByUuid_First
CPDefinitionGroupedEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByUuid_First
CPDefinitionGroupedEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByUuid_Last
CPDefinitionGroupedEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByUuid_Last
CPDefinitionGroupedEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByUuid_PrevAndNext
CPDefinitionGroupedEntry[] findByUuid_PrevAndNext(long CPDefinitionGroupedEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the current cp definition grouped entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a cp definition grouped entry with the primary key could not be found
-
removeByUuid
Removes all the cp definition grouped entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition grouped entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition grouped entries
-
findByUUID_G
CPDefinitionGroupedEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entry where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionGroupedEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByUUID_G
Returns the cp definition grouped 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 definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
fetchByUUID_G
Returns the cp definition grouped 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 definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
removeByUUID_G
CPDefinitionGroupedEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionGroupedEntryException Removes the cp definition grouped entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition grouped entry that was removed
- Throws:
NoSuchCPDefinitionGroupedEntryException
-
countByUUID_G
Returns the number of cp definition grouped entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition grouped entries
-
findByUuid_C
Returns all the cp definition grouped entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition grouped entries
-
findByUuid_C
Returns a range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByUuid_C
List<CPDefinitionGroupedEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByUuid_C
List<CPDefinitionGroupedEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped 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 definition grouped entries
-
findByUuid_C_First
CPDefinitionGroupedEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped 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 definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByUuid_C_First
CPDefinitionGroupedEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped 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 definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByUuid_C_Last
CPDefinitionGroupedEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped 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 definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByUuid_C_Last
CPDefinitionGroupedEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped 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 definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByUuid_C_PrevAndNext
CPDefinitionGroupedEntry[] findByUuid_C_PrevAndNext(long CPDefinitionGroupedEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the current cp definition grouped entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a cp definition grouped entry with the primary key could not be found
-
removeByUuid_C
Removes all the cp definition grouped entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition grouped entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition grouped entries
-
findByCPDefinitionId
Returns all the cp definition grouped entries where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition grouped entries
-
findByCPDefinitionId
Returns a range of all the cp definition grouped entries where CPDefinitionId = ?.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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByCPDefinitionId
List<CPDefinitionGroupedEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByCPDefinitionId
List<CPDefinitionGroupedEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped 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 definition grouped entries
-
findByCPDefinitionId_First
CPDefinitionGroupedEntry findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByCPDefinitionId_First
CPDefinitionGroupedEntry fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByCPDefinitionId_Last
CPDefinitionGroupedEntry findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByCPDefinitionId_Last
CPDefinitionGroupedEntry fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByCPDefinitionId_PrevAndNext
CPDefinitionGroupedEntry[] findByCPDefinitionId_PrevAndNext(long CPDefinitionGroupedEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the current cp definition grouped entryCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a cp definition grouped entry with the primary key could not be found
-
removeByCPDefinitionId
void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp definition grouped entries where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition ID
-
countByCPDefinitionId
int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition grouped entries where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the number of matching cp definition grouped entries
-
findByEntryCProductId
Returns all the cp definition grouped entries where entryCProductId = ?.- Parameters:
entryCProductId
- the entry c product ID- Returns:
- the matching cp definition grouped entries
-
findByEntryCProductId
Returns a range of all the cp definition grouped entries where entryCProductId = ?.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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
entryCProductId
- the entry c product IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByEntryCProductId
List<CPDefinitionGroupedEntry> findByEntryCProductId(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
entryCProductId
- the entry c product IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByEntryCProductId
List<CPDefinitionGroupedEntry> findByEntryCProductId(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
entryCProductId
- the entry c product IDstart
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped 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 definition grouped entries
-
findByEntryCProductId_First
CPDefinitionGroupedEntry findByEntryCProductId_First(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId
- the entry c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByEntryCProductId_First
CPDefinitionGroupedEntry fetchByEntryCProductId_First(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId
- the entry c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByEntryCProductId_Last
CPDefinitionGroupedEntry findByEntryCProductId_Last(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId
- the entry c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByEntryCProductId_Last
CPDefinitionGroupedEntry fetchByEntryCProductId_Last(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId
- the entry c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
findByEntryCProductId_PrevAndNext
CPDefinitionGroupedEntry[] findByEntryCProductId_PrevAndNext(long CPDefinitionGroupedEntryId, long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the current cp definition grouped entryentryCProductId
- the entry c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a cp definition grouped entry with the primary key could not be found
-
removeByEntryCProductId
void removeByEntryCProductId(long entryCProductId) Removes all the cp definition grouped entries where entryCProductId = ? from the database.- Parameters:
entryCProductId
- the entry c product ID
-
countByEntryCProductId
int countByEntryCProductId(long entryCProductId) Returns the number of cp definition grouped entries where entryCProductId = ?.- Parameters:
entryCProductId
- the entry c product ID- Returns:
- the number of matching cp definition grouped entries
-
findByC_E
CPDefinitionGroupedEntry findByC_E(long CPDefinitionId, long entryCProductId) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or throws aNoSuchCPDefinitionGroupedEntryException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDentryCProductId
- the entry c product ID- Returns:
- the matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a matching cp definition grouped entry could not be found
-
fetchByC_E
Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDentryCProductId
- the entry c product ID- Returns:
- the matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
fetchByC_E
CPDefinitionGroupedEntry fetchByC_E(long CPDefinitionId, long entryCProductId, boolean useFinderCache) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDentryCProductId
- the entry c product IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition grouped entry, or
null
if a matching cp definition grouped entry could not be found
-
removeByC_E
CPDefinitionGroupedEntry removeByC_E(long CPDefinitionId, long entryCProductId) throws NoSuchCPDefinitionGroupedEntryException Removes the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDentryCProductId
- the entry c product ID- Returns:
- the cp definition grouped entry that was removed
- Throws:
NoSuchCPDefinitionGroupedEntryException
-
countByC_E
int countByC_E(long CPDefinitionId, long entryCProductId) Returns the number of cp definition grouped entries where CPDefinitionId = ? and entryCProductId = ?.- Parameters:
CPDefinitionId
- the cp definition IDentryCProductId
- the entry c product ID- Returns:
- the number of matching cp definition grouped entries
-
cacheResult
Caches the cp definition grouped entry in the entity cache if it is enabled.- Parameters:
cpDefinitionGroupedEntry
- the cp definition grouped entry
-
cacheResult
Caches the cp definition grouped entries in the entity cache if it is enabled.- Parameters:
cpDefinitionGroupedEntries
- the cp definition grouped entries
-
create
Creates a new cp definition grouped entry with the primary key. Does not add the cp definition grouped entry to the database.- Parameters:
CPDefinitionGroupedEntryId
- the primary key for the new cp definition grouped entry- Returns:
- the new cp definition grouped entry
-
remove
CPDefinitionGroupedEntry remove(long CPDefinitionGroupedEntryId) throws NoSuchCPDefinitionGroupedEntryException Removes the cp definition grouped entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the cp definition grouped entry- Returns:
- the cp definition grouped entry that was removed
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a cp definition grouped entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPDefinitionGroupedEntry findByPrimaryKey(long CPDefinitionGroupedEntryId) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entry with the primary key or throws aNoSuchCPDefinitionGroupedEntryException
if it could not be found.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the cp definition grouped entry- Returns:
- the cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException
- if a cp definition grouped entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp definition grouped entry with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionGroupedEntryId
- the primary key of the cp definition grouped entry- Returns:
- the cp definition grouped entry, or
null
if a cp definition grouped entry with the primary key could not be found
-
findAll
List<CPDefinitionGroupedEntry> findAll()Returns all the cp definition grouped entries.- Returns:
- the cp definition grouped entries
-
findAll
Returns a range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of cp definition grouped entries
-
findAll
List<CPDefinitionGroupedEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp definition grouped entries
-
findAll
List<CPDefinitionGroupedEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition grouped entriesend
- the upper bound of the range of cp definition grouped 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 definition grouped entries
-
removeAll
void removeAll()Removes all the cp definition grouped entries from the database. -
countAll
int countAll()Returns the number of cp definition grouped entries.- Returns:
- the number of cp definition grouped entries
-