Class CPConfigurationListRelLocalServiceWrapper

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

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

    • CPConfigurationListRelLocalServiceWrapper

      public CPConfigurationListRelLocalServiceWrapper()
    • CPConfigurationListRelLocalServiceWrapper

      public CPConfigurationListRelLocalServiceWrapper(CPConfigurationListRelLocalService cpConfigurationListRelLocalService)
  • Method Details

    • addCPConfigurationListRel

      public CPConfigurationListRel addCPConfigurationListRel(CPConfigurationListRel cpConfigurationListRel)
      Adds the cp configuration list rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect CPConfigurationListRelLocalServiceImpl 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:
      addCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Parameters:
      cpConfigurationListRel - the cp configuration list rel
      Returns:
      the cp configuration list rel that was added
    • addCPConfigurationListRel

      public CPConfigurationListRel addCPConfigurationListRel(long userId, String className, long classPK, long cpConfigurationListId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCPConfigurationListRel

      public CPConfigurationListRel createCPConfigurationListRel(long CPConfigurationListRelId)
      Creates a new cp configuration list rel with the primary key. Does not add the cp configuration list rel to the database.
      Specified by:
      createCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Parameters:
      CPConfigurationListRelId - the primary key for the new cp configuration list rel
      Returns:
      the new cp configuration list rel
    • createPersistedModel

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

      public CPConfigurationListRel deleteCPConfigurationListRel(CPConfigurationListRel cpConfigurationListRel) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the cp configuration list rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect CPConfigurationListRelLocalServiceImpl 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:
      deleteCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Parameters:
      cpConfigurationListRel - the cp configuration list rel
      Returns:
      the cp configuration list rel that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPConfigurationListRel

      public CPConfigurationListRel deleteCPConfigurationListRel(long CPConfigurationListRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the cp configuration list rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CPConfigurationListRelLocalServiceImpl 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:
      deleteCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Parameters:
      CPConfigurationListRelId - the primary key of the cp configuration list rel
      Returns:
      the cp configuration list rel that was removed
      Throws:
      PortalException - if a cp configuration list rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPConfigurationListRels

      public void deleteCPConfigurationListRels(long cpConfigurationListId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCPConfigurationListRels in interface CPConfigurationListRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPConfigurationListRels

      public void deleteCPConfigurationListRels(String className, long cpConfigurationListId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCPConfigurationListRels in interface CPConfigurationListRelLocalService
      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 CPConfigurationListRelLocalService
      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 CPConfigurationListRelLocalService
      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 CPConfigurationListRelLocalService
      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 CPConfigurationListRelLocalService
    • 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 CPConfigurationListRelLocalService
      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.CPConfigurationListRelModelImpl.

      Specified by:
      dynamicQuery in interface CPConfigurationListRelLocalService
      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.CPConfigurationListRelModelImpl.

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

      public CPConfigurationListRel fetchCPConfigurationListRel(long CPConfigurationListRelId)
      Specified by:
      fetchCPConfigurationListRel in interface CPConfigurationListRelLocalService
    • fetchCPConfigurationListRel

      public CPConfigurationListRel fetchCPConfigurationListRel(String className, long classPK, long cpConfigurationListId)
      Specified by:
      fetchCPConfigurationListRel in interface CPConfigurationListRelLocalService
    • getAccountEntryCPConfigurationListRels

      public List<CPConfigurationListRel> getAccountEntryCPConfigurationListRels(long cpConfigurationListId, String keywords, int start, int end)
      Specified by:
      getAccountEntryCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getAccountEntryCPConfigurationListRelsCount

      public int getAccountEntryCPConfigurationListRelsCount(long cpConfigurationListId, String keywords)
      Specified by:
      getAccountEntryCPConfigurationListRelsCount in interface CPConfigurationListRelLocalService
    • getAccountGroupCPConfigurationListRels

      public List<CPConfigurationListRel> getAccountGroupCPConfigurationListRels(long cpConfigurationListId, String keywords, int start, int end)
      Specified by:
      getAccountGroupCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getAccountGroupCPConfigurationListRelsCount

      public int getAccountGroupCPConfigurationListRelsCount(long cpConfigurationListId, String keywords)
      Specified by:
      getAccountGroupCPConfigurationListRelsCount in interface CPConfigurationListRelLocalService
    • getActionableDynamicQuery

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

      public List<CPConfigurationListRel> getCommerceOrderTypeCPConfigurationListRels(long cpConfigurationListId, String keywords, int start, int end)
      Specified by:
      getCommerceOrderTypeCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getCommerceOrderTypeCPConfigurationListRelsCount

      public int getCommerceOrderTypeCPConfigurationListRelsCount(long cpConfigurationListId, String keywords)
      Specified by:
      getCommerceOrderTypeCPConfigurationListRelsCount in interface CPConfigurationListRelLocalService
    • getCPConfigurationListRel

      public CPConfigurationListRel getCPConfigurationListRel(long CPConfigurationListRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the cp configuration list rel with the primary key.
      Specified by:
      getCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Parameters:
      CPConfigurationListRelId - the primary key of the cp configuration list rel
      Returns:
      the cp configuration list rel
      Throws:
      PortalException - if a cp configuration list rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCPConfigurationListRels

      public List<CPConfigurationListRel> getCPConfigurationListRels(int start, int end)
      Returns a range of all the cp configuration list 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.CPConfigurationListRelModelImpl.

      Specified by:
      getCPConfigurationListRels in interface CPConfigurationListRelLocalService
      Parameters:
      start - the lower bound of the range of cp configuration list rels
      end - the upper bound of the range of cp configuration list rels (not inclusive)
      Returns:
      the range of cp configuration list rels
    • getCPConfigurationListRels

      public List<CPConfigurationListRel> getCPConfigurationListRels(long cpConfigurationListId)
      Specified by:
      getCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getCPConfigurationListRels

      public List<CPConfigurationListRel> getCPConfigurationListRels(long cpConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator)
      Specified by:
      getCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getCPConfigurationListRels

      public List<CPConfigurationListRel> getCPConfigurationListRels(String className, long cpConfigurationListId)
      Specified by:
      getCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getCPConfigurationListRels

      public List<CPConfigurationListRel> getCPConfigurationListRels(String className, long cpConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator)
      Specified by:
      getCPConfigurationListRels in interface CPConfigurationListRelLocalService
    • getCPConfigurationListRelsCount

      public int getCPConfigurationListRelsCount()
      Returns the number of cp configuration list rels.
      Specified by:
      getCPConfigurationListRelsCount in interface CPConfigurationListRelLocalService
      Returns:
      the number of cp configuration list rels
    • getCPConfigurationListRelsCount

      public int getCPConfigurationListRelsCount(long cpConfigurationListId)
      Specified by:
      getCPConfigurationListRelsCount in interface CPConfigurationListRelLocalService
    • getCPConfigurationListRelsCount

      public int getCPConfigurationListRelsCount(String className, long cpConfigurationListId)
      Specified by:
      getCPConfigurationListRelsCount in interface CPConfigurationListRelLocalService
    • getIndexableActionableDynamicQuery

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

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

      public CPConfigurationListRel updateCPConfigurationListRel(CPConfigurationListRel cpConfigurationListRel)
      Updates the cp configuration list rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CPConfigurationListRelLocalServiceImpl 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:
      updateCPConfigurationListRel in interface CPConfigurationListRelLocalService
      Parameters:
      cpConfigurationListRel - the cp configuration list rel
      Returns:
      the cp configuration list 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<CPConfigurationListRel> getCTPersistence()
      Specified by:
      getCTPersistence in interface CPConfigurationListRelLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPConfigurationListRel>
    • getModelClass

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

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

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

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