@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 |
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 ?.
|
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 |
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. |
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 |
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 |
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.
|
void |
removeByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.
|
CTEntry |
updateImpl(CTEntry ctEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.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 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 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 pksvoid 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()