Interface CTEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CTEntry ctEntry) Caches the ct entry in the entity cache if it is enabled.void
cacheResult
(List<CTEntry> ctEntries) Caches the ct entries in the entity cache if it is enabled.int
countAll()
Returns the number of ct entries.int
countByC_MCNI
(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.int
countByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.int
countByCtCollectionId
(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.int
countByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.int
countByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.int
countByUuid
(String uuid) Returns the number of ct entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of ct entries where uuid = ? and companyId = ?.create
(long ctEntryId) Creates a new ct entry with the primary key.fetchByC_MCNI_First
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.fetchByC_MCNI_Last
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.fetchByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found.fetchByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCtCollectionId_First
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.fetchByCtCollectionId_Last
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByNotC_MCNI_MCPK_First
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.fetchByNotC_MCNI_MCPK_Last
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.fetchByPrimaryKey
(long ctEntryId) Returns the ct 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<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ?.findAll()
Returns all the ct entries.findAll
(int start, int end) Returns a range of all the ct entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries.findByC_MCNI
(long ctCollectionId, long modelClassNameId) Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI
(long ctCollectionId, long modelClassNameId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI
(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI
(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI_First
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI_Last
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws aNoSuchEntryException
if it could not be found.CTEntry[]
findByC_MCNI_PrevAndNext
(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.findByCtCollectionId
(long ctCollectionId) Returns all the ct entries where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ?.findByCtCollectionId_First
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.findByCtCollectionId_Last
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ?.CTEntry[]
findByCtCollectionId_PrevAndNext
(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, optionally using the finder cache.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK_First
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK_Last
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.CTEntry[]
findByNotC_MCNI_MCPK_PrevAndNext
(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByPrimaryKey
(long ctEntryId) Returns the ct entry with the primary key or throws aNoSuchEntryException
if it could not be found.findByUuid
(String uuid) Returns all the ct entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ct entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the ct entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.CTEntry[]
findByUuid_C_PrevAndNext
(long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ?.CTEntry[]
findByUuid_PrevAndNext
(long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where uuid = ?.remove
(long ctEntryId) Removes the ct entry with the primary key from the database.void
Removes all the ct entries from the database.void
removeByC_MCNI
(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.removeByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.void
removeByCtCollectionId
(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.void
removeByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.void
removeByUuid
(String uuid) Removes all the ct entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the ct entries where uuid = ? and companyId = ? from the database.updateImpl
(CTEntry ctEntry) 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 ct entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ct entries
-
findByUuid
Returns a range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUuid
List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByUuid
List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct 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 ct entries
-
findByUuid_First
CTEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByUuid_First
CTEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_Last
CTEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByUuid_Last
CTEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_PrevAndNext
CTEntry[] findByUuid_PrevAndNext(long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where uuid = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
removeByUuid
Removes all the ct entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ct entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ct entries
-
findByUuid_C
Returns all the ct entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ct entries
-
findByUuid_C
Returns a range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUuid_C
List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByUuid_C
List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct 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 ct entries
-
findByUuid_C_First
CTEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct 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 ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByUuid_C_First
CTEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct 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 ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_C_Last
CTEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct 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 ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByUuid_C_Last
CTEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct 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 ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_C_PrevAndNext
CTEntry[] findByUuid_C_PrevAndNext(long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
removeByUuid_C
Removes all the ct entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ct entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ct entries
-
findByCtCollectionId
Returns all the ct entries where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the matching ct entries
-
findByCtCollectionId
Returns a range of all the ct entries where ctCollectionId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByCtCollectionId
List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByCtCollectionId
List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct 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 ct entries
-
findByCtCollectionId_First
CTEntry findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByCtCollectionId_First
CTEntry fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByCtCollectionId_Last
CTEntry findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByCtCollectionId_Last
CTEntry fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByCtCollectionId_PrevAndNext
CTEntry[] findByCtCollectionId_PrevAndNext(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
removeByCtCollectionId
void removeByCtCollectionId(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.- Parameters:
ctCollectionId
- the ct collection ID
-
countByCtCollectionId
int countByCtCollectionId(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the number of matching ct entries
-
findByC_MCNI
Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name ID- Returns:
- the matching ct entries
-
findByC_MCNI
Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByC_MCNI
List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByC_MCNI
List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct 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 ct entries
-
findByC_MCNI_First
CTEntry findByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByC_MCNI_First
CTEntry fetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByC_MCNI_Last
CTEntry findByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByC_MCNI_Last
CTEntry fetchByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByC_MCNI_PrevAndNext
CTEntry[] findByC_MCNI_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
removeByC_MCNI
void removeByC_MCNI(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name ID
-
countByC_MCNI
int countByC_MCNI(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name ID- Returns:
- the number of matching ct entries
-
findByC_MCNI_MCPK
CTEntry findByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByC_MCNI_MCPK
Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the matching ct entry, or
null
if a matching ct entry could not be found
-
fetchByC_MCNI_MCPK
CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching ct entry, or
null
if a matching ct entry could not be found
-
removeByC_MCNI_MCPK
CTEntry removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
-
countByC_MCNI_MCPK
int countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the number of matching ct entries
-
findByNotC_MCNI_MCPK
Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the matching ct entries
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct 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 ct entries
-
findByNotC_MCNI_MCPK_First
CTEntry findByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByNotC_MCNI_MCPK_First
CTEntry fetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByNotC_MCNI_MCPK_Last
CTEntry findByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByNotC_MCNI_MCPK_Last
CTEntry fetchByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByNotC_MCNI_MCPK_PrevAndNext
CTEntry[] findByNotC_MCNI_MCPK_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pks- Returns:
- the matching ct entries
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK
List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, optionally using the finder cache.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct 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 ct entries
-
removeByNotC_MCNI_MCPK
void removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk
-
countByNotC_MCNI_MCPK
int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the number of matching ct entries
-
countByNotC_MCNI_MCPK
int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pks- Returns:
- the number of matching ct entries
-
findByERC_C
Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be found
-
fetchByERC_C
Returns the ct 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 ct entry, or
null
if a matching ct entry could not be found
-
fetchByERC_C
Returns the ct 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 ct entry, or
null
if a matching ct entry could not be found
-
removeByERC_C
Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
-
countByERC_C
Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching ct entries
-
cacheResult
Caches the ct entry in the entity cache if it is enabled.- Parameters:
ctEntry
- the ct entry
-
cacheResult
Caches the ct entries in the entity cache if it is enabled.- Parameters:
ctEntries
- the ct entries
-
create
Creates a new ct entry with the primary key. Does not add the ct entry to the database.- Parameters:
ctEntryId
- the primary key for the new ct entry- Returns:
- the new ct entry
-
remove
Removes the ct entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ctEntryId
- the primary key of the ct entry- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the ct entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
ctEntryId
- the primary key of the ct entry- Returns:
- the ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the ct entry with the primary key or returnsnull
if it could not be found.- Parameters:
ctEntryId
- the primary key of the ct entry- Returns:
- the ct entry, or
null
if a ct entry with the primary key could not be found
-
findAll
Returns all the ct entries.- Returns:
- the ct entries
-
findAll
Returns a range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of ct entries
-
findAll
List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ct entries
-
findAll
List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct 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 fromCTEntryModelImpl
.- Parameters:
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ct entries
-
removeAll
void removeAll()Removes all the ct entries from the database. -
countAll
int countAll()Returns the number of ct entries.- Returns:
- the number of ct entries
-