Class COREntryRelLocalServiceWrapper

java.lang.Object
com.liferay.commerce.order.rule.service.COREntryRelLocalServiceWrapper
All Implemented Interfaces:
COREntryRelLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<COREntryRelLocalService>

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

    • COREntryRelLocalServiceWrapper

      public COREntryRelLocalServiceWrapper()
    • COREntryRelLocalServiceWrapper

      public COREntryRelLocalServiceWrapper(COREntryRelLocalService corEntryRelLocalService)
  • Method Details

    • addCOREntryRel

      public COREntryRel addCOREntryRel(COREntryRel corEntryRel)
      Adds the cor entry rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect COREntryRelLocalServiceImpl 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:
      addCOREntryRel in interface COREntryRelLocalService
      Parameters:
      corEntryRel - the cor entry rel
      Returns:
      the cor entry rel that was added
    • addCOREntryRel

      public COREntryRel addCOREntryRel(long userId, String className, long classPK, long corEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCOREntryRel in interface COREntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCOREntryRel

      public COREntryRel createCOREntryRel(long COREntryRelId)
      Creates a new cor entry rel with the primary key. Does not add the cor entry rel to the database.
      Specified by:
      createCOREntryRel in interface COREntryRelLocalService
      Parameters:
      COREntryRelId - the primary key for the new cor entry rel
      Returns:
      the new cor 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 COREntryRelLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCOREntryRel

      public COREntryRel deleteCOREntryRel(COREntryRel corEntryRel) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the cor entry rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect COREntryRelLocalServiceImpl 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:
      deleteCOREntryRel in interface COREntryRelLocalService
      Parameters:
      corEntryRel - the cor entry rel
      Returns:
      the cor entry rel that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCOREntryRel

      public COREntryRel deleteCOREntryRel(long COREntryRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the cor entry rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect COREntryRelLocalServiceImpl 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:
      deleteCOREntryRel in interface COREntryRelLocalService
      Parameters:
      COREntryRelId - the primary key of the cor entry rel
      Returns:
      the cor entry rel that was removed
      Throws:
      PortalException - if a cor entry rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCOREntryRels

      public void deleteCOREntryRels(long corEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCOREntryRels in interface COREntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCOREntryRels

      public void deleteCOREntryRels(String className, long corEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCOREntryRels in interface COREntryRelLocalService
      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 COREntryRelLocalService
      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 COREntryRelLocalService
      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 COREntryRelLocalService
      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 COREntryRelLocalService
    • 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 COREntryRelLocalService
      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.order.rule.model.impl.COREntryRelModelImpl.

      Specified by:
      dynamicQuery in interface COREntryRelLocalService
      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.order.rule.model.impl.COREntryRelModelImpl.

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

      public COREntryRel fetchCOREntryRel(long COREntryRelId)
      Specified by:
      fetchCOREntryRel in interface COREntryRelLocalService
    • fetchCOREntryRel

      public COREntryRel fetchCOREntryRel(String className, long classPK, long corEntryId)
      Specified by:
      fetchCOREntryRel in interface COREntryRelLocalService
    • getAccountEntryCOREntryRels

      public List<COREntryRel> getAccountEntryCOREntryRels(long corEntryId, String keywords, int start, int end)
      Specified by:
      getAccountEntryCOREntryRels in interface COREntryRelLocalService
    • getAccountEntryCOREntryRelsCount

      public int getAccountEntryCOREntryRelsCount(long corEntryId, String keywords)
      Specified by:
      getAccountEntryCOREntryRelsCount in interface COREntryRelLocalService
    • getAccountGroupCOREntryRels

      public List<COREntryRel> getAccountGroupCOREntryRels(long corEntryId, String keywords, int start, int end)
      Specified by:
      getAccountGroupCOREntryRels in interface COREntryRelLocalService
    • getAccountGroupCOREntryRelsCount

      public int getAccountGroupCOREntryRelsCount(long corEntryId, String keywords)
      Specified by:
      getAccountGroupCOREntryRelsCount in interface COREntryRelLocalService
    • getActionableDynamicQuery

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

      public List<COREntryRel> getCommerceChannelCOREntryRels(long corEntryId, String keywords, int start, int end)
      Specified by:
      getCommerceChannelCOREntryRels in interface COREntryRelLocalService
    • getCommerceChannelCOREntryRelsCount

      public int getCommerceChannelCOREntryRelsCount(long corEntryId, String keywords)
      Specified by:
      getCommerceChannelCOREntryRelsCount in interface COREntryRelLocalService
    • getCommerceOrderTypeCOREntryRels

      public List<COREntryRel> getCommerceOrderTypeCOREntryRels(long corEntryId, String keywords, int start, int end)
      Specified by:
      getCommerceOrderTypeCOREntryRels in interface COREntryRelLocalService
    • getCommerceOrderTypeCOREntryRelsCount

      public int getCommerceOrderTypeCOREntryRelsCount(long corEntryId, String keywords)
      Specified by:
      getCommerceOrderTypeCOREntryRelsCount in interface COREntryRelLocalService
    • getCOREntryRel

      public COREntryRel getCOREntryRel(long COREntryRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the cor entry rel with the primary key.
      Specified by:
      getCOREntryRel in interface COREntryRelLocalService
      Parameters:
      COREntryRelId - the primary key of the cor entry rel
      Returns:
      the cor entry rel
      Throws:
      PortalException - if a cor entry rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCOREntryRels

      public List<COREntryRel> getCOREntryRels(int start, int end)
      Returns a range of all the cor 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.order.rule.model.impl.COREntryRelModelImpl.

      Specified by:
      getCOREntryRels in interface COREntryRelLocalService
      Parameters:
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      Returns:
      the range of cor entry rels
    • getCOREntryRels

      public List<COREntryRel> getCOREntryRels(long corEntryId)
      Specified by:
      getCOREntryRels in interface COREntryRelLocalService
    • getCOREntryRels

      public List<COREntryRel> getCOREntryRels(long corEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Specified by:
      getCOREntryRels in interface COREntryRelLocalService
    • getCOREntryRelsCount

      public int getCOREntryRelsCount()
      Returns the number of cor entry rels.
      Specified by:
      getCOREntryRelsCount in interface COREntryRelLocalService
      Returns:
      the number of cor entry rels
    • getCOREntryRelsCount

      public int getCOREntryRelsCount(long corEntryId)
      Specified by:
      getCOREntryRelsCount in interface COREntryRelLocalService
    • getIndexableActionableDynamicQuery

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

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

      public COREntryRel updateCOREntryRel(COREntryRel corEntryRel)
      Updates the cor entry rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect COREntryRelLocalServiceImpl 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:
      updateCOREntryRel in interface COREntryRelLocalService
      Parameters:
      corEntryRel - the cor entry rel
      Returns:
      the cor entry 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
    • getWrappedService

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

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