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 TypeMethodDescriptionvoidcacheResult(CTCollection ctCollection) Caches the ct collection in the entity cache if it is enabled.voidcacheResult(List<CTCollection> ctCollections) Caches the ct collections in the entity cache if it is enabled.intcountAll()Returns the number of ct collections.intcountByC_S(long companyId, int status) Returns the number of ct collections where companyId = ? and status = ?.intcountByC_S(long companyId, int[] statuses) Returns the number of ct collections where companyId = ? and status = any ?.intcountByC_SVI(long companyId, long schemaVersionId) Returns the number of ct collections where companyId = ? and schemaVersionId = ?.intcountByC_U(long companyId, long userId) Returns the number of ct collections where companyId = ? and userId = ?.intcountByCompanyId(long companyId) Returns the number of ct collections where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.intcountByUuid(String uuid) Returns the number of ct collections where uuid = ?.intcountByUuid_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_SVI_First(long companyId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and schemaVersionId = ?.fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and userId = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ?.fetchByERC_C(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long ctCollectionId) Returns the ct collection with the primary key or returnsnullif it could not be found.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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.intfilterCountByC_S(long companyId, int status) Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.intfilterCountByC_S(long companyId, int[] statuses) Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?.intfilterCountByC_SVI(long companyId, long schemaVersionId) Returns the number of ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.intfilterCountByC_U(long companyId, long userId) Returns the number of ct collections that the user has permission to view where companyId = ? and userId = ?.intfilterCountByCompanyId(long companyId) Returns the number of ct collections that the user has permission to view where companyId = ?.intfilterCountByUuid(String uuid) Returns the number of ct collections that the user has permission to view where uuid = ?.intfilterCountByUuid_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_SVI(long companyId, long schemaVersionId) Returns all the ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.filterFindByC_SVI(long companyId, long schemaVersionId, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.filterFindByC_SVI(long companyId, 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 companyId = ? and schemaVersionId = ?.filterFindByC_U(long companyId, long userId) Returns all the ct collections that the user has permission to view where companyId = ? and userId = ?.filterFindByC_U(long companyId, long userId, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ? and userId = ?.filterFindByC_U(long companyId, long userId, 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 userId = ?.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 = ?.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 = ?.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_SVI(long companyId, long schemaVersionId) Returns all the ct collections where companyId = ? and schemaVersionId = ?.findByC_SVI(long companyId, long schemaVersionId, int start, int end) Returns a range of all the ct collections where companyId = ? and schemaVersionId = ?.findByC_SVI(long companyId, long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and schemaVersionId = ?.findByC_SVI(long companyId, 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 companyId = ? and schemaVersionId = ?.findByC_SVI_First(long companyId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and schemaVersionId = ?.findByC_U(long companyId, long userId) Returns all the ct collections where companyId = ? and userId = ?.findByC_U(long companyId, long userId, int start, int end) Returns a range of all the ct collections where companyId = ? and userId = ?.findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and userId = ?.findByC_U(long companyId, long userId, 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 userId = ?.findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and userId = ?.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 = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws aNoSuchCollectionExceptionif it could not be found.findByPrimaryKey(long ctCollectionId) Returns the ct collection with the primary key or throws aNoSuchCollectionExceptionif it could not be found.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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.remove(long ctCollectionId) Removes the ct collection with the primary key from the database.voidRemoves all the ct collections from the database.voidremoveByC_S(long companyId, int status) Removes all the ct collections where companyId = ? and status = ? from the database.voidremoveByC_SVI(long companyId, long schemaVersionId) Removes all the ct collections where companyId = ? and schemaVersionId = ? from the database.voidremoveByC_U(long companyId, long userId) Removes all the ct collections where companyId = ? and userId = ? from the database.voidremoveByCompanyId(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.voidremoveByUuid(String uuid) Removes all the ct collections where uuid = ? from the database.voidremoveByUuid_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, dslQuery, dslQueryCount, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
nullif a matching ct collection 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
nullif a matching ct collection 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
nullif a matching ct collection 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
-
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
-
findByC_U
Returns all the ct collections where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching ct collections
-
findByC_U
Returns a range of all the ct collections where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDuserId- the user 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
-
findByC_U
List<CTCollection> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDuserId- the user 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
-
findByC_U
List<CTCollection> findByC_U(long companyId, long userId, 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 userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDuserId- the user 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
-
findByC_U_First
CTCollection findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user 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
-
fetchByC_U_First
CTCollection fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection, or
nullif a matching ct collection could not be found
-
filterFindByC_U
Returns all the ct collections that the user has permission to view where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByC_U
Returns a range of all the ct collections that the user has permission to view where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDuserId- the user 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
-
filterFindByC_U
List<CTCollection> filterFindByC_U(long companyId, long userId, 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 userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDuserId- the user 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
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the ct collections where companyId = ? and userId = ? from the database.- Parameters:
companyId- the company IDuserId- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of ct collections where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching ct collections
-
filterCountByC_U
int filterCountByC_U(long companyId, long userId) Returns the number of ct collections that the user has permission to view where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching ct collections that the user has permission to view
-
findByC_SVI
Returns all the ct collections where companyId = ? and schemaVersionId = ?.- Parameters:
companyId- the company IDschemaVersionId- the schema version ID- Returns:
- the matching ct collections
-
findByC_SVI
Returns a range of all the ct collections where companyId = ? and schemaVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDschemaVersionId- 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
-
findByC_SVI
List<CTCollection> findByC_SVI(long companyId, long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and schemaVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDschemaVersionId- 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
-
findByC_SVI
List<CTCollection> findByC_SVI(long companyId, 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 companyId = ? and schemaVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDschemaVersionId- 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
-
findByC_SVI_First
CTCollection findByC_SVI_First(long companyId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where companyId = ? and schemaVersionId = ?.- Parameters:
companyId- the company IDschemaVersionId- 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
-
fetchByC_SVI_First
CTCollection fetchByC_SVI_First(long companyId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and schemaVersionId = ?.- Parameters:
companyId- the company IDschemaVersionId- the schema version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection, or
nullif a matching ct collection could not be found
-
filterFindByC_SVI
Returns all the ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.- Parameters:
companyId- the company IDschemaVersionId- the schema version ID- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByC_SVI
Returns a range of all the ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDschemaVersionId- 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
-
filterFindByC_SVI
List<CTCollection> filterFindByC_SVI(long companyId, 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 companyId = ? and schemaVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- Parameters:
companyId- the company IDschemaVersionId- 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
-
removeByC_SVI
void removeByC_SVI(long companyId, long schemaVersionId) Removes all the ct collections where companyId = ? and schemaVersionId = ? from the database.- Parameters:
companyId- the company IDschemaVersionId- the schema version ID
-
countByC_SVI
int countByC_SVI(long companyId, long schemaVersionId) Returns the number of ct collections where companyId = ? and schemaVersionId = ?.- Parameters:
companyId- the company IDschemaVersionId- the schema version ID- Returns:
- the number of matching ct collections
-
filterCountByC_SVI
int filterCountByC_SVI(long companyId, long schemaVersionId) Returns the number of ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.- Parameters:
companyId- the company IDschemaVersionId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
nullif a matching ct collection 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 aNoSuchCollectionExceptionif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching ct collection, or
nullif a matching ct collection could not be found
-
fetchByERC_C
Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnullif 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
nullif 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 aNoSuchCollectionExceptionif 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 returnsnullif it could not be found.- Parameters:
ctCollectionId- the primary key of the ct collection- Returns:
- the ct collection, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.change.tracking.model.impl.CTCollectionModelImpl.- 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
-