@ProviderType public interface CTEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTEntry>
Caching information and settings can be found in portal.properties
CTEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CTEntry ctEntry)
Caches the ct entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.
|
int |
countByC_MCNI(long ctCollectionId,
long modelClassNameId)
Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.
|
int |
countByCtCollectionId(long ctCollectionId)
Returns the number of ct entries where ctCollectionId = ?.
|
int |
countByERC_C(java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of ct entries where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of ct entries where uuid = ?.
|
CTEntry |
create(long ctEntryId)
Creates a new ct entry with the primary key.
|
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 = ?.
|
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 = ?.
|
CTEntry |
fetchByC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns
null if it could not be found. |
CTEntry |
fetchByC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK,
boolean useFinderCache)
Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns
null if it could not be found, optionally using the finder cache. |
CTEntry |
fetchByCtCollectionId_First(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the first ct entry in the ordered set where ctCollectionId = ?.
|
CTEntry |
fetchByCtCollectionId_Last(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the last ct entry in the ordered set where ctCollectionId = ?.
|
CTEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CTEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
CTEntry |
fetchByPrimaryKey(long ctEntryId)
Returns the ct entry with the primary key or returns
null if it could not be found. |
CTEntry |
fetchByUuid_C_First(java.lang.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 = ?.
|
CTEntry |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the first ct entry in the ordered set where uuid = ?.
|
CTEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the last ct entry in the ordered set where uuid = ?.
|
java.util.List<CTEntry> |
findAll()
Returns all the ct entries.
|
java.util.List<CTEntry> |
findAll(int start,
int end)
Returns a range of all the ct entries.
|
java.util.List<CTEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns an ordered range of all the ct entries.
|
java.util.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.
|
CTEntry |
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 = ?.
|
CTEntry |
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 = ?.
|
CTEntry |
findByC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws a
NoSuchEntryException 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 = ?.
|
java.util.List<CTEntry> |
findByC_MCNI(long ctCollectionId,
long modelClassNameId)
Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
|
java.util.List<CTEntry> |
findByC_MCNI(long ctCollectionId,
long modelClassNameId,
int start,
int end)
Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CTEntry |
findByCtCollectionId_First(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the first ct entry in the ordered set where ctCollectionId = ?.
|
CTEntry |
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 = ?.
|
java.util.List<CTEntry> |
findByCtCollectionId(long ctCollectionId)
Returns all the ct entries where ctCollectionId = ?.
|
java.util.List<CTEntry> |
findByCtCollectionId(long ctCollectionId,
int start,
int end)
Returns a range of all the ct entries where ctCollectionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CTEntry |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchEntryException if it could not be found. |
CTEntry |
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 = ?.
|
CTEntry |
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 = ?.
|
java.util.List<CTEntry> |
findByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
|
java.util.List<CTEntry> |
findByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long[] modelClassPKs)
Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
|
java.util.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 ?.
|
java.util.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 ?.
|
java.util.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.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CTEntry |
findByPrimaryKey(long ctEntryId)
Returns the ct entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
CTEntry |
findByUuid_C_First(java.lang.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 = ?.
|
CTEntry |
findByUuid_C_Last(java.lang.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,
java.lang.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 = ?.
|
java.util.List<CTEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ct entries where uuid = ? and companyId = ?.
|
java.util.List<CTEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ct entries where uuid = ? and companyId = ?.
|
java.util.List<CTEntry> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<CTEntry> |
findByUuid_C(java.lang.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 = ?.
|
CTEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the first ct entry in the ordered set where uuid = ?.
|
CTEntry |
findByUuid_Last(java.lang.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,
java.lang.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 = ?.
|
java.util.List<CTEntry> |
findByUuid(java.lang.String uuid)
Returns all the ct entries where uuid = ?.
|
java.util.List<CTEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ct entries where uuid = ?.
|
java.util.List<CTEntry> |
findByUuid(java.lang.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 = ?.
|
java.util.List<CTEntry> |
findByUuid(java.lang.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 = ?.
|
CTEntry |
remove(long ctEntryId)
Removes the ct entry with the primary key from the database.
|
void |
removeAll()
Removes all the ct entries from the database.
|
CTEntry |
removeByC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.
|
void |
removeByC_MCNI(long ctCollectionId,
long modelClassNameId)
Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.
|
void |
removeByCtCollectionId(long ctCollectionId)
Removes all the ct entries where ctCollectionId = ? from the database.
|
CTEntry |
removeByERC_C(java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the ct entries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the ct entries where uuid = ? from the database.
|
CTEntry |
updateImpl(CTEntry ctEntry) |
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, setDataSource, unregisterListener, update, update
java.util.List<CTEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CTEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)java.util.List<CTEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.List<CTEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry[] findByUuid_PrevAndNext(long ctEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctEntryId
- the primary key of the current ct entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ct entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CTEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CTEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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)java.util.List<CTEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.List<CTEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry[] findByUuid_C_PrevAndNext(long ctEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctEntryId
- the primary key of the current ct entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ct entry with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CTEntry> findByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDjava.util.List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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)java.util.List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTEntry findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry[] findByCtCollectionId_PrevAndNext(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ct entry with the primary key could not be foundvoid removeByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDint countByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDjava.util.List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDjava.util.List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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)java.util.List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTEntry findByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry findByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry[] findByC_MCNI_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
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 (optionally null
)NoSuchEntryException
- if a ct entry with the primary key could not be foundvoid removeByC_MCNI(long ctCollectionId, long modelClassNameId)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDint countByC_MCNI(long ctCollectionId, long modelClassNameId)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDCTEntry findByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkNoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
null
if it could not be found. Uses the finder cache.ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pknull
if a matching ct entry could not be foundCTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkuseFinderCache
- whether to use the finder cachenull
if a matching ct entry could not be foundCTEntry removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkNoSuchEntryException
int countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkjava.util.List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkjava.util.List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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)java.util.List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTEntry findByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry findByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct entry could not be foundCTEntry[] findByNotC_MCNI_MCPK_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
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 (optionally null
)NoSuchEntryException
- if a ct entry with the primary key could not be foundjava.util.List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksjava.util.List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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)java.util.List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkint countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkint countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksCTEntry findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchEntryException
- if a matching ct entry could not be foundCTEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching ct entry could not be foundCTEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching ct entry could not be foundCTEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchEntryException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CTEntry ctEntry)
ctEntry
- the ct entryvoid cacheResult(java.util.List<CTEntry> ctEntries)
ctEntries
- the ct entriesCTEntry create(long ctEntryId)
ctEntryId
- the primary key for the new ct entryCTEntry remove(long ctEntryId) throws NoSuchEntryException
ctEntryId
- the primary key of the ct entryNoSuchEntryException
- if a ct entry with the primary key could not be foundCTEntry findByPrimaryKey(long ctEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.ctEntryId
- the primary key of the ct entryNoSuchEntryException
- if a ct entry with the primary key could not be foundCTEntry fetchByPrimaryKey(long ctEntryId)
null
if it could not be found.ctEntryId
- the primary key of the ct entrynull
if a ct entry with the primary key could not be foundjava.util.List<CTEntry> findAll()
java.util.List<CTEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)java.util.List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)java.util.List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()