Class CommerceChannelRelLocalServiceWrapper

java.lang.Object
com.liferay.commerce.product.service.CommerceChannelRelLocalServiceWrapper
All Implemented Interfaces:
CommerceChannelRelLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>

public class CommerceChannelRelLocalServiceWrapper extends Object implements CommerceChannelRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>
Provides a wrapper for CommerceChannelRelLocalService.
See Also:
Generated:
  • Constructor Details

    • CommerceChannelRelLocalServiceWrapper

      public CommerceChannelRelLocalServiceWrapper()
    • CommerceChannelRelLocalServiceWrapper

      public CommerceChannelRelLocalServiceWrapper(CommerceChannelRelLocalService commerceChannelRelLocalService)
  • Method Details

    • addCommerceChannelRel

      public CommerceChannelRel addCommerceChannelRel(CommerceChannelRel commerceChannelRel)
      Adds the commerce channel rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceChannelRelLocalServiceImpl 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:
      addCommerceChannelRel in interface CommerceChannelRelLocalService
      Parameters:
      commerceChannelRel - the commerce channel rel
      Returns:
      the commerce channel rel that was added
    • addCommerceChannelRel

      public CommerceChannelRel addCommerceChannelRel(String className, long classPK, long commerceChannelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommerceChannelRel in interface CommerceChannelRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceChannelRels

      public List<CommerceChannelRel> addCommerceChannelRels(String className, long[] classPKs, long commerceChannelId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      addCommerceChannelRels in interface CommerceChannelRelLocalService
    • createCommerceChannelRel

      public CommerceChannelRel createCommerceChannelRel(long commerceChannelRelId)
      Creates a new commerce channel rel with the primary key. Does not add the commerce channel rel to the database.
      Specified by:
      createCommerceChannelRel in interface CommerceChannelRelLocalService
      Parameters:
      commerceChannelRelId - the primary key for the new commerce channel rel
      Returns:
      the new commerce channel rel
    • createPersistedModel

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

      public CommerceChannelRel deleteCommerceChannelRel(CommerceChannelRel commerceChannelRel)
      Deletes the commerce channel rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceChannelRelLocalServiceImpl 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:
      deleteCommerceChannelRel in interface CommerceChannelRelLocalService
      Parameters:
      commerceChannelRel - the commerce channel rel
      Returns:
      the commerce channel rel that was removed
    • deleteCommerceChannelRel

      public CommerceChannelRel deleteCommerceChannelRel(long commerceChannelRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce channel rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceChannelRelLocalServiceImpl 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:
      deleteCommerceChannelRel in interface CommerceChannelRelLocalService
      Parameters:
      commerceChannelRelId - the primary key of the commerce channel rel
      Returns:
      the commerce channel rel that was removed
      Throws:
      PortalException - if a commerce channel rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceChannelRels

      public void deleteCommerceChannelRels(long commerceChannelId)
      Specified by:
      deleteCommerceChannelRels in interface CommerceChannelRelLocalService
    • deleteCommerceChannelRels

      public void deleteCommerceChannelRels(String className, long classPK)
      Specified by:
      deleteCommerceChannelRels in interface CommerceChannelRelLocalService
    • 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 CommerceChannelRelLocalService
      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 CommerceChannelRelLocalService
      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 CommerceChannelRelLocalService
      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 CommerceChannelRelLocalService
    • 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 CommerceChannelRelLocalService
      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.product.model.impl.CommerceChannelRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceChannelRelLocalService
      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.product.model.impl.CommerceChannelRelModelImpl.

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

      public CommerceChannelRel fetchCommerceChannelRel(long commerceChannelRelId)
      Specified by:
      fetchCommerceChannelRel in interface CommerceChannelRelLocalService
    • fetchCommerceChannelRel

      public CommerceChannelRel fetchCommerceChannelRel(String className, long classPK, long commerceChannelId)
      Specified by:
      fetchCommerceChannelRel in interface CommerceChannelRelLocalService
    • getActionableDynamicQuery

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

      public List<CommerceChannelRel> getCommerceChannelCountries(long commerceChannelId, String name, int start, int end)
      Specified by:
      getCommerceChannelCountries in interface CommerceChannelRelLocalService
    • getCommerceChannelCountriesCount

      public int getCommerceChannelCountriesCount(long commerceChannelId, String name)
      Specified by:
      getCommerceChannelCountriesCount in interface CommerceChannelRelLocalService
    • getCommerceChannelRel

      public CommerceChannelRel getCommerceChannelRel(long commerceChannelRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce channel rel with the primary key.
      Specified by:
      getCommerceChannelRel in interface CommerceChannelRelLocalService
      Parameters:
      commerceChannelRelId - the primary key of the commerce channel rel
      Returns:
      the commerce channel rel
      Throws:
      PortalException - if a commerce channel rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceChannelRels

      public List<CommerceChannelRel> getCommerceChannelRels(int start, int end)
      Returns a range of all the commerce channel 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.product.model.impl.CommerceChannelRelModelImpl.

      Specified by:
      getCommerceChannelRels in interface CommerceChannelRelLocalService
      Parameters:
      start - the lower bound of the range of commerce channel rels
      end - the upper bound of the range of commerce channel rels (not inclusive)
      Returns:
      the range of commerce channel rels
    • getCommerceChannelRels

      public List<CommerceChannelRel> getCommerceChannelRels(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
      Specified by:
      getCommerceChannelRels in interface CommerceChannelRelLocalService
    • getCommerceChannelRels

      public List<CommerceChannelRel> getCommerceChannelRels(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
      Specified by:
      getCommerceChannelRels in interface CommerceChannelRelLocalService
    • getCommerceChannelRels

      public List<CommerceChannelRel> getCommerceChannelRels(String className, long classPK, String name, int start, int end)
      Specified by:
      getCommerceChannelRels in interface CommerceChannelRelLocalService
    • getCommerceChannelRelsCount

      public int getCommerceChannelRelsCount()
      Returns the number of commerce channel rels.
      Specified by:
      getCommerceChannelRelsCount in interface CommerceChannelRelLocalService
      Returns:
      the number of commerce channel rels
    • getCommerceChannelRelsCount

      public int getCommerceChannelRelsCount(long commerceChannelId)
      Specified by:
      getCommerceChannelRelsCount in interface CommerceChannelRelLocalService
    • getCommerceChannelRelsCount

      public int getCommerceChannelRelsCount(String className, long classPK)
      Specified by:
      getCommerceChannelRelsCount in interface CommerceChannelRelLocalService
    • getCommerceChannelRelsCount

      public int getCommerceChannelRelsCount(String className, long classPK, String name)
      Specified by:
      getCommerceChannelRelsCount in interface CommerceChannelRelLocalService
    • getIndexableActionableDynamicQuery

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

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

      public CommerceChannelRel updateCommerceChannelRel(CommerceChannelRel commerceChannelRel)
      Updates the commerce channel rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommerceChannelRelLocalServiceImpl 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:
      updateCommerceChannelRel in interface CommerceChannelRelLocalService
      Parameters:
      commerceChannelRel - the commerce channel rel
      Returns:
      the commerce channel rel that was updated
    • getBasePersistence

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

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel> getCTPersistence()
      Specified by:
      getCTPersistence in interface CommerceChannelRelLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
    • getModelClass

      public Class<CommerceChannelRel> getModelClass()
      Specified by:
      getModelClass in interface CommerceChannelRelLocalService
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface CommerceChannelRelLocalService
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
      Throws:
      E extends Throwable
    • getWrappedService

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

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