Interface CommerceSubscriptionEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceSubscriptionEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the number of commerce subscription entries where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ?.intcountByC_U(long companyId, long userId) Returns the number of commerce subscription entries where companyId = ? and userId = ?.intcountByCommerceOrderItemId(long commerceOrderItemId) Returns the number of commerce subscription entries where commerceOrderItemId = ?.intcountByCompanyId(long companyId) Returns the number of commerce subscription entries where companyId = ?.intcountByG_C_U(long groupId, long companyId, long userId) Returns the number of commerce subscription entries where groupId = ? and companyId = ? and userId = ?.intcountByGroupId(long groupId) Returns the number of commerce subscription entries where groupId = ?.intcountBySubscriptionStatus(int subscriptionStatus) Returns the number of commerce subscription entries where subscriptionStatus = ?.intcountByUuid(String uuid) Returns the number of commerce subscription entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce subscription entries where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of commerce subscription entries where uuid = ? and groupId = ?.create(long commerceSubscriptionEntryId) Creates a new commerce subscription entry with the primary key.default CommerceSubscriptionEntryfetchByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returnsnullif it could not be found.fetchByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId, boolean useFinderCache) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where companyId = ? and userId = ?.default CommerceSubscriptionEntryfetchByCommerceOrderItemId(long commerceOrderItemId) Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnullif it could not be found.fetchByCommerceOrderItemId(long commerceOrderItemId, boolean useFinderCache) Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where companyId = ?.fetchByG_C_U_First(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where groupId = ?.fetchByPrimaryKey(long commerceSubscriptionEntryId) Returns the commerce subscription entry with the primary key or returnsnullif it could not be found.fetchBySubscriptionStatus_First(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where subscriptionStatus = ?.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where uuid = ?.default CommerceSubscriptionEntryfetchByUUID_G(String uuid, long groupId) Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or throws aNoSuchSubscriptionEntryExceptionif it could not be found.default List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId) Returns all the commerce subscription entries where companyId = ? and userId = ?.default List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, int start, int end) Returns a range of all the commerce subscription entries where companyId = ? and userId = ?.default List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where companyId = ? and userId = ?.findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where companyId = ? and userId = ?.findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where companyId = ? and userId = ?.findByCommerceOrderItemId(long commerceOrderItemId) Returns the commerce subscription entry where commerceOrderItemId = ? or throws aNoSuchSubscriptionEntryExceptionif it could not be found.default List<CommerceSubscriptionEntry> findByCompanyId(long companyId) Returns all the commerce subscription entries where companyId = ?.default List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce subscription entries where companyId = ?.default List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where companyId = ?.default List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId) Returns all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.default List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end) Returns a range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.default List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.findByG_C_U(long groupId, long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.findByG_C_U_First(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.default List<CommerceSubscriptionEntry> findByGroupId(long groupId) Returns all the commerce subscription entries where groupId = ?.default List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end) Returns a range of all the commerce subscription entries where groupId = ?.default List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where groupId = ?.findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where groupId = ?.findByPrimaryKey(long commerceSubscriptionEntryId) Returns the commerce subscription entry with the primary key or throws aNoSuchSubscriptionEntryExceptionif it could not be found.default List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus) Returns all the commerce subscription entries where subscriptionStatus = ?.default List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end) Returns a range of all the commerce subscription entries where subscriptionStatus = ?.default List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where subscriptionStatus = ?.findBySubscriptionStatus(int subscriptionStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where subscriptionStatus = ?.findBySubscriptionStatus_First(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where subscriptionStatus = ?.default List<CommerceSubscriptionEntry> findByUuid(String uuid) Returns all the commerce subscription entries where uuid = ?.default List<CommerceSubscriptionEntry> findByUuid(String uuid, int start, int end) Returns a range of all the commerce subscription entries where uuid = ?.default List<CommerceSubscriptionEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where uuid = ?.default List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId) Returns all the commerce subscription entries where uuid = ? and companyId = ?.default List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce subscription entries where uuid = ? and companyId = ?.default List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the commerce subscription entry where uuid = ? and groupId = ? or throws aNoSuchSubscriptionEntryExceptionif it could not be found.remove(long commerceSubscriptionEntryId) Removes the commerce subscription entry with the primary key from the database.removeByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Removes the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? from the database.voidremoveByC_U(long companyId, long userId) Removes all the commerce subscription entries where companyId = ? and userId = ? from the database.removeByCommerceOrderItemId(long commerceOrderItemId) Removes the commerce subscription entry where commerceOrderItemId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the commerce subscription entries where companyId = ? from the database.voidremoveByG_C_U(long groupId, long companyId, long userId) Removes all the commerce subscription entries where groupId = ? and companyId = ? and userId = ? from the database.voidremoveByGroupId(long groupId) Removes all the commerce subscription entries where groupId = ? from the database.voidremoveBySubscriptionStatus(int subscriptionStatus) Removes all the commerce subscription entries where subscriptionStatus = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce subscription entries where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce subscription entries where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the commerce subscription entry where uuid = ? and groupId = ? from the database.updateImpl(CommerceSubscriptionEntry commerceSubscriptionEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
List<CommerceSubscriptionEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription 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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findByUuid_First
CommerceSubscriptionEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByUuid_First
CommerceSubscriptionEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByUuid
Removes all the commerce subscription entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce subscription entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce subscription entries
-
findByUUID_G
CommerceSubscriptionEntry findByUUID_G(String uuid, long groupId) throws NoSuchSubscriptionEntryException Returns the commerce subscription entry where uuid = ? and groupId = ? or throws aNoSuchSubscriptionEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByUUID_G
Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByUUID_G
CommerceSubscriptionEntry removeByUUID_G(String uuid, long groupId) throws NoSuchSubscriptionEntryException Removes the commerce subscription entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the commerce subscription entry that was removed
- Throws:
NoSuchSubscriptionEntryException
-
countByUUID_G
Returns the number of commerce subscription entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching commerce subscription entries
-
findByUuid_C
List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription 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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findByUuid_C_First
CommerceSubscriptionEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription 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 commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByUuid_C_First
CommerceSubscriptionEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription 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 commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByUuid_C
Removes all the commerce subscription entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce subscription entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce subscription entries
-
findByGroupId
List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where groupId = ?.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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findByGroupId_First
CommerceSubscriptionEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByGroupId_First
CommerceSubscriptionEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce subscription entries where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of commerce subscription entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching commerce subscription entries
-
findByCompanyId
List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findByCompanyId_First
CommerceSubscriptionEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByCompanyId_First
CommerceSubscriptionEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the commerce subscription entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of commerce subscription entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce subscription entries
-
findByCommerceOrderItemId
CommerceSubscriptionEntry findByCommerceOrderItemId(long commerceOrderItemId) throws NoSuchSubscriptionEntryException Returns the commerce subscription entry where commerceOrderItemId = ? or throws aNoSuchSubscriptionEntryExceptionif it could not be found.- Parameters:
commerceOrderItemId- the commerce order item ID- Returns:
- the matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByCommerceOrderItemId
CommerceSubscriptionEntry fetchByCommerceOrderItemId(long commerceOrderItemId, boolean useFinderCache) Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceOrderItemId- the commerce order item IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByCommerceOrderItemId
CommerceSubscriptionEntry removeByCommerceOrderItemId(long commerceOrderItemId) throws NoSuchSubscriptionEntryException Removes the commerce subscription entry where commerceOrderItemId = ? from the database.- Parameters:
commerceOrderItemId- the commerce order item ID- Returns:
- the commerce subscription entry that was removed
- Throws:
NoSuchSubscriptionEntryException
-
countByCommerceOrderItemId
int countByCommerceOrderItemId(long commerceOrderItemId) Returns the number of commerce subscription entries where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId- the commerce order item ID- Returns:
- the number of matching commerce subscription entries
-
findBySubscriptionStatus
List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where subscriptionStatus = ?.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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
subscriptionStatus- the subscription statusstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findBySubscriptionStatus_First
CommerceSubscriptionEntry findBySubscriptionStatus_First(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription entry in the ordered set where subscriptionStatus = ?.- Parameters:
subscriptionStatus- the subscription statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchBySubscriptionStatus_First
CommerceSubscriptionEntry fetchBySubscriptionStatus_First(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where subscriptionStatus = ?.- Parameters:
subscriptionStatus- the subscription statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeBySubscriptionStatus
void removeBySubscriptionStatus(int subscriptionStatus) Removes all the commerce subscription entries where subscriptionStatus = ? from the database.- Parameters:
subscriptionStatus- the subscription status
-
countBySubscriptionStatus
int countBySubscriptionStatus(int subscriptionStatus) Returns the number of commerce subscription entries where subscriptionStatus = ?.- Parameters:
subscriptionStatus- the subscription status- Returns:
- the number of matching commerce subscription entries
-
findByC_U
List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findByC_U_First
CommerceSubscriptionEntry findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription entry in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByC_U_First
CommerceSubscriptionEntry fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the commerce subscription entries where companyId = ? and userId = ? from the database.- Parameters:
companyId- the company IDuserId- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of commerce subscription entries where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching commerce subscription entries
-
findByG_C_U
List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription 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 commerce subscription entries
-
findByG_C_U_First
CommerceSubscriptionEntry findByG_C_U_First(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the first commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByG_C_U_First
CommerceSubscriptionEntry fetchByG_C_U_First(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the first commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByG_C_U
void removeByG_C_U(long groupId, long companyId, long userId) Removes all the commerce subscription entries where groupId = ? and companyId = ? and userId = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user ID
-
countByG_C_U
int countByG_C_U(long groupId, long companyId, long userId) Returns the number of commerce subscription entries where groupId = ? and companyId = ? and userId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user ID- Returns:
- the number of matching commerce subscription entries
-
findByC_C_C
CommerceSubscriptionEntry findByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) throws NoSuchSubscriptionEntryException Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or throws aNoSuchSubscriptionEntryExceptionif it could not be found.- Parameters:
CPInstanceUuid- the cp instance uuidCProductId- the c product IDcommerceOrderItemId- the commerce order item ID- Returns:
- the matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a matching commerce subscription entry could not be found
-
fetchByC_C_C
CommerceSubscriptionEntry fetchByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId, boolean useFinderCache) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPInstanceUuid- the cp instance uuidCProductId- the c product IDcommerceOrderItemId- the commerce order item IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
removeByC_C_C
CommerceSubscriptionEntry removeByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) throws NoSuchSubscriptionEntryException Removes the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? from the database.- Parameters:
CPInstanceUuid- the cp instance uuidCProductId- the c product IDcommerceOrderItemId- the commerce order item ID- Returns:
- the commerce subscription entry that was removed
- Throws:
NoSuchSubscriptionEntryException
-
countByC_C_C
Returns the number of commerce subscription entries where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ?.- Parameters:
CPInstanceUuid- the cp instance uuidCProductId- the c product IDcommerceOrderItemId- the commerce order item ID- Returns:
- the number of matching commerce subscription entries
-
create
Creates a new commerce subscription entry with the primary key. Does not add the commerce subscription entry to the database.- Parameters:
commerceSubscriptionEntryId- the primary key for the new commerce subscription entry- Returns:
- the new commerce subscription entry
-
remove
CommerceSubscriptionEntry remove(long commerceSubscriptionEntryId) throws NoSuchSubscriptionEntryException Removes the commerce subscription entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceSubscriptionEntryId- the primary key of the commerce subscription entry- Returns:
- the commerce subscription entry that was removed
- Throws:
NoSuchSubscriptionEntryException- if a commerce subscription entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceSubscriptionEntry findByPrimaryKey(long commerceSubscriptionEntryId) throws NoSuchSubscriptionEntryException Returns the commerce subscription entry with the primary key or throws aNoSuchSubscriptionEntryExceptionif it could not be found.- Parameters:
commerceSubscriptionEntryId- the primary key of the commerce subscription entry- Returns:
- the commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException- if a commerce subscription entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce subscription entry with the primary key or returnsnullif it could not be found.- Parameters:
commerceSubscriptionEntryId- the primary key of the commerce subscription entry- Returns:
- the commerce subscription entry, or
nullif a commerce subscription entry with the primary key could not be found
-
fetchByUUID_G
Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
fetchByCommerceOrderItemId
Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceOrderItemId- the commerce order item ID- Returns:
- the matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
fetchByC_C_C
default CommerceSubscriptionEntry fetchByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPInstanceUuid- the cp instance uuidCProductId- the c product IDcommerceOrderItemId- the commerce order item ID- Returns:
- the matching commerce subscription entry, or
nullif a matching commerce subscription entry could not be found
-
findByUuid
Returns all the commerce subscription entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce subscription entries
-
findByUuid
Returns a range of all the commerce subscription 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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findByUuid
default List<CommerceSubscriptionEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription 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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-
findByUuid_C
Returns all the commerce subscription entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce subscription entries
-
findByUuid_C
default List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce subscription 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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findByUuid_C
default List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription 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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-
findByGroupId
Returns all the commerce subscription entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching commerce subscription entries
-
findByGroupId
Returns a range of all the commerce subscription entries where groupId = ?.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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findByGroupId
default List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where groupId = ?.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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-
findByCompanyId
Returns all the commerce subscription entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce subscription entries
-
findByCompanyId
Returns a range of all the commerce subscription entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findByCompanyId
default List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-
findBySubscriptionStatus
Returns all the commerce subscription entries where subscriptionStatus = ?.- Parameters:
subscriptionStatus- the subscription status- Returns:
- the matching commerce subscription entries
-
findBySubscriptionStatus
default List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end) Returns a range of all the commerce subscription entries where subscriptionStatus = ?.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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
subscriptionStatus- the subscription statusstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findBySubscriptionStatus
default List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where subscriptionStatus = ?.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.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
subscriptionStatus- the subscription statusstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-
findByC_U
Returns all the commerce subscription entries where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching commerce subscription entries
-
findByC_U
Returns a range of all the commerce subscription entries where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findByC_U
default List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-
findByG_C_U
Returns all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user ID- Returns:
- the matching commerce subscription entries
-
findByG_C_U
default List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end) Returns a range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of matching commerce subscription entries
-
findByG_C_U
default List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDuserId- the user IDstart- the lower bound of the range of commerce subscription entriesend- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce subscription entries
-