Class CSDiagramSettingLocalServiceWrapper

java.lang.Object
com.liferay.commerce.shop.by.diagram.service.CSDiagramSettingLocalServiceWrapper
All Implemented Interfaces:
CSDiagramSettingLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramSetting>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CSDiagramSettingLocalService>

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

    • CSDiagramSettingLocalServiceWrapper

      public CSDiagramSettingLocalServiceWrapper()
    • CSDiagramSettingLocalServiceWrapper

      public CSDiagramSettingLocalServiceWrapper(CSDiagramSettingLocalService csDiagramSettingLocalService)
  • Method Details

    • addCSDiagramSetting

      public CSDiagramSetting addCSDiagramSetting(CSDiagramSetting csDiagramSetting)
      Adds the cs diagram setting to the database. Also notifies the appropriate model listeners.

      Important: Inspect CSDiagramSettingLocalServiceImpl 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:
      addCSDiagramSetting in interface CSDiagramSettingLocalService
      Parameters:
      csDiagramSetting - the cs diagram setting
      Returns:
      the cs diagram setting that was added
    • addCSDiagramSetting

      public CSDiagramSetting addCSDiagramSetting(long userId, long cpDefinitionId, long cpAttachmentFileEntryId, String color, double radius, String type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCSDiagramSetting in interface CSDiagramSettingLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCSDiagramSetting

      public CSDiagramSetting createCSDiagramSetting(long CSDiagramSettingId)
      Creates a new cs diagram setting with the primary key. Does not add the cs diagram setting to the database.
      Specified by:
      createCSDiagramSetting in interface CSDiagramSettingLocalService
      Parameters:
      CSDiagramSettingId - the primary key for the new cs diagram setting
      Returns:
      the new cs diagram setting
    • createPersistedModel

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

      public CSDiagramSetting deleteCSDiagramSetting(CSDiagramSetting csDiagramSetting)
      Deletes the cs diagram setting from the database. Also notifies the appropriate model listeners.

      Important: Inspect CSDiagramSettingLocalServiceImpl 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:
      deleteCSDiagramSetting in interface CSDiagramSettingLocalService
      Parameters:
      csDiagramSetting - the cs diagram setting
      Returns:
      the cs diagram setting that was removed
    • deleteCSDiagramSetting

      public CSDiagramSetting deleteCSDiagramSetting(long CSDiagramSettingId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the cs diagram setting with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CSDiagramSettingLocalServiceImpl 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:
      deleteCSDiagramSetting in interface CSDiagramSettingLocalService
      Parameters:
      CSDiagramSettingId - the primary key of the cs diagram setting
      Returns:
      the cs diagram setting that was removed
      Throws:
      PortalException - if a cs diagram setting with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCSDiagramSettingByCPDefinitionId

      public CSDiagramSetting deleteCSDiagramSettingByCPDefinitionId(long cpDefinitionId)
      Specified by:
      deleteCSDiagramSettingByCPDefinitionId in interface CSDiagramSettingLocalService
    • 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 CSDiagramSettingLocalService
      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 CSDiagramSettingLocalService
      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 CSDiagramSettingLocalService
      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 CSDiagramSettingLocalService
    • 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 CSDiagramSettingLocalService
      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.shop.by.diagram.model.impl.CSDiagramSettingModelImpl.

      Specified by:
      dynamicQuery in interface CSDiagramSettingLocalService
      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.shop.by.diagram.model.impl.CSDiagramSettingModelImpl.

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

      public CSDiagramSetting fetchCSDiagramSetting(long CSDiagramSettingId)
      Specified by:
      fetchCSDiagramSetting in interface CSDiagramSettingLocalService
    • fetchCSDiagramSettingByCPDefinitionId

      public CSDiagramSetting fetchCSDiagramSettingByCPDefinitionId(long cpDefinitionId)
      Specified by:
      fetchCSDiagramSettingByCPDefinitionId in interface CSDiagramSettingLocalService
    • fetchCSDiagramSettingByUuidAndCompanyId

      public CSDiagramSetting fetchCSDiagramSettingByUuidAndCompanyId(String uuid, long companyId)
      Returns the cs diagram setting with the matching UUID and company.
      Specified by:
      fetchCSDiagramSettingByUuidAndCompanyId in interface CSDiagramSettingLocalService
      Parameters:
      uuid - the cs diagram setting's UUID
      companyId - the primary key of the company
      Returns:
      the matching cs diagram setting, or null if a matching cs diagram setting could not be found
    • getActionableDynamicQuery

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

      public CSDiagramSetting getCSDiagramSetting(long CSDiagramSettingId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the cs diagram setting with the primary key.
      Specified by:
      getCSDiagramSetting in interface CSDiagramSettingLocalService
      Parameters:
      CSDiagramSettingId - the primary key of the cs diagram setting
      Returns:
      the cs diagram setting
      Throws:
      PortalException - if a cs diagram setting with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCSDiagramSettingByCPDefinitionId

      public CSDiagramSetting getCSDiagramSettingByCPDefinitionId(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCSDiagramSettingByCPDefinitionId in interface CSDiagramSettingLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCSDiagramSettingByUuidAndCompanyId

      public CSDiagramSetting getCSDiagramSettingByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the cs diagram setting with the matching UUID and company.
      Specified by:
      getCSDiagramSettingByUuidAndCompanyId in interface CSDiagramSettingLocalService
      Parameters:
      uuid - the cs diagram setting's UUID
      companyId - the primary key of the company
      Returns:
      the matching cs diagram setting
      Throws:
      PortalException - if a matching cs diagram setting could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCSDiagramSettings

      public List<CSDiagramSetting> getCSDiagramSettings(int start, int end)
      Returns a range of all the cs diagram settings.

      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.shop.by.diagram.model.impl.CSDiagramSettingModelImpl.

      Specified by:
      getCSDiagramSettings in interface CSDiagramSettingLocalService
      Parameters:
      start - the lower bound of the range of cs diagram settings
      end - the upper bound of the range of cs diagram settings (not inclusive)
      Returns:
      the range of cs diagram settings
    • getCSDiagramSettingsCount

      public int getCSDiagramSettingsCount()
      Returns the number of cs diagram settings.
      Specified by:
      getCSDiagramSettingsCount in interface CSDiagramSettingLocalService
      Returns:
      the number of cs diagram settings
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface CSDiagramSettingLocalService
    • getIndexableActionableDynamicQuery

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

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

      public CSDiagramSetting updateCSDiagramSetting(CSDiagramSetting csDiagramSetting)
      Updates the cs diagram setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CSDiagramSettingLocalServiceImpl 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:
      updateCSDiagramSetting in interface CSDiagramSettingLocalService
      Parameters:
      csDiagramSetting - the cs diagram setting
      Returns:
      the cs diagram setting that was updated
    • updateCSDiagramSetting

      public CSDiagramSetting updateCSDiagramSetting(long csDiagramSettingId, long cpAttachmentFileEntryId, String color, double radius, String type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCSDiagramSetting in interface CSDiagramSettingLocalService
      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
    • getCTPersistence

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

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

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

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

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