Class CommerceShippingOptionAccountEntryRelLocalServiceWrapper

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

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

    • CommerceShippingOptionAccountEntryRelLocalServiceWrapper

      public CommerceShippingOptionAccountEntryRelLocalServiceWrapper()
    • CommerceShippingOptionAccountEntryRelLocalServiceWrapper

      public CommerceShippingOptionAccountEntryRelLocalServiceWrapper(CommerceShippingOptionAccountEntryRelLocalService commerceShippingOptionAccountEntryRelLocalService)
  • Method Details

    • addCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel addCommerceShippingOptionAccountEntryRel(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
      Adds the commerce shipping option account entry rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingOptionAccountEntryRelLocalServiceImpl 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:
      addCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      commerceShippingOptionAccountEntryRel - the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel that was added
    • addCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel addCommerceShippingOptionAccountEntryRel(long userId, long accountEntryId, long commerceChannelId, String commerceShippingMethodKey, String commerceShippingOptionKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel createCommerceShippingOptionAccountEntryRel(long CommerceShippingOptionAccountEntryRelId)
      Creates a new commerce shipping option account entry rel with the primary key. Does not add the commerce shipping option account entry rel to the database.
      Specified by:
      createCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key for the new commerce shipping option account entry rel
      Returns:
      the new commerce shipping option account entry rel
    • createPersistedModel

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

      public CommerceShippingOptionAccountEntryRel deleteCommerceShippingOptionAccountEntryRel(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
      Deletes the commerce shipping option account entry rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingOptionAccountEntryRelLocalServiceImpl 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:
      deleteCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      commerceShippingOptionAccountEntryRel - the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel that was removed
    • deleteCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel deleteCommerceShippingOptionAccountEntryRel(long CommerceShippingOptionAccountEntryRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce shipping option account entry rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingOptionAccountEntryRelLocalServiceImpl 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:
      deleteCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel that was removed
      Throws:
      PortalException - if a commerce shipping option account entry rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceShippingOptionAccountEntryRelsByAccountEntryId

      public void deleteCommerceShippingOptionAccountEntryRelsByAccountEntryId(long accountEntryId)
      Specified by:
      deleteCommerceShippingOptionAccountEntryRelsByAccountEntryId in interface CommerceShippingOptionAccountEntryRelLocalService
    • deleteCommerceShippingOptionAccountEntryRelsByCommerceChannelId

      public void deleteCommerceShippingOptionAccountEntryRelsByCommerceChannelId(long commerceChannelId)
      Specified by:
      deleteCommerceShippingOptionAccountEntryRelsByCommerceChannelId in interface CommerceShippingOptionAccountEntryRelLocalService
    • deleteCommerceShippingOptionAccountEntryRelsByCSFixedOptionKey

      public void deleteCommerceShippingOptionAccountEntryRelsByCSFixedOptionKey(String commerceShippingFixedOptionKey)
      Specified by:
      deleteCommerceShippingOptionAccountEntryRelsByCSFixedOptionKey in interface CommerceShippingOptionAccountEntryRelLocalService
    • 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 CommerceShippingOptionAccountEntryRelLocalService
      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 CommerceShippingOptionAccountEntryRelLocalService
      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 CommerceShippingOptionAccountEntryRelLocalService
      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 CommerceShippingOptionAccountEntryRelLocalService
    • 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 CommerceShippingOptionAccountEntryRelLocalService
      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.model.impl.CommerceShippingOptionAccountEntryRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceShippingOptionAccountEntryRelLocalService
      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.model.impl.CommerceShippingOptionAccountEntryRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceShippingOptionAccountEntryRelLocalService
      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 CommerceShippingOptionAccountEntryRelLocalService
      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 CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel fetchCommerceShippingOptionAccountEntryRel(long CommerceShippingOptionAccountEntryRelId)
      Specified by:
      fetchCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
    • fetchCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel fetchCommerceShippingOptionAccountEntryRel(long accountEntryId, long commerceChannelId)
      Specified by:
      fetchCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
    • getActionableDynamicQuery

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

      public CommerceShippingOptionAccountEntryRel getCommerceShippingOptionAccountEntryRel(long CommerceShippingOptionAccountEntryRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce shipping option account entry rel with the primary key.
      Specified by:
      getCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel
      Throws:
      PortalException - if a commerce shipping option account entry rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceShippingOptionAccountEntryRels

      public List<CommerceShippingOptionAccountEntryRel> getCommerceShippingOptionAccountEntryRels(int start, int end)
      Returns a range of all the commerce shipping option account entry rels.

      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.model.impl.CommerceShippingOptionAccountEntryRelModelImpl.

      Specified by:
      getCommerceShippingOptionAccountEntryRels in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      Returns:
      the range of commerce shipping option account entry rels
    • getCommerceShippingOptionAccountEntryRels

      public List<CommerceShippingOptionAccountEntryRel> getCommerceShippingOptionAccountEntryRels(long accountEntryId)
      Specified by:
      getCommerceShippingOptionAccountEntryRels in interface CommerceShippingOptionAccountEntryRelLocalService
    • getCommerceShippingOptionAccountEntryRelsCount

      public int getCommerceShippingOptionAccountEntryRelsCount()
      Returns the number of commerce shipping option account entry rels.
      Specified by:
      getCommerceShippingOptionAccountEntryRelsCount in interface CommerceShippingOptionAccountEntryRelLocalService
      Returns:
      the number of commerce shipping option account entry rels
    • getCommerceShippingOptionAccountEntryRelsCount

      public int getCommerceShippingOptionAccountEntryRelsCount(long accountEntryId)
      Specified by:
      getCommerceShippingOptionAccountEntryRelsCount in interface CommerceShippingOptionAccountEntryRelLocalService
    • getIndexableActionableDynamicQuery

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

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommerceShippingOptionAccountEntryRelLocalService
      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 CommerceShippingOptionAccountEntryRelLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel updateCommerceShippingOptionAccountEntryRel(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
      Updates the commerce shipping option account entry rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingOptionAccountEntryRelLocalServiceImpl 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:
      updateCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Parameters:
      commerceShippingOptionAccountEntryRel - the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel that was updated
    • updateCommerceShippingOptionAccountEntryRel

      public CommerceShippingOptionAccountEntryRel updateCommerceShippingOptionAccountEntryRel(long commerceShippingOptionAccountEntryRelId, String commerceShippingMethodKey, String commerceShippingOptionKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommerceShippingOptionAccountEntryRel in interface CommerceShippingOptionAccountEntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

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

      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingOptionAccountEntryRelLocalService>
    • setWrappedService

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