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 TypeMethodDescriptionvoid
cacheResult
(CommerceSubscriptionEntry commerceSubscriptionEntry) Caches the commerce subscription entry in the entity cache if it is enabled.void
cacheResult
(List<CommerceSubscriptionEntry> commerceSubscriptionEntries) Caches the commerce subscription entries in the entity cache if it is enabled.int
countAll()
Returns the number of commerce subscription entries.int
countByC_C_C
(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the number of commerce subscription entries where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ?.int
countByC_U
(long companyId, long userId) Returns the number of commerce subscription entries where companyId = ? and userId = ?.int
countByCommerceOrderItemId
(long commerceOrderItemId) Returns the number of commerce subscription entries where commerceOrderItemId = ?.int
countByCompanyId
(long companyId) Returns the number of commerce subscription entries where companyId = ?.int
countByG_C_U
(long groupId, long companyId, long userId) Returns the number of commerce subscription entries where groupId = ? and companyId = ? and userId = ?.int
countByGroupId
(long groupId) Returns the number of commerce subscription entries where groupId = ?.int
countBySubscriptionStatus
(int subscriptionStatus) Returns the number of commerce subscription entries where subscriptionStatus = ?.int
countByUuid
(String uuid) Returns the number of commerce subscription entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce subscription entries where uuid = ? and companyId = ?.int
countByUUID_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.fetchByC_C_C
(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returnsnull
if 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 returnsnull
if 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 = ?.fetchByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where companyId = ? and userId = ?.fetchByCommerceOrderItemId
(long commerceOrderItemId) Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnull
if it could not be found.fetchByCommerceOrderItemId
(long commerceOrderItemId, boolean useFinderCache) Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnull
if 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 = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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 = ?.fetchByG_C_U_Last
(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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 = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where groupId = ?.fetchByPrimaryKey
(long commerceSubscriptionEntryId) Returns the commerce subscription entry with the primary key or returnsnull
if 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 = ?.fetchBySubscriptionStatus_Last
(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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 = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where uuid = ?.findAll()
Returns all the commerce subscription entries.findAll
(int start, int end) Returns a range of all the commerce subscription entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries.findByC_C_C
(String CPInstanceUuid, long CProductId, long commerceOrderItemId) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or throws aNoSuchSubscriptionEntryException
if it could not be found.findByC_U
(long companyId, long userId) Returns all the commerce subscription entries where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end) Returns a 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) 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 = ?.findByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where companyId = ? and userId = ?.findByC_U_PrevAndNext
(long commerceSubscriptionEntryId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where companyId = ? and userId = ?.findByCommerceOrderItemId
(long commerceOrderItemId) Returns the commerce subscription entry where commerceOrderItemId = ? or throws aNoSuchSubscriptionEntryException
if it could not be found.findByCompanyId
(long companyId) Returns all the commerce subscription entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce subscription entries where companyId = ?.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 = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long commerceSubscriptionEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where companyId = ?.findByG_C_U
(long groupId, long companyId, long userId) Returns all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.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 = ?.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 = ?.findByG_C_U_Last
(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.findByG_C_U_PrevAndNext
(long commerceSubscriptionEntryId, long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.findByGroupId
(long groupId) Returns all the commerce subscription entries where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce subscription entries where groupId = ?.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 = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long commerceSubscriptionEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = ?.findByPrimaryKey
(long commerceSubscriptionEntryId) Returns the commerce subscription entry with the primary key or throws aNoSuchSubscriptionEntryException
if it could not be found.findBySubscriptionStatus
(int subscriptionStatus) Returns all the commerce subscription entries where subscriptionStatus = ?.findBySubscriptionStatus
(int subscriptionStatus, int start, int end) Returns a range of all the commerce subscription entries where subscriptionStatus = ?.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 = ?.findBySubscriptionStatus_Last
(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where subscriptionStatus = ?.findBySubscriptionStatus_PrevAndNext
(long commerceSubscriptionEntryId, int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where subscriptionStatus = ?.findByUuid
(String uuid) Returns all the commerce subscription entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce subscription entries where uuid = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce subscription entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a 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) 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long commerceSubscriptionEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current 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 aNoSuchSubscriptionEntryException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceSubscriptionEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where uuid = ?.remove
(long commerceSubscriptionEntryId) Removes the commerce subscription entry with the primary key from the database.void
Removes all the commerce subscription entries 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.void
removeByC_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.void
removeByCompanyId
(long companyId) Removes all the commerce subscription entries where companyId = ? from the database.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.void
removeByGroupId
(long groupId) Removes all the commerce subscription entries where groupId = ? from the database.void
removeBySubscriptionStatus
(int subscriptionStatus) Removes all the commerce subscription entries where subscriptionStatus = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce subscription entries where uuid = ? from the database.void
removeByUuid_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
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, 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 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findByUuid_Last
CommerceSubscriptionEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last commerce subscription entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchByUuid_Last
CommerceSubscriptionEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findByUuid_PrevAndNext
CommerceSubscriptionEntry[] findByUuid_PrevAndNext(long commerceSubscriptionEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where uuid = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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 aNoSuchSubscriptionEntryException
if 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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
fetchByUUID_G
Returns the commerce subscription entry where uuid = ? and groupId = ? or returnsnull
if 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
null
if 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
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
Returns a range of all the commerce subscription entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findByUuid_C_Last
CommerceSubscriptionEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last 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 last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchByUuid_C_Last
CommerceSubscriptionEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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 last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findByUuid_C_PrevAndNext
CommerceSubscriptionEntry[] findByUuid_C_PrevAndNext(long commerceSubscriptionEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findByGroupId_Last
CommerceSubscriptionEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last commerce subscription entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchByGroupId_Last
CommerceSubscriptionEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findByGroupId_PrevAndNext
CommerceSubscriptionEntry[] findByGroupId_PrevAndNext(long commerceSubscriptionEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findByCompanyId_Last
CommerceSubscriptionEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last commerce subscription entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchByCompanyId_Last
CommerceSubscriptionEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findByCompanyId_PrevAndNext
CommerceSubscriptionEntry[] findByCompanyId_PrevAndNext(long commerceSubscriptionEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where companyId = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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 aNoSuchSubscriptionEntryException
if 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
Returns the commerce subscription entry where commerceOrderItemId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commerceOrderItemId
- the commerce order item ID- Returns:
- the matching commerce subscription entry, or
null
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 returnsnull
if 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
null
if 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
Returns all the commerce subscription entries where subscriptionStatus = ?.- Parameters:
subscriptionStatus
- the subscription status- Returns:
- the matching commerce subscription entries
-
findBySubscriptionStatus
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findBySubscriptionStatus_Last
CommerceSubscriptionEntry findBySubscriptionStatus_Last(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last commerce subscription entry in the ordered set where subscriptionStatus = ?.- Parameters:
subscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchBySubscriptionStatus_Last
CommerceSubscriptionEntry fetchBySubscriptionStatus_Last(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last commerce subscription entry in the ordered set where subscriptionStatus = ?.- Parameters:
subscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findBySubscriptionStatus_PrevAndNext
CommerceSubscriptionEntry[] findBySubscriptionStatus_PrevAndNext(long commerceSubscriptionEntryId, int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where subscriptionStatus = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrysubscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findByC_U_Last
CommerceSubscriptionEntry findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last 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 last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchByC_U_Last
CommerceSubscriptionEntry fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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 last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findByC_U_PrevAndNext
CommerceSubscriptionEntry[] findByC_U_PrevAndNext(long commerceSubscriptionEntryId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where companyId = ? and userId = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrycompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- 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
null
if a matching commerce subscription entry could not be found
-
findByG_C_U_Last
CommerceSubscriptionEntry findByG_C_U_Last(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the last 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 last matching commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be found
-
fetchByG_C_U_Last
CommerceSubscriptionEntry fetchByG_C_U_Last(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns the last 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 last matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
findByG_C_U_PrevAndNext
CommerceSubscriptionEntry[] findByG_C_U_PrevAndNext(long commerceSubscriptionEntryId, long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.- Parameters:
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrygroupId
- the group IDcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce subscription entry
- Throws:
NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key 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 aNoSuchSubscriptionEntryException
if 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) Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returnsnull
if 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
null
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 returnsnull
if 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
null
if 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
-
cacheResult
Caches the commerce subscription entry in the entity cache if it is enabled.- Parameters:
commerceSubscriptionEntry
- the commerce subscription entry
-
cacheResult
Caches the commerce subscription entries in the entity cache if it is enabled.- Parameters:
commerceSubscriptionEntries
- the 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 aNoSuchSubscriptionEntryException
if 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 returnsnull
if it could not be found.- Parameters:
commerceSubscriptionEntryId
- the primary key of the commerce subscription entry- Returns:
- the commerce subscription entry, or
null
if a commerce subscription entry with the primary key could not be found
-
findAll
List<CommerceSubscriptionEntry> findAll()Returns all the commerce subscription entries.- Returns:
- the commerce subscription entries
-
findAll
Returns a range of all the commerce subscription entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- Parameters:
start
- 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 commerce subscription entries
-
findAll
List<CommerceSubscriptionEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns an ordered range of all the commerce subscription entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- Parameters:
start
- 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 commerce subscription entries
-
findAll
List<CommerceSubscriptionEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce subscription entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceSubscriptionEntryModelImpl
.- Parameters:
start
- 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 commerce subscription entries
-
removeAll
void removeAll()Removes all the commerce subscription entries from the database. -
countAll
int countAll()Returns the number of commerce subscription entries.- Returns:
- the number of commerce subscription entries
-