Class SegmentsEntryRelLocalServiceWrapper

java.lang.Object
com.liferay.segments.service.SegmentsEntryRelLocalServiceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRel>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<SegmentsEntryRelLocalService>, SegmentsEntryRelLocalService

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

    • SegmentsEntryRelLocalServiceWrapper

      public SegmentsEntryRelLocalServiceWrapper()
    • SegmentsEntryRelLocalServiceWrapper

      public SegmentsEntryRelLocalServiceWrapper(SegmentsEntryRelLocalService segmentsEntryRelLocalService)
  • Method Details

    • addSegmentsEntryRel

      public SegmentsEntryRel addSegmentsEntryRel(long segmentsEntryId, long classNameId, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntryRel

      public SegmentsEntryRel addSegmentsEntryRel(SegmentsEntryRel segmentsEntryRel)
      Adds the segments entry rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect SegmentsEntryRelLocalServiceImpl 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:
      addSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Parameters:
      segmentsEntryRel - the segments entry rel
      Returns:
      the segments entry rel that was added
    • addSegmentsEntryRels

      public void addSegmentsEntryRels(long segmentsEntryId, long classNameId, long[] classPKs, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSegmentsEntryRels in interface SegmentsEntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createPersistedModel

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

      public SegmentsEntryRel createSegmentsEntryRel(long segmentsEntryRelId)
      Creates a new segments entry rel with the primary key. Does not add the segments entry rel to the database.
      Specified by:
      createSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Parameters:
      segmentsEntryRelId - the primary key for the new segments entry rel
      Returns:
      the new segments entry rel
    • 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 com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      deletePersistedModel in interface SegmentsEntryRelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteSegmentsEntryRel

      public SegmentsEntryRel deleteSegmentsEntryRel(long segmentsEntryRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the segments entry rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect SegmentsEntryRelLocalServiceImpl 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:
      deleteSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Parameters:
      segmentsEntryRelId - the primary key of the segments entry rel
      Returns:
      the segments entry rel that was removed
      Throws:
      PortalException - if a segments entry rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteSegmentsEntryRel

      public void deleteSegmentsEntryRel(long segmentsEntryId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteSegmentsEntryRel

      public SegmentsEntryRel deleteSegmentsEntryRel(SegmentsEntryRel segmentsEntryRel)
      Deletes the segments entry rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect SegmentsEntryRelLocalServiceImpl 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:
      deleteSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Parameters:
      segmentsEntryRel - the segments entry rel
      Returns:
      the segments entry rel that was removed
    • deleteSegmentsEntryRels

      public void deleteSegmentsEntryRels(long segmentsEntryId)
      Specified by:
      deleteSegmentsEntryRels in interface SegmentsEntryRelLocalService
    • deleteSegmentsEntryRels

      public void deleteSegmentsEntryRels(long classNameId, long classPK)
      Specified by:
      deleteSegmentsEntryRels in interface SegmentsEntryRelLocalService
    • deleteSegmentsEntryRels

      public void deleteSegmentsEntryRels(long segmentsEntryId, long classNameId, long[] classPKs) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteSegmentsEntryRels in interface SegmentsEntryRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      dslQuery in interface SegmentsEntryRelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      dslQueryCount in interface SegmentsEntryRelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface SegmentsEntryRelLocalService
    • 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 SegmentsEntryRelLocalService
      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.segments.model.impl.SegmentsEntryRelModelImpl.

      Specified by:
      dynamicQuery in interface SegmentsEntryRelLocalService
      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.segments.model.impl.SegmentsEntryRelModelImpl.

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

      public SegmentsEntryRel fetchSegmentsEntryRel(long segmentsEntryRelId)
      Specified by:
      fetchSegmentsEntryRel in interface SegmentsEntryRelLocalService
    • getActionableDynamicQuery

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

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

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

      public SegmentsEntryRel getSegmentsEntryRel(long segmentsEntryRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the segments entry rel with the primary key.
      Specified by:
      getSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Parameters:
      segmentsEntryRelId - the primary key of the segments entry rel
      Returns:
      the segments entry rel
      Throws:
      PortalException - if a segments entry rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getSegmentsEntryRels

      public List<SegmentsEntryRel> getSegmentsEntryRels(int start, int end)
      Returns a range of all the segments 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.segments.model.impl.SegmentsEntryRelModelImpl.

      Specified by:
      getSegmentsEntryRels in interface SegmentsEntryRelLocalService
      Parameters:
      start - the lower bound of the range of segments entry rels
      end - the upper bound of the range of segments entry rels (not inclusive)
      Returns:
      the range of segments entry rels
    • getSegmentsEntryRels

      public List<SegmentsEntryRel> getSegmentsEntryRels(long segmentsEntryId)
      Specified by:
      getSegmentsEntryRels in interface SegmentsEntryRelLocalService
    • getSegmentsEntryRels

      public List<SegmentsEntryRel> getSegmentsEntryRels(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
      Specified by:
      getSegmentsEntryRels in interface SegmentsEntryRelLocalService
    • getSegmentsEntryRels

      public List<SegmentsEntryRel> getSegmentsEntryRels(long classNameId, long classPK)
      Specified by:
      getSegmentsEntryRels in interface SegmentsEntryRelLocalService
    • getSegmentsEntryRels

      public List<SegmentsEntryRel> getSegmentsEntryRels(long groupId, long classNameId, long classPK)
      Specified by:
      getSegmentsEntryRels in interface SegmentsEntryRelLocalService
    • getSegmentsEntryRelsCount

      public int getSegmentsEntryRelsCount()
      Returns the number of segments entry rels.
      Specified by:
      getSegmentsEntryRelsCount in interface SegmentsEntryRelLocalService
      Returns:
      the number of segments entry rels
    • getSegmentsEntryRelsCount

      public int getSegmentsEntryRelsCount(long segmentsEntryId)
      Specified by:
      getSegmentsEntryRelsCount in interface SegmentsEntryRelLocalService
    • getSegmentsEntryRelsCount

      public int getSegmentsEntryRelsCount(long classNameId, long classPK)
      Specified by:
      getSegmentsEntryRelsCount in interface SegmentsEntryRelLocalService
    • getSegmentsEntryRelsCount

      public int getSegmentsEntryRelsCount(long groupId, long classNameId, long classPK)
      Specified by:
      getSegmentsEntryRelsCount in interface SegmentsEntryRelLocalService
    • hasSegmentsEntryRel

      public boolean hasSegmentsEntryRel(long segmentsEntryId, long classNameId, long classPK)
      Specified by:
      hasSegmentsEntryRel in interface SegmentsEntryRelLocalService
    • updateSegmentsEntryRel

      public SegmentsEntryRel updateSegmentsEntryRel(SegmentsEntryRel segmentsEntryRel)
      Updates the segments entry rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect SegmentsEntryRelLocalServiceImpl 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:
      updateSegmentsEntryRel in interface SegmentsEntryRelLocalService
      Parameters:
      segmentsEntryRel - the segments entry rel
      Returns:
      the segments 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
    • getCTPersistence

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

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

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

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

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