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)
      Returns all the commerce payment entry audits where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryId - the commerce payment entry ID
      Returns:
      the matching commerce payment entry audits
    • findByCommercePaymentEntryId

      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 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 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

      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 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 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
    • 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 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 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
    • findByCommercePaymentEntryId_Last

      CommercePaymentEntryAudit findByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
      Returns the last 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 last matching commerce payment entry audit
      Throws:
      NoSuchPaymentEntryAuditException - if a matching commerce payment entry audit could not be found
    • fetchByCommercePaymentEntryId_Last

      CommercePaymentEntryAudit fetchByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
      Returns the last 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 last matching commerce payment entry audit, or null if a matching commerce payment entry audit could not be found
    • findByCommercePaymentEntryId_PrevAndNext

      CommercePaymentEntryAudit[] findByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
      Returns the commerce payment entry audits before and after the current commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryAuditId - the primary key of the current commerce payment entry audit
      commercePaymentEntryId - the commerce payment entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry audit
      Throws:
      NoSuchPaymentEntryAuditException - if a commerce payment entry audit with the primary key could not be found
    • filterFindByCommercePaymentEntryId

      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

      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 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 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
    • 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 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 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
    • filterFindByCommercePaymentEntryId_PrevAndNext

      CommercePaymentEntryAudit[] filterFindByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
      Returns the commerce payment entry audits before and after the current commerce payment entry audit in the ordered set of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.
      Parameters:
      commercePaymentEntryAuditId - the primary key of the current commerce payment entry audit
      commercePaymentEntryId - the commerce payment entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry audit
      Throws:
      NoSuchPaymentEntryAuditException - if a commerce payment entry audit with the primary key could not be found
    • 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
    • cacheResult

      void cacheResult(CommercePaymentEntryAudit commercePaymentEntryAudit)
      Caches the commerce payment entry audit in the entity cache if it is enabled.
      Parameters:
      commercePaymentEntryAudit - the commerce payment entry audit
    • cacheResult

      void cacheResult(List<CommercePaymentEntryAudit> commercePaymentEntryAudits)
      Caches the commerce payment entry audits in the entity cache if it is enabled.
      Parameters:
      commercePaymentEntryAudits - the commerce payment entry audits
    • 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
    • findAll

      Returns all the commerce payment entry audits.
      Returns:
      the commerce payment entry audits
    • findAll

      List<CommercePaymentEntryAudit> findAll(int start, int end)
      Returns a range of all the commerce payment entry audits.

      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 CommercePaymentEntryAuditModelImpl.

      Parameters:
      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 commerce payment entry audits
    • findAll

      List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
      Returns an ordered range of all the commerce payment entry audits.

      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 CommercePaymentEntryAuditModelImpl.

      Parameters:
      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 commerce payment entry audits
    • findAll

      List<CommercePaymentEntryAudit> findAll(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.

      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 CommercePaymentEntryAuditModelImpl.

      Parameters:
      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 commerce payment entry audits
    • removeAll

      void removeAll()
      Removes all the commerce payment entry audits from the database.
    • countAll

      int countAll()
      Returns the number of commerce payment entry audits.
      Returns:
      the number of commerce payment entry audits