Interface CTCollectionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTCollection>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CTCollection ctCollection) Caches the ct collection in the entity cache if it is enabled.void
cacheResult
(List<CTCollection> ctCollections) Caches the ct collections in the entity cache if it is enabled.int
countAll()
Returns the number of ct collections.int
countByC_S
(long companyId, int status) Returns the number of ct collections where companyId = ? and status = ?.int
countByC_S
(long companyId, int[] statuses) Returns the number of ct collections where companyId = ? and status = any ?.int
countByCompanyId
(long companyId) Returns the number of ct collections where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.int
countBySchemaVersionId
(long schemaVersionId) Returns the number of ct collections where schemaVersionId = ?.int
countByUuid
(String uuid) Returns the number of ct collections where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of ct collections where uuid = ? and companyId = ?.create
(long ctCollectionId) Creates a new ct collection with the primary key.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.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.fetchByPrimaryKey
(long ctCollectionId) Returns the ct collection with the primary key or returnsnull
if it could not be found.fetchBySchemaVersionId_First
(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where schemaVersionId = ?.fetchBySchemaVersionId_Last
(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where schemaVersionId = ?.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where uuid = ?.int
filterCountByC_S
(long companyId, int status) Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.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 ?.int
filterCountByCompanyId
(long companyId) Returns the number of ct collections that the user has permission to view where companyId = ?.int
filterCountBySchemaVersionId
(long schemaVersionId) Returns the number of ct collections that the user has permission to view where schemaVersionId = ?.int
filterCountByUuid
(String uuid) Returns the number of ct collections that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.filterFindByC_S
(long companyId, int status) Returns all the ct collections that the user has permission to view where companyId = ? and status = ?.filterFindByC_S
(long companyId, int[] statuses) Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.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 ?.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 ?.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 = ?.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 = ?.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 = ?.filterFindByCompanyId
(long companyId) Returns all the ct collections that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ?.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 = ?.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 = ?.filterFindBySchemaVersionId
(long schemaVersionId) Returns all the ct collections that the user has permission to view where schemaVersionId = ?.filterFindBySchemaVersionId
(long schemaVersionId, int start, int end) Returns a range of all the ct collections that the user has permission to view where schemaVersionId = ?.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 = ?.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 = ?.filterFindByUuid
(String uuid) Returns all the ct collections that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the ct collections that the user has permission to view where uuid = ?.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 = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.findAll()
Returns all the ct collections.findAll
(int start, int end) Returns a range of all the ct collections.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections.findByC_S
(long companyId, int status) Returns all the ct collections where companyId = ? and status = ?.findByC_S
(long companyId, int[] statuses) Returns all the ct collections where companyId = ? and status = any ?.findByC_S
(long companyId, int[] statuses, int start, int end) Returns a range of all the ct collections where companyId = ? and status = any ?.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 ?.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.findByC_S
(long companyId, int status, int start, int end) Returns a range of all the ct collections where companyId = ? and status = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the ct collections where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the ct collections where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where companyId = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws aNoSuchCollectionException
if it could not be found.findByPrimaryKey
(long ctCollectionId) Returns the ct collection with the primary key or throws aNoSuchCollectionException
if it could not be found.findBySchemaVersionId
(long schemaVersionId) Returns all the ct collections where schemaVersionId = ?.findBySchemaVersionId
(long schemaVersionId, int start, int end) Returns a range of all the ct collections where schemaVersionId = ?.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 = ?.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 = ?.findBySchemaVersionId_First
(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where schemaVersionId = ?.findBySchemaVersionId_Last
(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where schemaVersionId = ?.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 = ?.findByUuid
(String uuid) Returns all the ct collections where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ct collections where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the ct collections where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ct collections where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the last ct collection in the ordered set where uuid = ?.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 = ?.remove
(long ctCollectionId) Removes the ct collection with the primary key from the database.void
Removes all the ct collections from the database.void
removeByC_S
(long companyId, int status) Removes all the ct collections where companyId = ? and status = ? from the database.void
removeByCompanyId
(long companyId) Removes all the ct collections where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.void
removeBySchemaVersionId
(long schemaVersionId) Removes all the ct collections where schemaVersionId = ? from the database.void
removeByUuid
(String uuid) Removes all the ct collections where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the ct collections where uuid = ? and companyId = ? from the database.updateImpl
(CTCollection ctCollection) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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
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
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 found
-
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
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
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the ct collections where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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
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 found
-
fetchBySchemaVersionId_First
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
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 found
-
fetchBySchemaVersionId_Last
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
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 found
-
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
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
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
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 found
-
removeBySchemaVersionId
void removeBySchemaVersionId(long schemaVersionId) Removes all the ct collections where schemaVersionId = ? from the database.- Parameters:
schemaVersionId
- the schema version ID
-
countBySchemaVersionId
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
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
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
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
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 found
-
fetchByC_S_First
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
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 found
-
fetchByC_S_Last
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
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 found
-
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
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
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 found
-
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
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
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
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
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
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
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
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
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
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
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 found
-
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
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
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 found
-
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 found
-
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
List<CTCollection> 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
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
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
void removeAll()Removes all the ct collections from the database. -
countAll
int countAll()Returns the number of ct collections.- Returns:
- the number of ct collections
-