Class DDMDataProviderInstanceLinkLocalServiceWrapper

java.lang.Object
com.liferay.dynamic.data.mapping.service.DDMDataProviderInstanceLinkLocalServiceWrapper
All Implemented Interfaces:
DDMDataProviderInstanceLinkLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<DDMDataProviderInstanceLink>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMDataProviderInstanceLinkLocalService>

public class DDMDataProviderInstanceLinkLocalServiceWrapper extends Object implements DDMDataProviderInstanceLinkLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMDataProviderInstanceLinkLocalService>
See Also:
Generated:
  • Constructor Details

    • DDMDataProviderInstanceLinkLocalServiceWrapper

      public DDMDataProviderInstanceLinkLocalServiceWrapper()
    • DDMDataProviderInstanceLinkLocalServiceWrapper

      public DDMDataProviderInstanceLinkLocalServiceWrapper(DDMDataProviderInstanceLinkLocalService ddmDataProviderInstanceLinkLocalService)
  • Method Details

    • addDataProviderInstanceLink

      public DDMDataProviderInstanceLink addDataProviderInstanceLink(long dataProviderInstanceId, long structureId)
      Specified by:
      addDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
    • addDDMDataProviderInstanceLink

      public DDMDataProviderInstanceLink addDDMDataProviderInstanceLink(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
      Adds the ddm data provider instance link to the database. Also notifies the appropriate model listeners.

      Important: Inspect DDMDataProviderInstanceLinkLocalServiceImpl 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:
      addDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      ddmDataProviderInstanceLink - the ddm data provider instance link
      Returns:
      the ddm data provider instance link that was added
    • createDDMDataProviderInstanceLink

      public DDMDataProviderInstanceLink createDDMDataProviderInstanceLink(long dataProviderInstanceLinkId)
      Creates a new ddm data provider instance link with the primary key. Does not add the ddm data provider instance link to the database.
      Specified by:
      createDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      dataProviderInstanceLinkId - the primary key for the new ddm data provider instance link
      Returns:
      the new ddm data provider instance link
    • createPersistedModel

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

      public void deleteDataProviderInstanceLink(DDMDataProviderInstanceLink dataProviderInstanceLink)
      Specified by:
      deleteDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
    • deleteDataProviderInstanceLink

      public void deleteDataProviderInstanceLink(long dataProviderInstanceLinkId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteDataProviderInstanceLink

      public void deleteDataProviderInstanceLink(long dataProviderInstanceId, long structureId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteDataProviderInstanceLinks

      public void deleteDataProviderInstanceLinks(long structureId)
      Specified by:
      deleteDataProviderInstanceLinks in interface DDMDataProviderInstanceLinkLocalService
    • deleteDDMDataProviderInstanceLink

      public DDMDataProviderInstanceLink deleteDDMDataProviderInstanceLink(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
      Deletes the ddm data provider instance link from the database. Also notifies the appropriate model listeners.

      Important: Inspect DDMDataProviderInstanceLinkLocalServiceImpl 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:
      deleteDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      ddmDataProviderInstanceLink - the ddm data provider instance link
      Returns:
      the ddm data provider instance link that was removed
    • deleteDDMDataProviderInstanceLink

      public DDMDataProviderInstanceLink deleteDDMDataProviderInstanceLink(long dataProviderInstanceLinkId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the ddm data provider instance link with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect DDMDataProviderInstanceLinkLocalServiceImpl 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:
      deleteDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      dataProviderInstanceLinkId - the primary key of the ddm data provider instance link
      Returns:
      the ddm data provider instance link that was removed
      Throws:
      PortalException - if a ddm data provider instance link with the primary key could not be found
      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 DDMDataProviderInstanceLinkLocalService
      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 DDMDataProviderInstanceLinkLocalService
      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 DDMDataProviderInstanceLinkLocalService
      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 DDMDataProviderInstanceLinkLocalService
    • 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 DDMDataProviderInstanceLinkLocalService
      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.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.

      Specified by:
      dynamicQuery in interface DDMDataProviderInstanceLinkLocalService
      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.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.

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

      public DDMDataProviderInstanceLink fetchDataProviderInstanceLink(long dataProviderInstanceId, long structureId)
      Specified by:
      fetchDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
    • fetchDDMDataProviderInstanceLink

      public DDMDataProviderInstanceLink fetchDDMDataProviderInstanceLink(long dataProviderInstanceLinkId)
      Specified by:
      fetchDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
    • getActionableDynamicQuery

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

      public List<DDMDataProviderInstanceLink> getDataProviderInstanceLinks(long structureId)
      Specified by:
      getDataProviderInstanceLinks in interface DDMDataProviderInstanceLinkLocalService
    • getDDMDataProviderInstanceLink

      public DDMDataProviderInstanceLink getDDMDataProviderInstanceLink(long dataProviderInstanceLinkId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the ddm data provider instance link with the primary key.
      Specified by:
      getDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      dataProviderInstanceLinkId - the primary key of the ddm data provider instance link
      Returns:
      the ddm data provider instance link
      Throws:
      PortalException - if a ddm data provider instance link with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getDDMDataProviderInstanceLinks

      public List<DDMDataProviderInstanceLink> getDDMDataProviderInstanceLinks(int start, int end)
      Returns a range of all the ddm data provider instance links.

      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.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.

      Specified by:
      getDDMDataProviderInstanceLinks in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (not inclusive)
      Returns:
      the range of ddm data provider instance links
    • getDDMDataProviderInstanceLinksCount

      public int getDDMDataProviderInstanceLinksCount()
      Returns the number of ddm data provider instance links.
      Specified by:
      getDDMDataProviderInstanceLinksCount in interface DDMDataProviderInstanceLinkLocalService
      Returns:
      the number of ddm data provider instance links
    • getIndexableActionableDynamicQuery

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

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

      public DDMDataProviderInstanceLink updateDDMDataProviderInstanceLink(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
      Updates the ddm data provider instance link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect DDMDataProviderInstanceLinkLocalServiceImpl 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:
      updateDDMDataProviderInstanceLink in interface DDMDataProviderInstanceLinkLocalService
      Parameters:
      ddmDataProviderInstanceLink - the ddm data provider instance link
      Returns:
      the ddm data provider instance link 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<DDMDataProviderInstanceLink> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMDataProviderInstanceLink>
      Specified by:
      getCTPersistence in interface DDMDataProviderInstanceLinkLocalService
    • getModelClass

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

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

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

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