Interface CTEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(CTEntry ctEntry) Caches the ct entry in the entity cache if it is enabled.voidcacheResult(List<CTEntry> ctEntries) Caches the ct entries in the entity cache if it is enabled.intcountAll()Returns the number of ct entries.intcountByC_MCNI(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.intcountByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.intcountByCtCollectionId(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.intcountByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.intcountByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.intcountByUserId(long userId) Returns the number of ct entries where userId = ?.intcountByUuid(String uuid) Returns the number of ct entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of ct entries where uuid = ? and companyId = ?.create(long ctEntryId) Creates a new ct entry with the primary key.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 = ?.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.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.fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.fetchByERC_C(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.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.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 = ?.fetchByPrimaryKey(long ctEntryId) Returns the ct entry with the primary key or returnsnullif it could not be found.fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where userId = ?.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 = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.findAll()Returns all the ct entries.findAll(int start, int end) Returns a range of all the ct entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries.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 = ?.findByC_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 = ?.findByC_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 = ?.findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.findByERC_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 = ?.findByNotC_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 = ?.findByPrimaryKey(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 = ?.findByUserId_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 = ?.findByUuid_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 = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.remove(long ctEntryId) Removes the ct entry with the primary key from the database.voidRemoves all the ct entries from the database.voidremoveByC_MCNI(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.voidremoveByCtCollectionId(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.removeByERC_C(String externalReferenceCode, long companyId) Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.voidremoveByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.voidremoveByUserId(long userId) Removes all the ct entries where userId = ? from the database.voidremoveByUuid(String uuid) Removes all the ct entries where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the ct entries where uuid = ? and companyId = ? from the database.updateImpl(CTEntry ctEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the ct 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
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
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByUuid_First
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
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
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
-
findByUuid_C
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByUuid_C_First
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
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
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
-
findByUserId
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByUserId_First
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
void removeByUserId(long userId) Removes all the ct entries where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
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
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
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
-
findByCtCollectionId
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByCtCollectionId_First
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
void removeByCtCollectionId(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.- Parameters:
ctCollectionId- the ct collection ID
-
countByCtCollectionId
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
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
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
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
-
findByC_MCNI
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByC_MCNI_First
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
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
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByC_MCNI_MCPK
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
-
fetchByC_MCNI_MCPK
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
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
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
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
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
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
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
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
- Throws:
NoSuchEntryException- if a matching ct entry could not be found
-
fetchByNotC_MCNI_MCPK_First
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
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
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
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
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
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
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
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
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
- Throws:
NoSuchEntryException- if 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
-
fetchByERC_C
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
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
-
cacheResult
Caches the ct entry in the entity cache if it is enabled.- Parameters:
ctEntry- the ct entry
-
cacheResult
Caches the ct entries in the entity cache if it is enabled.- Parameters:
ctEntries- the 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
- Throws:
NoSuchEntryException- if a ct entry with the primary key could not be found
-
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
- Throws:
NoSuchEntryException- if a ct entry with the primary key could not be found
-
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
-
findAll
Returns all the ct entries.- Returns:
- the ct entries
-
findAll
Returns a range of all the ct entries.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:
start- the lower bound of the range of ct entriesend- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of ct entries
-
findAll
List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries.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:
start- 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 ct entries
-
findAll
List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries.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:
start- 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 ct entries
-
removeAll
void removeAll()Removes all the ct entries from the database. -
countAll
int countAll()Returns the number of ct entries.- Returns:
- the number of ct entries
-