Class CTCollectionUtil
com.liferay.change.tracking.service.persistence.impl.CTCollectionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CTCollection ctCollection) static voidcacheResult(List<CTCollection> ctCollections) static voidstatic voidclearCache(CTCollection ctCollection) static intcountByC_S(long companyId, int status) Returns the number of ct collections where companyId = ? and status = ?.static intcountByC_S(long companyId, int[] statuses) Returns the number of ct collections where companyId = ? and status = any ?.static intcountByC_SVI(long companyId, long schemaVersionId) Returns the number of ct collections where companyId = ? and schemaVersionId = ?.static intcountByC_U(long companyId, long userId) Returns the number of ct collections where companyId = ? and userId = ?.static intcountByCompanyId(long companyId) Returns the number of ct collections where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of ct collections where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of ct collections where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CTCollectioncreate(long ctCollectionId) Creates a new ct collection with the primary key.static CTCollectionfetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and status = ?.static CTCollectionfetchByC_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 = ?.static CTCollectionfetchByC_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 = ?.static CTCollectionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ?.static CTCollectionfetchByERC_C(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CTCollectionfetchByERC_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.static CTCollectionfetchByPrimaryKey(long ctCollectionId) Returns the ct collection with the primary key or returnsnullif it could not be found.static Map<Serializable, CTCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CTCollectionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.static CTCollectionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.static intfilterCountByC_S(long companyId, int status) Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.static intfilterCountByC_S(long companyId, int[] statuses) Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?.static intfilterCountByC_SVI(long companyId, long schemaVersionId) Returns the number of ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.static intfilterCountByC_U(long companyId, long userId) Returns the number of ct collections that the user has permission to view where companyId = ? and userId = ?.static intfilterCountByCompanyId(long companyId) Returns the number of ct collections that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of ct collections that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.static List<CTCollection> filterFindByC_S(long companyId, int status) Returns all the ct collections that the user has permission to view where companyId = ? and status = ?.static List<CTCollection> filterFindByC_S(long companyId, int[] statuses) Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.static List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.static List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.static List<CTCollection> filterFindByC_S(long companyId, int status, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = ?.static List<CTCollection> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ? and status = ?.static List<CTCollection> filterFindByC_SVI(long companyId, long schemaVersionId) Returns all the ct collections that the user has permission to view where companyId = ? and schemaVersionId = ?.static List<CTCollection> 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 = ?.static 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 = ?.static List<CTCollection> filterFindByC_U(long companyId, long userId) Returns all the ct collections that the user has permission to view where companyId = ? and userId = ?.static List<CTCollection> 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 = ?.static 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 = ?.static List<CTCollection> filterFindByCompanyId(long companyId) Returns all the ct collections that the user has permission to view where companyId = ?.static List<CTCollection> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ?.static List<CTCollection> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ?.static List<CTCollection> filterFindByUuid(String uuid) Returns all the ct collections that the user has permission to view where uuid = ?.static List<CTCollection> filterFindByUuid(String uuid, int start, int end) Returns a range of all the ct collections that the user has permission to view where uuid = ?.static List<CTCollection> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ?.static List<CTCollection> filterFindByUuid_C(String uuid, long companyId) Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.static List<CTCollection> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ct collections that the user has permission to view where uuid = ? and companyId = ?.static List<CTCollection> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ? and companyId = ?.static List<CTCollection> findByC_S(long companyId, int status) Returns all the ct collections where companyId = ? and status = ?.static List<CTCollection> findByC_S(long companyId, int[] statuses) Returns all the ct collections where companyId = ? and status = any ?.static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end) Returns a range of all the ct collections where companyId = ? and status = any ?.static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and status = any ?.static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where companyId = ? and status = ?, optionally using the finder cache.static List<CTCollection> findByC_S(long companyId, int status, int start, int end) Returns a range of all the ct collections where companyId = ? and status = ?.static List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and status = ?.static List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where companyId = ? and status = ?.static CTCollectionfindByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and status = ?.static List<CTCollection> findByC_SVI(long companyId, long schemaVersionId) Returns all the ct collections where companyId = ? and schemaVersionId = ?.static List<CTCollection> findByC_SVI(long companyId, long schemaVersionId, int start, int end) Returns a range of all the ct collections where companyId = ? and schemaVersionId = ?.static 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 = ?.static 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 = ?.static CTCollectionfindByC_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 = ?.static List<CTCollection> findByC_U(long companyId, long userId) Returns all the ct collections where companyId = ? and userId = ?.static List<CTCollection> findByC_U(long companyId, long userId, int start, int end) Returns a range of all the ct collections where companyId = ? and userId = ?.static 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 = ?.static 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 = ?.static CTCollectionfindByC_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 = ?.static List<CTCollection> findByCompanyId(long companyId) Returns all the ct collections where companyId = ?.static List<CTCollection> findByCompanyId(long companyId, int start, int end) Returns a range of all the ct collections where companyId = ?.static List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ?.static List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where companyId = ?.static CTCollectionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ?.static CTCollectionfindByERC_C(String externalReferenceCode, long companyId) Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws aNoSuchCollectionExceptionif it could not be found.static CTCollectionfindByPrimaryKey(long ctCollectionId) Returns the ct collection with the primary key or throws aNoSuchCollectionExceptionif it could not be found.static List<CTCollection> findByUuid(String uuid) Returns all the ct collections where uuid = ?.static List<CTCollection> findByUuid(String uuid, int start, int end) Returns a range of all the ct collections where uuid = ?.static List<CTCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where uuid = ?.static List<CTCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where uuid = ?.static List<CTCollection> findByUuid_C(String uuid, long companyId) Returns all the ct collections where uuid = ? and companyId = ?.static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ct collections where uuid = ? and companyId = ?.static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.static CTCollectionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.static CTCollectionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) static CTCollectionPersistencestatic CTCollectionremove(long ctCollectionId) Removes the ct collection with the primary key from the database.static voidremoveByC_S(long companyId, int status) Removes all the ct collections where companyId = ? and status = ? from the database.static voidremoveByC_SVI(long companyId, long schemaVersionId) Removes all the ct collections where companyId = ? and schemaVersionId = ? from the database.static voidremoveByC_U(long companyId, long userId) Removes all the ct collections where companyId = ? and userId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the ct collections where companyId = ? from the database.static CTCollectionremoveByERC_C(String externalReferenceCode, long companyId) Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the ct collections where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the ct collections where uuid = ? and companyId = ? from the database.static voidsetPersistence(CTCollectionPersistence persistence) static CTCollectionupdate(CTCollection ctCollection) static CTCollectionupdate(CTCollection ctCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CTCollectionupdateImpl(CTCollection ctCollection)
-
Constructor Details
-
CTCollectionUtil
public CTCollectionUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CTCollection update(CTCollection ctCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<CTCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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
public static CTCollection findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection
-
fetchByUuid_First
public static CTCollection fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection, or
nullif a matching ct collection could not be found
-
filterFindByUuid
public static List<CTCollection> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static CTCollection findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection
-
fetchByUuid_C_First
public static CTCollection fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection, or
nullif a matching ct collection could not be found
-
filterFindByUuid_C
public static List<CTCollection> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static CTCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection
-
fetchByCompanyId_First
public static CTCollection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection, or
nullif a matching ct collection could not be found
-
filterFindByCompanyId
public static List<CTCollection> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static void removeByCompanyId(long companyId) Removes all the ct collections where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of ct collections where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching ct collections
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of ct collections that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching ct collections that the user has permission to view
-
findByC_U
public static 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
public static 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
-
fetchByC_U_First
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
-
fetchByC_SVI_First
public static 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
public static 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
public static 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
public static 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
public static 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
public static List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - 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
public static CTCollection findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException Returns the first ct collection in the ordered set where companyId = ? and status = ?.- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection
-
fetchByC_S_First
public static CTCollection fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns the first ct collection in the ordered set where companyId = ? and status = ?.- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct collection, or
nullif a matching ct collection could not be found
-
filterFindByC_S
public static List<CTCollection> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct collections where companyId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - 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
public static void removeByC_S(long companyId, int status) Removes all the ct collections where companyId = ? and status = ? from the database.- Parameters:
companyId- the company IDstatus- the status
-
countByC_S
public static int countByC_S(long companyId, int status) Returns the number of ct collections where companyId = ? and status = ?.- Parameters:
companyId- the company IDstatus- the status- Returns:
- the number of matching ct collections
-
countByC_S
public static int countByC_S(long companyId, int[] statuses) Returns the number of ct collections where companyId = ? and status = any ?.- Parameters:
companyId- the company IDstatuses- the statuses- Returns:
- the number of matching ct collections
-
filterCountByC_S
public static int filterCountByC_S(long companyId, int status) Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.- Parameters:
companyId- the company IDstatus- the status- Returns:
- the number of matching ct collections that the user has permission to view
-
filterCountByC_S
public static int filterCountByC_S(long companyId, int[] statuses) Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?.- Parameters:
companyId- the company IDstatuses- the statuses- Returns:
- the number of matching ct collections that the user has permission to view
-
findByERC_C
public static CTCollection findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCollectionException Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws aNoSuchCollectionExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching ct collection
-
fetchByERC_C
public static CTCollection 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.- 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
public static CTCollection removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCollectionException Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the ct collection that was removed
- Throws:
NoSuchCollectionException
-
countByERC_C
Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching ct collections
-
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
-
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
-
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
-
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
-
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
public static List<CTCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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
-
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
-
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
public static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
-
filterFindByUuid_C
Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByUuid_C
public static List<CTCollection> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ct collections that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
-
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
public static List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
-
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
-
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
public static 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
-
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
-
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
public static List<CTCollection> findByC_SVI(long companyId, long schemaVersionId, int start, int end) 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
public static 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
-
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
public static List<CTCollection> 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 = ?.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
-
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
public static List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - 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
Returns all the ct collections where companyId = ? and status = any ?.- 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
public static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) Returns an ordered range of all the ct collections where companyId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - 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
-
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
Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.- Parameters:
companyId- the company IDstatuses- the statuses- Returns:
- the matching ct collections that the user has permission to view
-
filterFindByC_S
public static List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end) Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - 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
-
getPersistence
-
setPersistence
-