Class CommercePaymentEntryAuditLocalServiceWrapper

java.lang.Object
com.liferay.commerce.payment.service.CommercePaymentEntryAuditLocalServiceWrapper
All Implemented Interfaces:
CommercePaymentEntryAuditLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePaymentEntryAuditLocalService>

public class CommercePaymentEntryAuditLocalServiceWrapper extends Object implements CommercePaymentEntryAuditLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePaymentEntryAuditLocalService>
See Also:
Generated:
  • Constructor Details

    • CommercePaymentEntryAuditLocalServiceWrapper

      public CommercePaymentEntryAuditLocalServiceWrapper()
    • CommercePaymentEntryAuditLocalServiceWrapper

      public CommercePaymentEntryAuditLocalServiceWrapper(CommercePaymentEntryAuditLocalService commercePaymentEntryAuditLocalService)
  • Method Details

    • addCommercePaymentEntryAudit

      public CommercePaymentEntryAudit addCommercePaymentEntryAudit(CommercePaymentEntryAudit commercePaymentEntryAudit)
      Adds the commerce payment entry audit to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommercePaymentEntryAuditLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      addCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Parameters:
      commercePaymentEntryAudit - the commerce payment entry audit
      Returns:
      the commerce payment entry audit that was added
    • addCommercePaymentEntryAudit

      public CommercePaymentEntryAudit addCommercePaymentEntryAudit(long userId, long commercePaymentEntryId, BigDecimal amount, String currencyCode, String logType, String logTypeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommercePaymentEntryAudit

      public CommercePaymentEntryAudit createCommercePaymentEntryAudit(long commercePaymentEntryAuditId)
      Creates a new commerce payment entry audit with the primary key. Does not add the commerce payment entry audit to the database.
      Specified by:
      createCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Parameters:
      commercePaymentEntryAuditId - the primary key for the new commerce payment entry audit
      Returns:
      the new commerce payment entry audit
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface CommercePaymentEntryAuditLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePaymentEntryAudit

      public CommercePaymentEntryAudit deleteCommercePaymentEntryAudit(CommercePaymentEntryAudit commercePaymentEntryAudit)
      Deletes the commerce payment entry audit from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommercePaymentEntryAuditLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Parameters:
      commercePaymentEntryAudit - the commerce payment entry audit
      Returns:
      the commerce payment entry audit that was removed
    • deleteCommercePaymentEntryAudit

      public CommercePaymentEntryAudit deleteCommercePaymentEntryAudit(long commercePaymentEntryAuditId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce payment entry audit with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommercePaymentEntryAuditLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Parameters:
      commercePaymentEntryAuditId - the primary key of the commerce payment entry audit
      Returns:
      the commerce payment entry audit that was removed
      Throws:
      PortalException - if a commerce payment entry audit with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePaymentEntryAudits

      public void deleteCommercePaymentEntryAudits(long commercePaymentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommercePaymentEntryAudits in interface CommercePaymentEntryAuditLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface CommercePaymentEntryAuditLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface CommercePaymentEntryAuditLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface CommercePaymentEntryAuditLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface CommercePaymentEntryAuditLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface CommercePaymentEntryAuditLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      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.

      Specified by:
      dynamicQuery in interface CommercePaymentEntryAuditLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      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.

      Specified by:
      dynamicQuery in interface CommercePaymentEntryAuditLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface CommercePaymentEntryAuditLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface CommercePaymentEntryAuditLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommercePaymentEntryAudit

      public CommercePaymentEntryAudit fetchCommercePaymentEntryAudit(long commercePaymentEntryAuditId)
      Specified by:
      fetchCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface CommercePaymentEntryAuditLocalService
    • getCommercePaymentEntryAudit

      public CommercePaymentEntryAudit getCommercePaymentEntryAudit(long commercePaymentEntryAuditId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce payment entry audit with the primary key.
      Specified by:
      getCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Parameters:
      commercePaymentEntryAuditId - the primary key of the commerce payment entry audit
      Returns:
      the commerce payment entry audit
      Throws:
      PortalException - if a commerce payment entry audit with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentEntryAudits

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

      Specified by:
      getCommercePaymentEntryAudits in interface CommercePaymentEntryAuditLocalService
      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
    • getCommercePaymentEntryAudits

      public List<CommercePaymentEntryAudit> getCommercePaymentEntryAudits(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
      Specified by:
      getCommercePaymentEntryAudits in interface CommercePaymentEntryAuditLocalService
    • getCommercePaymentEntryAuditsCount

      public int getCommercePaymentEntryAuditsCount()
      Returns the number of commerce payment entry audits.
      Specified by:
      getCommercePaymentEntryAuditsCount in interface CommercePaymentEntryAuditLocalService
      Returns:
      the number of commerce payment entry audits
    • getCommercePaymentEntryAuditsCount

      public int getCommercePaymentEntryAuditsCount(long commercePaymentEntryId)
      Specified by:
      getCommercePaymentEntryAuditsCount in interface CommercePaymentEntryAuditLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface CommercePaymentEntryAuditLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommercePaymentEntryAuditLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface CommercePaymentEntryAuditLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • searchCommercePaymentEntryAudits

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePaymentEntryAudit> searchCommercePaymentEntryAudits(long companyId, String keywords, LinkedHashMap<String,Object> params, int start, int end, String orderByField, boolean reverse)
      Specified by:
      searchCommercePaymentEntryAudits in interface CommercePaymentEntryAuditLocalService
    • updateCommercePaymentEntryAudit

      public CommercePaymentEntryAudit updateCommercePaymentEntryAudit(CommercePaymentEntryAudit commercePaymentEntryAudit)
      Updates the commerce payment entry audit in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommercePaymentEntryAuditLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      updateCommercePaymentEntryAudit in interface CommercePaymentEntryAuditLocalService
      Parameters:
      commercePaymentEntryAudit - the commerce payment entry audit
      Returns:
      the commerce payment entry audit that was updated
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

      public CommercePaymentEntryAuditLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePaymentEntryAuditLocalService>
    • setWrappedService

      public void setWrappedService(CommercePaymentEntryAuditLocalService commercePaymentEntryAuditLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePaymentEntryAuditLocalService>