Interface CommercePaymentEntryAuditPersistence

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

@ProviderType public interface CommercePaymentEntryAuditPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePaymentEntryAudit>
The persistence interface for the commerce payment entry audit service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCommercePaymentEntryId

      List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment entry audits where commercePaymentEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.payment.model.impl.CommercePaymentEntryAuditModelImpl.

      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      start - the lower bound of the range of commerce payment entry audits
      end - the upper bound of the range of commerce payment entry audits (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 payment entry audits
    • findByCommercePaymentEntryId_First

      CommercePaymentEntryAudit findByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
      Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry audit
      Throws:
      NoSuchPaymentEntryAuditException - if a matching commerce payment entry audit could not be found
    • fetchByCommercePaymentEntryId_First

      CommercePaymentEntryAudit fetchByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
      Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry audit, or null if a matching commerce payment entry audit could not be found
    • filterFindByCommercePaymentEntryId

      List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
      Returns an ordered range of all the commerce payment entry audits that the user has permissions to view where commercePaymentEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.payment.model.impl.CommercePaymentEntryAuditModelImpl.

      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      start - the lower bound of the range of commerce payment entry audits
      end - the upper bound of the range of commerce payment entry audits (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entry audits that the user has permission to view
    • removeByCommercePaymentEntryId

      void removeByCommercePaymentEntryId(long commercePaymentEntryId)
      Removes all the commerce payment entry audits where commercePaymentEntryId = ? from the database.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
    • countByCommercePaymentEntryId

      int countByCommercePaymentEntryId(long commercePaymentEntryId)
      Returns the number of commerce payment entry audits where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      Returns:
      the number of matching commerce payment entry audits
    • filterCountByCommercePaymentEntryId

      int filterCountByCommercePaymentEntryId(long commercePaymentEntryId)
      Returns the number of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      Returns:
      the number of matching commerce payment entry audits that the user has permission to view
    • create

      CommercePaymentEntryAudit create(long commercePaymentEntryAuditId)
      Creates a new commerce payment entry audit with the primary key. Does not add the commerce payment entry audit to the database.
      Parameters:
      commercePaymentEntryAuditId - the primary key for the new commerce payment entry audit
      Returns:
      the new commerce payment entry audit
    • remove

      CommercePaymentEntryAudit remove(long commercePaymentEntryAuditId) throws NoSuchPaymentEntryAuditException
      Removes the commerce payment entry audit with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commercePaymentEntryAuditId - the primary key of the commerce payment entry audit
      Returns:
      the commerce payment entry audit that was removed
      Throws:
      NoSuchPaymentEntryAuditException - if a commerce payment entry audit with the primary key could not be found
    • updateImpl

      CommercePaymentEntryAudit updateImpl(CommercePaymentEntryAudit commercePaymentEntryAudit)
    • findByPrimaryKey

      CommercePaymentEntryAudit findByPrimaryKey(long commercePaymentEntryAuditId) throws NoSuchPaymentEntryAuditException
      Returns the commerce payment entry audit with the primary key or throws a NoSuchPaymentEntryAuditException if it could not be found.
      Parameters:
      commercePaymentEntryAuditId - the primary key of the commerce payment entry audit
      Returns:
      the commerce payment entry audit
      Throws:
      NoSuchPaymentEntryAuditException - if a commerce payment entry audit with the primary key could not be found
    • fetchByPrimaryKey

      CommercePaymentEntryAudit fetchByPrimaryKey(long commercePaymentEntryAuditId)
      Returns the commerce payment entry audit with the primary key or returns null if it could not be found.
      Parameters:
      commercePaymentEntryAuditId - the primary key of the commerce payment entry audit
      Returns:
      the commerce payment entry audit, or null if a commerce payment entry audit with the primary key could not be found
    • findByCommercePaymentEntryId

      default List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId)
      Returns all the commerce payment entry audits where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      Returns:
      the matching commerce payment entry audits
    • findByCommercePaymentEntryId

      default List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end)
      Returns a range of all the commerce payment entry audits where commercePaymentEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.payment.model.impl.CommercePaymentEntryAuditModelImpl.

      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      start - the lower bound of the range of commerce payment entry audits
      end - the upper bound of the range of commerce payment entry audits (not inclusive)
      Returns:
      the range of matching commerce payment entry audits
    • findByCommercePaymentEntryId

      default List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
      Returns an ordered range of all the commerce payment entry audits where commercePaymentEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.payment.model.impl.CommercePaymentEntryAuditModelImpl.

      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      start - the lower bound of the range of commerce payment entry audits
      end - the upper bound of the range of commerce payment entry audits (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entry audits
    • filterFindByCommercePaymentEntryId

      default List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId)
      Returns all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      Returns:
      the matching commerce payment entry audits that the user has permission to view
    • filterFindByCommercePaymentEntryId

      default List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end)
      Returns a range of all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.payment.model.impl.CommercePaymentEntryAuditModelImpl.

      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      start - the lower bound of the range of commerce payment entry audits
      end - the upper bound of the range of commerce payment entry audits (not inclusive)
      Returns:
      the range of matching commerce payment entry audits that the user has permission to view