public class CTCollectionUtil
extends java.lang.Object
com.liferay.change.tracking.service.persistence.impl.CTCollectionPersistenceImpl
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
CTCollectionPersistence
Constructor and Description |
---|
CTCollectionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CTCollection ctCollection)
Caches the ct collection in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CTCollection> ctCollections)
Caches the ct collections in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CTCollection ctCollection) |
static int |
countAll()
Returns the number of ct collections.
|
static int |
countByC_S(long companyId,
int status)
Returns the number of ct collections where companyId = ? and status = ?.
|
static int |
countByC_S(long companyId,
int[] statuses)
Returns the number of ct collections where companyId = ? and status = any ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of ct collections where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.
|
static int |
countBySchemaVersionId(long schemaVersionId)
Returns the number of ct collections where schemaVersionId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ct collections where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ct collections where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CTCollection |
create(long ctCollectionId)
Creates a new ct collection with the primary key.
|
static CTCollection |
fetchByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where companyId = ? and status = ?.
|
static CTCollection |
fetchByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where companyId = ? and status = ?.
|
static CTCollection |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where companyId = ?.
|
static CTCollection |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where companyId = ?.
|
static CTCollection |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static CTCollection |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CTCollection |
fetchByPrimaryKey(long ctCollectionId)
Returns the ct collection with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CTCollection> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CTCollection |
fetchBySchemaVersionId_First(long schemaVersionId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where schemaVersionId = ?.
|
static CTCollection |
fetchBySchemaVersionId_Last(long schemaVersionId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where schemaVersionId = ?.
|
static CTCollection |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.
|
static CTCollection |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.
|
static CTCollection |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where uuid = ?.
|
static CTCollection |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where uuid = ?.
|
static int |
filterCountByC_S(long companyId,
int status)
Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.
|
static int |
filterCountByC_S(long companyId,
int[] statuses)
Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of ct collections that the user has permission to view where companyId = ?.
|
static int |
filterCountBySchemaVersionId(long schemaVersionId)
Returns the number of ct collections that the user has permission to view where schemaVersionId = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of ct collections that the user has permission to view where uuid = ?.
|
static CTCollection[] |
filterFindByC_S_PrevAndNext(long ctCollectionId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
filterFindByC_S(long companyId,
int status)
Returns all the ct collections that the user has permission to view where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
filterFindByC_S(long companyId,
int[] statuses)
Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.
|
static java.util.List<CTCollection> |
filterFindByC_S(long companyId,
int[] statuses,
int start,
int end)
Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.
|
static java.util.List<CTCollection> |
filterFindByC_S(long companyId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.
|
static java.util.List<CTCollection> |
filterFindByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
filterFindByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ? and status = ?.
|
static CTCollection[] |
filterFindByCompanyId_PrevAndNext(long ctCollectionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ?.
|
static java.util.List<CTCollection> |
filterFindByCompanyId(long companyId)
Returns all the ct collections that the user has permission to view where companyId = ?.
|
static java.util.List<CTCollection> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the ct collections that the user has permission to view where companyId = ?.
|
static java.util.List<CTCollection> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ?.
|
static CTCollection[] |
filterFindBySchemaVersionId_PrevAndNext(long ctCollectionId,
long schemaVersionId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
filterFindBySchemaVersionId(long schemaVersionId)
Returns all the ct collections that the user has permission to view where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
filterFindBySchemaVersionId(long schemaVersionId,
int start,
int end)
Returns a range of all the ct collections that the user has permission to view where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
filterFindBySchemaVersionId(long schemaVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections that the user has permissions to view where schemaVersionId = ?.
|
static CTCollection[] |
filterFindByUuid_C_PrevAndNext(long ctCollectionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ct collections that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ? and companyId = ?.
|
static CTCollection[] |
filterFindByUuid_PrevAndNext(long ctCollectionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ?.
|
static java.util.List<CTCollection> |
filterFindByUuid(java.lang.String uuid)
Returns all the ct collections that the user has permission to view where uuid = ?.
|
static java.util.List<CTCollection> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ct collections that the user has permission to view where uuid = ?.
|
static java.util.List<CTCollection> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ?.
|
static java.util.List<CTCollection> |
findAll()
Returns all the ct collections.
|
static java.util.List<CTCollection> |
findAll(int start,
int end)
Returns a range of all the ct collections.
|
static java.util.List<CTCollection> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections.
|
static java.util.List<CTCollection> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections.
|
static CTCollection |
findByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where companyId = ? and status = ?.
|
static CTCollection |
findByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where companyId = ? and status = ?.
|
static CTCollection[] |
findByC_S_PrevAndNext(long ctCollectionId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int status)
Returns all the ct collections where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int[] statuses)
Returns all the ct collections where companyId = ? and status = any ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int[] statuses,
int start,
int end)
Returns a range of all the ct collections where companyId = ? and status = any ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections where companyId = ? and status = any ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections where companyId = ? and status = ?, optionally using the finder cache.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the ct collections where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections where companyId = ? and status = ?.
|
static java.util.List<CTCollection> |
findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections where companyId = ? and status = ?.
|
static CTCollection |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where companyId = ?.
|
static CTCollection |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where companyId = ?.
|
static CTCollection[] |
findByCompanyId_PrevAndNext(long ctCollectionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set where companyId = ?.
|
static java.util.List<CTCollection> |
findByCompanyId(long companyId)
Returns all the ct collections where companyId = ?.
|
static java.util.List<CTCollection> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the ct collections where companyId = ?.
|
static java.util.List<CTCollection> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections where companyId = ?.
|
static java.util.List<CTCollection> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections where companyId = ?.
|
static CTCollection |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws a
NoSuchCollectionException if it could not be found. |
static CTCollection |
findByPrimaryKey(long ctCollectionId)
Returns the ct collection with the primary key or throws a
NoSuchCollectionException if it could not be found. |
static CTCollection |
findBySchemaVersionId_First(long schemaVersionId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where schemaVersionId = ?.
|
static CTCollection |
findBySchemaVersionId_Last(long schemaVersionId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where schemaVersionId = ?.
|
static CTCollection[] |
findBySchemaVersionId_PrevAndNext(long ctCollectionId,
long schemaVersionId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
findBySchemaVersionId(long schemaVersionId)
Returns all the ct collections where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
findBySchemaVersionId(long schemaVersionId,
int start,
int end)
Returns a range of all the ct collections where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
findBySchemaVersionId(long schemaVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections where schemaVersionId = ?.
|
static java.util.List<CTCollection> |
findBySchemaVersionId(long schemaVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections where schemaVersionId = ?.
|
static CTCollection |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.
|
static CTCollection |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.
|
static CTCollection[] |
findByUuid_C_PrevAndNext(long ctCollectionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ct collections where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ct collections where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.
|
static java.util.List<CTCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.
|
static CTCollection |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the first ct collection in the ordered set where uuid = ?.
|
static CTCollection |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the last ct collection in the ordered set where uuid = ?.
|
static CTCollection[] |
findByUuid_PrevAndNext(long ctCollectionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns the ct collections before and after the current ct collection in the ordered set where uuid = ?.
|
static java.util.List<CTCollection> |
findByUuid(java.lang.String uuid)
Returns all the ct collections where uuid = ?.
|
static java.util.List<CTCollection> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ct collections where uuid = ?.
|
static java.util.List<CTCollection> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
Returns an ordered range of all the ct collections where uuid = ?.
|
static java.util.List<CTCollection> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct collections where uuid = ?.
|
static java.util.List<CTCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CTCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CTCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) |
static CTCollectionPersistence |
getPersistence() |
static CTCollection |
remove(long ctCollectionId)
Removes the ct collection with the primary key from the database.
|
static void |
removeAll()
Removes all the ct collections from the database.
|
static void |
removeByC_S(long companyId,
int status)
Removes all the ct collections where companyId = ? and status = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the ct collections where companyId = ? from the database.
|
static CTCollection |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeBySchemaVersionId(long schemaVersionId)
Removes all the ct collections where schemaVersionId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ct collections where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ct collections where uuid = ? from the database.
|
static void |
setPersistence(CTCollectionPersistence persistence) |
static CTCollection |
update(CTCollection ctCollection) |
static CTCollection |
update(CTCollection ctCollection,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CTCollection |
updateImpl(CTCollection ctCollection) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CTCollection ctCollection)
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,CTCollection> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CTCollection update(CTCollection ctCollection)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CTCollection update(CTCollection ctCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CTCollection> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CTCollection findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection[] findByUuid_PrevAndNext(long ctCollectionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CTCollection> filterFindByUuid(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 CTCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CTCollection[] filterFindByUuid_PrevAndNext(long ctCollectionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection 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 int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CTCollection> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CTCollection findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection[] findByUuid_C_PrevAndNext(long ctCollectionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CTCollection> filterFindByUuid_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 CTCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CTCollection[] filterFindByUuid_C_PrevAndNext(long ctCollectionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection 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 int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CTCollection> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CTCollection> findByCompanyId(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 CTCollectionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CTCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection[] findByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CTCollection> filterFindByCompanyId(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 CTCollectionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CTCollection[] filterFindByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CTCollection> findBySchemaVersionId(long schemaVersionId)
schemaVersionId
- the schema version IDpublic static java.util.List<CTCollection> findBySchemaVersionId(long schemaVersionId, 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 CTCollectionModelImpl
.
schemaVersionId
- the schema version IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
schemaVersionId
- the schema version IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
schemaVersionId
- the schema version IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CTCollection findBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection findBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection[] findBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectionschemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> filterFindBySchemaVersionId(long schemaVersionId)
schemaVersionId
- the schema version IDpublic static java.util.List<CTCollection> filterFindBySchemaVersionId(long schemaVersionId, 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 CTCollectionModelImpl
.
schemaVersionId
- the schema version IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> filterFindBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
schemaVersionId
- the schema version IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CTCollection[] filterFindBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectionschemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static void removeBySchemaVersionId(long schemaVersionId)
schemaVersionId
- the schema version IDpublic static int countBySchemaVersionId(long schemaVersionId)
schemaVersionId
- the schema version IDpublic static int filterCountBySchemaVersionId(long schemaVersionId)
schemaVersionId
- the schema version IDpublic static java.util.List<CTCollection> findByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<CTCollection> findByC_S(long companyId, int status, 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 CTCollectionModelImpl
.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CTCollection findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct collection could not be foundpublic static CTCollection[] findByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> filterFindByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<CTCollection> filterFindByC_S(long companyId, int status, 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 CTCollectionModelImpl
.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CTCollection[] filterFindByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> filterFindByC_S(long companyId, int[] statuses)
companyId
- the company IDstatuses
- the statusespublic static java.util.List<CTCollection> filterFindByC_S(long companyId, int[] statuses, 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 CTCollectionModelImpl
.
companyId
- the company IDstatuses
- the statusesstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstatuses
- the statusesstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findByC_S(long companyId, int[] statuses)
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 CTCollectionModelImpl
.
companyId
- the company IDstatuses
- the statusespublic static java.util.List<CTCollection> findByC_S(long companyId, int[] statuses, 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 CTCollectionModelImpl
.
companyId
- the company IDstatuses
- the statusesstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstatuses
- the statusesstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
companyId
- the company IDstatuses
- the statusesstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_S(long companyId, int[] statuses)
companyId
- the company IDstatuses
- the statusespublic static int filterCountByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int filterCountByC_S(long companyId, int[] statuses)
companyId
- the company IDstatuses
- the statusespublic static CTCollection findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchCollectionException
- if a matching ct collection could not be foundpublic static CTCollection 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 collection could not be foundpublic static CTCollection 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 collection could not be foundpublic static CTCollection removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchCollectionException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchCollectionException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(CTCollection ctCollection)
ctCollection
- the ct collectionpublic static void cacheResult(java.util.List<CTCollection> ctCollections)
ctCollections
- the ct collectionspublic static CTCollection create(long ctCollectionId)
ctCollectionId
- the primary key for the new ct collectionpublic static CTCollection remove(long ctCollectionId) throws NoSuchCollectionException
ctCollectionId
- the primary key of the ct collectionNoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static CTCollection updateImpl(CTCollection ctCollection)
public static CTCollection findByPrimaryKey(long ctCollectionId) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.ctCollectionId
- the primary key of the ct collectionNoSuchCollectionException
- if a ct collection with the primary key could not be foundpublic static CTCollection fetchByPrimaryKey(long ctCollectionId)
null
if it could not be found.ctCollectionId
- the primary key of the ct collectionnull
if a ct collection with the primary key could not be foundpublic static java.util.List<CTCollection> findAll()
public static java.util.List<CTCollection> 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 CTCollectionModelImpl
.
start
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)public static java.util.List<CTCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
start
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CTCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> 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 CTCollectionModelImpl
.
start
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (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 CTCollectionPersistence getPersistence()
public static void setPersistence(CTCollectionPersistence persistence)