Class CTEntryUtil
com.liferay.change.tracking.service.persistence.impl.CTEntryPersistenceImpl 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(CTEntry ctEntry) static voidcacheResult(List<CTEntry> ctEntries) static voidstatic voidclearCache(CTEntry ctEntry) static intcountByC_MCNI(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.static intcountByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.static intcountByCtCollectionId(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.static intcountByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static intcountByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.static intcountByUserId(long userId) Returns the number of ct entries where userId = ?.static intcountByUuid(String uuid) Returns the number of ct entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of ct entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CTEntrycreate(long ctEntryId) Creates a new ct entry with the primary key.static CTEntryfetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.static CTEntryfetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnullif it could not be found.static CTEntryfetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnullif it could not be found, optionally using the finder cache.static CTEntryfetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.static CTEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CTEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CTEntryfetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntryfetchByPrimaryKey(long ctEntryId) Returns the ct entry with the primary key or returnsnullif it could not be found.static Map<Serializable, CTEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CTEntryfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where userId = ?.static CTEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.findByC_MCNI(long ctCollectionId, long modelClassNameId) Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.static CTEntryfindByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.static CTEntryfindByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws aNoSuchEntryExceptionif it could not be found.findByCtCollectionId(long ctCollectionId) Returns all the ct entries where ctCollectionId = ?.findByCtCollectionId(long ctCollectionId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ?.findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ?.findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ?.static CTEntryfindByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.static CTEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryExceptionif it could not be found.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, optionally using the finder cache.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntryfindByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntryfindByPrimaryKey(long ctEntryId) Returns the ct entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.findByUserId(long userId) Returns all the ct entries where userId = ?.findByUserId(long userId, int start, int end) Returns a range of all the ct entries where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where userId = ?.static CTEntryfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where userId = ?.findByUuid(String uuid) Returns all the ct entries where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the ct entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the ct entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.static CTEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) static CTEntryPersistencestatic CTEntryremove(long ctEntryId) Removes the ct entry with the primary key from the database.static voidremoveByC_MCNI(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.static CTEntryremoveByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.static voidremoveByCtCollectionId(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.static CTEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.static voidremoveByUserId(long userId) Removes all the ct entries where userId = ? from the database.static voidremoveByUuid(String uuid) Removes all the ct entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the ct entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(CTEntryPersistence persistence) static CTEntrystatic CTEntrystatic CTEntryupdateImpl(CTEntry ctEntry)
-
Constructor Details
-
CTEntryUtil
public CTEntryUtil()
-
-
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<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CTEntry update(CTEntry ctEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries 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.CTEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
findByUuid_First
public static CTEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry
-
fetchByUuid_First
public static CTEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry, or
nullif a matching ct entry could not be found
-
removeByUuid
Removes all the ct entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of ct entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching ct entries
-
findByUuid_C
public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries 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.CTEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
findByUuid_C_First
public static CTEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry 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 entry
-
fetchByUuid_C_First
public static CTEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry 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 entry, or
nullif a matching ct entry could not be found
-
removeByUuid_C
Removes all the ct entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of ct entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching ct entries
-
findByUserId
public static List<CTEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where 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.CTEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
findByUserId_First
public static CTEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry
-
fetchByUserId_First
public static CTEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry, or
nullif a matching ct entry could not be found
-
removeByUserId
public static void removeByUserId(long userId) Removes all the ct entries where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of ct entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching ct entries
-
findByCtCollectionId
public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
findByCtCollectionId_First
public static CTEntry findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId- the ct collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry
-
fetchByCtCollectionId_First
public static CTEntry fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId- the ct collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry, or
nullif a matching ct entry could not be found
-
removeByCtCollectionId
public static void removeByCtCollectionId(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.- Parameters:
ctCollectionId- the ct collection ID
-
countByCtCollectionId
public static int countByCtCollectionId(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.- Parameters:
ctCollectionId- the ct collection ID- Returns:
- the number of matching ct entries
-
findByC_MCNI
public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
findByC_MCNI_First
public static CTEntry findByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry
-
fetchByC_MCNI_First
public static CTEntry fetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry, or
nullif a matching ct entry could not be found
-
removeByC_MCNI
public static void removeByC_MCNI(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name ID
-
countByC_MCNI
public static int countByC_MCNI(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name ID- Returns:
- the number of matching ct entries
-
findByC_MCNI_MCPK
public static CTEntry findByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk- Returns:
- the matching ct entry
-
fetchByC_MCNI_MCPK
public static CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching ct entry, or
nullif a matching ct entry could not be found
-
removeByC_MCNI_MCPK
public static CTEntry removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
-
countByC_MCNI_MCPK
public static int countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk- Returns:
- the number of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk- Returns:
- the matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pkstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pkstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pkstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
findByNotC_MCNI_MCPK_First
public static CTEntry findByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry
-
fetchByNotC_MCNI_MCPK_First
public static CTEntry fetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ct entry, or
nullif a matching ct entry could not be found
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPKs- the model class pks- Returns:
- the matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPKs- the model class pksstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPKs- the model class pksstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, 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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPKs- the model class pksstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (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 entries
-
removeByNotC_MCNI_MCPK
public static void removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk
-
countByNotC_MCNI_MCPK
public static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk- Returns:
- the number of matching ct entries
-
countByNotC_MCNI_MCPK
public static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPKs- the model class pks- Returns:
- the number of matching ct entries
-
findByERC_C
public static CTEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching ct entry
-
fetchByERC_C
public static CTEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct entry 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 entry, or
nullif a matching ct entry could not be found
-
removeByERC_C
public static CTEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
-
countByERC_C
Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching ct entries
-
create
Creates a new ct entry with the primary key. Does not add the ct entry to the database.- Parameters:
ctEntryId- the primary key for the new ct entry- Returns:
- the new ct entry
-
remove
Removes the ct entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ctEntryId- the primary key of the ct entry- Returns:
- the ct entry that was removed
-
updateImpl
-
findByPrimaryKey
Returns the ct entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
ctEntryId- the primary key of the ct entry- Returns:
- the ct entry
-
fetchByPrimaryKey
Returns the ct entry with the primary key or returnsnullif it could not be found.- Parameters:
ctEntryId- the primary key of the ct entry- Returns:
- the ct entry, or
nullif a ct entry with the primary key could not be found
-
fetchByC_MCNI_MCPK
public static CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDmodelClassPK- the model class pk- Returns:
- the matching ct entry, or
nullif a matching ct entry could not be found
-
fetchByERC_C
Returns the ct entry 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 entry, or
nullif a matching ct entry could not be found
-
findByUuid
Returns all the ct entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching ct entries
-
findByUuid
Returns a range of all the ct entries 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.CTEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUuid
public static List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries 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.CTEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
findByUuid_C
Returns all the ct entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching ct entries
-
findByUuid_C
Returns a range of all the ct entries 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.CTEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUuid_C
public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries 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.CTEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
findByUserId
Returns all the ct entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching ct entries
-
findByUserId
Returns a range of all the ct entries where 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.CTEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUserId
public static List<CTEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where 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.CTEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
findByCtCollectionId
Returns all the ct entries where ctCollectionId = ?.- Parameters:
ctCollectionId- the ct collection ID- Returns:
- the matching ct entries
-
findByCtCollectionId
Returns a range of all the ct entries where ctCollectionId = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByCtCollectionId
public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
findByC_MCNI
Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name ID- Returns:
- the matching ct entries
-
findByC_MCNI
public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByC_MCNI
public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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.CTEntryModelImpl.- Parameters:
ctCollectionId- the ct collection IDmodelClassNameId- the model class name IDstart- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ct entries
-
getPersistence
-
setPersistence
-