Interface CommerceSubscriptionEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceSubscriptionEntry>

@ProviderType public interface CommerceSubscriptionEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceSubscriptionEntry>
The persistence interface for the commerce subscription entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the commerce subscription entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce subscription entries
    • findByUuid

      List<CommerceSubscriptionEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce subscription entries where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByUuid(String uuid)
      Removes all the commerce subscription entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      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 a NoSuchSubscriptionEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce subscription entry
      Throws:
      NoSuchSubscriptionEntryException - if a matching commerce subscription entry could not be found
    • fetchByUUID_G

      CommerceSubscriptionEntry fetchByUUID_G(String uuid, long groupId)
      Returns the commerce subscription entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce subscription entry, or null if a matching commerce subscription entry could not be found
    • fetchByUUID_G

      CommerceSubscriptionEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce subscription entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 uuid
      groupId - the group ID
      Returns:
      the commerce subscription entry that was removed
      Throws:
      NoSuchSubscriptionEntryException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of commerce subscription entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce subscription entries
    • findByUuid_C

      List<CommerceSubscriptionEntry> findByUuid_C(String uuid, long companyId)
      Returns all the commerce subscription entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce subscription entries
    • findByUuid_C

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce subscription entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce subscription entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce subscription entries
    • findByGroupId

      List<CommerceSubscriptionEntry> findByGroupId(long groupId)
      Returns all the commerce subscription entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce subscription entries
    • findByGroupId

      List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce subscription entries where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceSubscriptionEntry> findByCompanyId(long companyId)
      Returns all the commerce subscription entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce subscription entries
    • findByCompanyId

      List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce subscription entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 a NoSuchSubscriptionEntryException 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

      CommerceSubscriptionEntry fetchByCommerceOrderItemId(long commerceOrderItemId)
      Returns the commerce subscription entry where commerceOrderItemId = ? or returns null 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceOrderItemId - the commerce order item ID
      useFinderCache - 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

      List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      subscriptionStatus - the subscription status
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      subscriptionStatus - the subscription status
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      subscriptionStatus - the subscription status
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 status
      orderByComparator - the comparator to order the set by (optionally null)
      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 status
      orderByComparator - the comparator to order the set by (optionally null)
      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 status
      orderByComparator - the comparator to order the set by (optionally null)
      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 status
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      subscriptionStatus - the subscription status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId)
      Returns all the commerce subscription entries where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching commerce subscription entries
    • findByC_U

      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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - 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 ID
      userId - 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)
      Returns all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      userId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 entry
      groupId - the group ID
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      companyId - the company ID
      userId - 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 ID
      companyId - the company ID
      userId - 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 a NoSuchSubscriptionEntryException if it could not be found.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      commerceOrderItemId - 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      commerceOrderItemId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      commerceOrderItemId - the commerce order item ID
      useFinderCache - 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 uuid
      CProductId - the c product ID
      commerceOrderItemId - the commerce order item ID
      Returns:
      the commerce subscription entry that was removed
      Throws:
      NoSuchSubscriptionEntryException
    • countByC_C_C

      int countByC_C_C(String CPInstanceUuid, long CProductId, long commerceOrderItemId)
      Returns the number of commerce subscription entries where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      commerceOrderItemId - the commerce order item ID
      Returns:
      the number of matching commerce subscription entries
    • cacheResult

      void cacheResult(CommerceSubscriptionEntry commerceSubscriptionEntry)
      Caches the commerce subscription entry in the entity cache if it is enabled.
      Parameters:
      commerceSubscriptionEntry - the commerce subscription entry
    • cacheResult

      void cacheResult(List<CommerceSubscriptionEntry> commerceSubscriptionEntries)
      Caches the commerce subscription entries in the entity cache if it is enabled.
      Parameters:
      commerceSubscriptionEntries - the commerce subscription entries
    • create

      CommerceSubscriptionEntry create(long commerceSubscriptionEntryId)
      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

      CommerceSubscriptionEntry updateImpl(CommerceSubscriptionEntry commerceSubscriptionEntry)
    • findByPrimaryKey

      CommerceSubscriptionEntry findByPrimaryKey(long commerceSubscriptionEntryId) throws NoSuchSubscriptionEntryException
      Returns the commerce subscription entry with the primary key or throws a NoSuchSubscriptionEntryException 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

      CommerceSubscriptionEntry fetchByPrimaryKey(long commerceSubscriptionEntryId)
      Returns the commerce subscription entry with the primary key or returns null 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

      Returns all the commerce subscription entries.
      Returns:
      the commerce subscription entries
    • findAll

      List<CommerceSubscriptionEntry> findAll(int start, int end)
      Returns a range of all the commerce subscription entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce subscription entries
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce subscription entries
      end - the upper bound of the range of commerce subscription entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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