public class CTEntryUtil
extends java.lang.Object
com.liferay.change.tracking.service.persistence.impl.CTEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CTEntryPersistence
Constructor and Description |
---|
CTEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CTEntry ctEntry)
Caches the ct entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CTEntry> ctEntries)
Caches the ct entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CTEntry ctEntry) |
static int |
countAll()
Returns the number of ct entries.
|
static int |
countByC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.
|
static int |
countByC_MCNI(long ctCollectionId,
long modelClassNameId)
Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.
|
static int |
countByCtCollectionId(long ctCollectionId)
Returns the number of ct entries where ctCollectionId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.
|
static int |
countByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
|
static int |
countByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long[] modelClassPKs)
Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ct entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ct entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CTEntry |
create(long ctEntryId)
Creates a new ct entry with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static CTEntry |
fetchByCtCollectionId_First(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the first ct entry in the ordered set where ctCollectionId = ?.
|
static CTEntry |
fetchByCtCollectionId_Last(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the last ct entry in the ordered set where ctCollectionId = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static CTEntry |
fetchByPrimaryKey(long ctEntryId)
Returns the ct entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CTEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CTEntry> |
findAll()
Returns all the ct entries.
|
static java.util.List<CTEntry> |
findAll(int start,
int end)
Returns a range of all the ct entries.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static java.util.List<CTEntry> |
findByC_MCNI(long ctCollectionId,
long modelClassNameId)
Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static CTEntry |
findByCtCollectionId_First(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the first ct entry in the ordered set where ctCollectionId = ?.
|
static CTEntry |
findByCtCollectionId_Last(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
Returns the last ct entry in the ordered set where ctCollectionId = ?.
|
static 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 = ?.
|
static java.util.List<CTEntry> |
findByCtCollectionId(long ctCollectionId)
Returns all the ct entries where ctCollectionId = ?.
|
static java.util.List<CTEntry> |
findByCtCollectionId(long ctCollectionId,
int start,
int end)
Returns a range of all the ct entries where ctCollectionId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CTEntry> |
findByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
|
static 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 ?.
|
static 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 ?.
|
static 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 ?.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static CTEntry |
findByPrimaryKey(long ctEntryId)
Returns the ct entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CTEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ct entries where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CTEntry> |
findByUuid(java.lang.String uuid)
Returns all the ct entries where uuid = ?.
|
static java.util.List<CTEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ct entries where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CTEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CTEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CTEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) |
static CTEntryPersistence |
getPersistence() |
static CTEntry |
remove(long ctEntryId)
Removes the ct entry with the primary key from the database.
|
static void |
removeAll()
Removes all the ct entries from the database.
|
static CTEntry |
removeByC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.
|
static void |
removeByC_MCNI(long ctCollectionId,
long modelClassNameId)
Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.
|
static void |
removeByCtCollectionId(long ctCollectionId)
Removes all the ct entries where ctCollectionId = ? from the database.
|
static CTEntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByNotC_MCNI_MCPK(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ct entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ct entries where uuid = ? from the database.
|
static void |
setPersistence(CTEntryPersistence persistence) |
static CTEntry |
update(CTEntry ctEntry) |
static CTEntry |
update(CTEntry ctEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CTEntry |
updateImpl(CTEntry ctEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CTEntry ctEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CTEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CTEntry update(CTEntry ctEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CTEntry update(CTEntry ctEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CTEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.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)public static 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
)public static 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 cachepublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry[] 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 foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CTEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry[] 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 foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CTEntry> findByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDpublic static java.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)public static 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
)public static 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 cachepublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry[] 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 foundpublic static void removeByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDpublic static int countByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDpublic static java.util.List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDpublic static java.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)public static 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
)public static 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 cachepublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry[] 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 foundpublic static void removeByC_MCNI(long ctCollectionId, long modelClassNameId)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDpublic static int countByC_MCNI(long ctCollectionId, long modelClassNameId)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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
public static int countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkpublic static java.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 pkpublic static java.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)public static 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
)public static 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 cachepublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry[] 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 foundpublic static java.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 pkspublic static java.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)public static 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
)public static 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 cachepublic static void removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkpublic static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkpublic static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pkspublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static CTEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchEntryException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(CTEntry ctEntry)
ctEntry
- the ct entrypublic static void cacheResult(java.util.List<CTEntry> ctEntries)
ctEntries
- the ct entriespublic static CTEntry create(long ctEntryId)
ctEntryId
- the primary key for the new ct entrypublic static CTEntry remove(long ctEntryId) throws NoSuchEntryException
ctEntryId
- the primary key of the ct entryNoSuchEntryException
- if a ct entry with the primary key could not be foundpublic static CTEntry 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 foundpublic static CTEntry 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 foundpublic static java.util.List<CTEntry> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static CTEntryPersistence getPersistence()
public static void setPersistence(CTEntryPersistence persistence)