Class CTCollectionUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CTCollection ctCollection) Caches the ct collection in the entity cache if it is enabled.static void
cacheResult
(List<CTCollection> ctCollections) Caches the ct collections in the entity cache if it is enabled.static void
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
(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
(String uuid) Returns the number of ct collections where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of ct collections where uuid = ? and companyId = ?.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
(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CTCollection
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
CTCollection> fetchByPrimaryKeys
(Set<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
(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
(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
(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
(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
(String uuid) Returns the number of ct collections that the user has permission to view where uuid = ?.static int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.static 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 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 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 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 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 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[]
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 List<CTCollection>
filterFindByCompanyId
(long companyId) Returns all the ct collections that the user has permission to view where companyId = ?.static 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 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[]
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 List<CTCollection>
filterFindBySchemaVersionId
(long schemaVersionId) Returns all the ct collections that the user has permission to view where schemaVersionId = ?.static 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 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[]
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 List<CTCollection>
filterFindByUuid
(String uuid) Returns all the ct collections that the user has permission to view where uuid = ?.static List<CTCollection>
filterFindByUuid
(String uuid, int start, int end) Returns a range of all the ct collections that the user has permission to view where uuid = ?.static List<CTCollection>
filterFindByUuid
(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 List<CTCollection>
filterFindByUuid_C
(String uuid, long companyId) Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.static List<CTCollection>
filterFindByUuid_C
(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 List<CTCollection>
filterFindByUuid_C
(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_C_PrevAndNext
(long ctCollectionId, 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 CTCollection[]
filterFindByUuid_PrevAndNext
(long ctCollectionId, 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 List<CTCollection>
findAll()
Returns all the ct collections.static List<CTCollection>
findAll
(int start, int end) Returns a range of all the ct collections.static 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 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 List<CTCollection>
findByC_S
(long companyId, int status) Returns all the ct collections where companyId = ? and status = ?.static List<CTCollection>
findByC_S
(long companyId, int[] statuses) Returns all the ct collections where companyId = ? and status = any ?.static 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 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 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 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 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 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
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 List<CTCollection>
findByCompanyId
(long companyId) Returns all the ct collections where companyId = ?.static List<CTCollection>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the ct collections where companyId = ?.static 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 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
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 CTCollection
findByERC_C
(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws aNoSuchCollectionException
if it could not be found.static CTCollection
findByPrimaryKey
(long ctCollectionId) Returns the ct collection with the primary key or throws aNoSuchCollectionException
if it could not be found.static List<CTCollection>
findBySchemaVersionId
(long schemaVersionId) Returns all the ct collections where schemaVersionId = ?.static List<CTCollection>
findBySchemaVersionId
(long schemaVersionId, int start, int end) Returns a range of all the ct collections where schemaVersionId = ?.static 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 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
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 List<CTCollection>
findByUuid
(String uuid) Returns all the ct collections where uuid = ?.static List<CTCollection>
findByUuid
(String uuid, int start, int end) Returns a range of all the ct collections where uuid = ?.static List<CTCollection>
findByUuid
(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 List<CTCollection>
findByUuid
(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 List<CTCollection>
findByUuid_C
(String uuid, long companyId) Returns all the ct collections where uuid = ? and companyId = ?.static List<CTCollection>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ct collections where uuid = ? and companyId = ?.static List<CTCollection>
findByUuid_C
(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 List<CTCollection>
findByUuid_C
(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_C_First
(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
(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, 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 CTCollection
findByUuid_First
(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
(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, 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 List<CTCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CTCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static CTCollection
remove
(long ctCollectionId) Removes the ct collection with the primary key from the database.static void
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
(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
(String uuid) Removes all the ct collections where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the ct collections where uuid = ? and companyId = ? 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)
-
Constructor Details
-
CTCollectionUtil
public CTCollectionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CTCollection update(CTCollection ctCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the ct collections where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ct collections
-
findByUuid
Returns a range of all the ct collections where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)- Returns:
- the range of matching ct collections
-
findByUuid
public static List<CTCollection> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections
-
findByUuid
public static List<CTCollection> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct collections
-
findByUuid_First
public static CTCollection findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByUuid_First
public static CTCollection fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection, or
null
if a matching ct collection could not be found
-
findByUuid_Last
public static CTCollection findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the last ct collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByUuid_Last
public static CTCollection fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection, or
null
if a matching ct collection could not be found
-
findByUuid_PrevAndNext
public static CTCollection[] findByUuid_PrevAndNext(long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the ct collections before and after the current ct collection in the ordered set where uuid = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
filterFindByUuid
Returns all the ct collections that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByUuid
Returns a range of all the ct collections that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)- Returns:
- the range of matching ct collections that the user has permission to view
-
filterFindByUuid
public static List<CTCollection> filterFindByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static CTCollection[] filterFindByUuid_PrevAndNext(long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException 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 = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
removeByUuid
Removes all the ct collections where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ct collections where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ct collections
-
filterCountByUuid
Returns the number of ct collections that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ct collections that the user has permission to view
-
findByUuid_C
Returns all the ct collections where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ct collections
-
findByUuid_C
Returns a range of all the ct collections where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections
-
findByUuid_C
public static List<CTCollection> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections
-
findByUuid_C
public static List<CTCollection> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct collections
-
findByUuid_C_First
public static CTCollection findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByUuid_C_First
public static CTCollection fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection, or
null
if a matching ct collection could not be found
-
findByUuid_C_Last
public static CTCollection findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByUuid_C_Last
public static CTCollection fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection, or
null
if a matching ct collection could not be found
-
findByUuid_C_PrevAndNext
public static CTCollection[] findByUuid_C_PrevAndNext(long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the ct collections before and after the current ct collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
filterFindByUuid_C
Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByUuid_C
public static List<CTCollection> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections that the user has permission to view
-
filterFindByUuid_C
public static List<CTCollection> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static CTCollection[] filterFindByUuid_C_PrevAndNext(long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException 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 = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
removeByUuid_C
Removes all the ct collections where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ct collections where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ct collections
-
filterCountByUuid_C
Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ct collections that the user has permission to view
-
findByCompanyId
Returns all the ct collections where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching ct collections
-
findByCompanyId
Returns a range of all the ct collections where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)- Returns:
- the range of matching ct collections
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct collections
-
findByCompanyId_First
public static CTCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection, or
null
if a matching ct collection could not be found
-
findByCompanyId_Last
public static CTCollection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the last ct collection in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection, or
null
if a matching ct collection could not be found
-
findByCompanyId_PrevAndNext
public static CTCollection[] findByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the ct collections before and after the current ct collection in the ordered set where companyId = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
filterFindByCompanyId
Returns all the ct collections that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the ct collections that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)- Returns:
- the range of matching ct collections that the user has permission to view
-
filterFindByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public static CTCollection[] filterFindByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException 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 = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the ct collections where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of ct collections where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching ct collections
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of ct collections that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching ct collections that the user has permission to view
-
findBySchemaVersionId
Returns all the ct collections where schemaVersionId = ?.- Parameters:
schemaVersionId
- the schema version ID- Returns:
- the matching ct collections
-
findBySchemaVersionId
Returns a range of all the ct collections where schemaVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections
-
findBySchemaVersionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections
-
findBySchemaVersionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct collections
-
findBySchemaVersionId_First
public static CTCollection findBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where schemaVersionId = ?.- Parameters:
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchBySchemaVersionId_First
public 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 = ?.- Parameters:
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection, or
null
if a matching ct collection could not be found
-
findBySchemaVersionId_Last
public static CTCollection findBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the last ct collection in the ordered set where schemaVersionId = ?.- Parameters:
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchBySchemaVersionId_Last
public 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 = ?.- Parameters:
schemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection, or
null
if a matching ct collection could not be found
-
findBySchemaVersionId_PrevAndNext
public static CTCollection[] findBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the ct collections before and after the current ct collection in the ordered set where schemaVersionId = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectionschemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
filterFindBySchemaVersionId
Returns all the ct collections that the user has permission to view where schemaVersionId = ?.- Parameters:
schemaVersionId
- the schema version ID- Returns:
- the matching ct collections that the user has permission to view
-
filterFindBySchemaVersionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections that the user has permission to view
-
filterFindBySchemaVersionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections that the user has permission to view
-
filterFindBySchemaVersionId_PrevAndNext
public static CTCollection[] filterFindBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException 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 = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectionschemaVersionId
- the schema version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
removeBySchemaVersionId
public static void removeBySchemaVersionId(long schemaVersionId) Removes all the ct collections where schemaVersionId = ? from the database.- Parameters:
schemaVersionId
- the schema version ID
-
countBySchemaVersionId
public static int countBySchemaVersionId(long schemaVersionId) Returns the number of ct collections where schemaVersionId = ?.- Parameters:
schemaVersionId
- the schema version ID- Returns:
- the number of matching ct collections
-
filterCountBySchemaVersionId
public static int filterCountBySchemaVersionId(long schemaVersionId) Returns the number of ct collections that the user has permission to view where schemaVersionId = ?.- Parameters:
schemaVersionId
- the schema version ID- Returns:
- the number of matching ct collections that the user has permission to view
-
findByC_S
Returns all the ct collections where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching ct collections
-
findByC_S
Returns a range of all the ct collections where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections
-
findByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections
-
findByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct collections
-
findByC_S_First
public static CTCollection findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByC_S_First
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct collection, or
null
if a matching ct collection could not be found
-
findByC_S_Last
public static CTCollection findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the last ct collection in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByC_S_Last
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct collection, or
null
if a matching ct collection could not be found
-
findByC_S_PrevAndNext
public static CTCollection[] findByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the ct collections before and after the current ct collection in the ordered set where companyId = ? and status = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
filterFindByC_S
Returns all the ct collections that the user has permission to view where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByC_S
Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections that the user has permission to view
-
filterFindByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections that the user has permission to view
-
filterFindByC_S_PrevAndNext
public static CTCollection[] filterFindByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException 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 = ?.- Parameters:
ctCollectionId
- the primary key of the current ct collectioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
filterFindByC_S
Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.- Parameters:
companyId
- the company IDstatuses
- the statuses- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByC_S
public static 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections that the user has permission to view
-
filterFindByC_S
public static 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections that the user has permission to view
-
findByC_S
Returns all the ct collections where companyId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
companyId
- the company IDstatuses
- the statuses- Returns:
- the matching ct collections
-
findByC_S
Returns a range of all the ct collections where companyId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct collections
-
findByC_S
public static 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct collections
-
findByC_S
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct collections
-
removeByC_S
public static void removeByC_S(long companyId, int status) Removes all the ct collections where companyId = ? and status = ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_S
public static int countByC_S(long companyId, int status) Returns the number of ct collections where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching ct collections
-
countByC_S
public static int countByC_S(long companyId, int[] statuses) Returns the number of ct collections where companyId = ? and status = any ?.- Parameters:
companyId
- the company IDstatuses
- the statuses- Returns:
- the number of matching ct collections
-
filterCountByC_S
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching ct collections that the user has permission to view
-
filterCountByC_S
public 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 ?.- Parameters:
companyId
- the company IDstatuses
- the statuses- Returns:
- the number of matching ct collections that the user has permission to view
-
findByERC_C
public static CTCollection findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCollectionException Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws aNoSuchCollectionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching ct collection
- Throws:
NoSuchCollectionException
- if a matching ct collection could not be foundNoSuchCollectionException
-
fetchByERC_C
Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching ct collection, or
null
if a matching ct collection could not be found
-
fetchByERC_C
public static CTCollection fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ct collection, or
null
if a matching ct collection could not be found
-
removeByERC_C
public static CTCollection removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCollectionException Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the ct collection that was removed
- Throws:
NoSuchCollectionException
-
countByERC_C
Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching ct collections
-
cacheResult
Caches the ct collection in the entity cache if it is enabled.- Parameters:
ctCollection
- the ct collection
-
cacheResult
Caches the ct collections in the entity cache if it is enabled.- Parameters:
ctCollections
- the ct collections
-
create
Creates a new ct collection with the primary key. Does not add the ct collection to the database.- Parameters:
ctCollectionId
- the primary key for the new ct collection- Returns:
- the new ct collection
-
remove
Removes the ct collection with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ctCollectionId
- the primary key of the ct collection- Returns:
- the ct collection that was removed
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
updateImpl
-
findByPrimaryKey
Returns the ct collection with the primary key or throws aNoSuchCollectionException
if it could not be found.- Parameters:
ctCollectionId
- the primary key of the ct collection- Returns:
- the ct collection
- Throws:
NoSuchCollectionException
- if a ct collection with the primary key could not be foundNoSuchCollectionException
-
fetchByPrimaryKey
Returns the ct collection with the primary key or returnsnull
if it could not be found.- Parameters:
ctCollectionId
- the primary key of the ct collection- Returns:
- the ct collection, or
null
if a ct collection with the primary key could not be found
-
findAll
Returns all the ct collections.- Returns:
- the ct collections
-
findAll
Returns a range of all the ct collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)- Returns:
- the range of ct collections
-
findAll
public static List<CTCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of ct collections
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTCollectionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ct collections
-
removeAll
public static void removeAll()Removes all the ct collections from the database. -
countAll
public static int countAll()Returns the number of ct collections.- Returns:
- the number of ct collections
-
getPersistence
-
setPersistence
-