Class ObjectFilterLocalServiceWrapper

java.lang.Object
com.liferay.object.service.ObjectFilterLocalServiceWrapper
All Implemented Interfaces:
ObjectFilterLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<ObjectFilterLocalService>

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

    • ObjectFilterLocalServiceWrapper

      public ObjectFilterLocalServiceWrapper()
    • ObjectFilterLocalServiceWrapper

      public ObjectFilterLocalServiceWrapper(ObjectFilterLocalService objectFilterLocalService)
  • Method Details

    • addObjectFilter

      public ObjectFilter addObjectFilter(long userId, long objectFieldId, String filterBy, String filterType, String json) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addObjectFilter in interface ObjectFilterLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addObjectFilter

      public ObjectFilter addObjectFilter(ObjectFilter objectFilter)
      Adds the object filter to the database. Also notifies the appropriate model listeners.

      Important: Inspect ObjectFilterLocalServiceImpl 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:
      addObjectFilter in interface ObjectFilterLocalService
      Parameters:
      objectFilter - the object filter
      Returns:
      the object filter that was added
    • createObjectFilter

      public ObjectFilter createObjectFilter(long objectFilterId)
      Creates a new object filter with the primary key. Does not add the object filter to the database.
      Specified by:
      createObjectFilter in interface ObjectFilterLocalService
      Parameters:
      objectFilterId - the primary key for the new object filter
      Returns:
      the new object filter
    • createPersistedModel

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

      public void deleteObjectFieldObjectFilter(long objectFieldId)
      Specified by:
      deleteObjectFieldObjectFilter in interface ObjectFilterLocalService
    • deleteObjectFilter

      public ObjectFilter deleteObjectFilter(long objectFilterId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the object filter with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect ObjectFilterLocalServiceImpl 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:
      deleteObjectFilter in interface ObjectFilterLocalService
      Parameters:
      objectFilterId - the primary key of the object filter
      Returns:
      the object filter that was removed
      Throws:
      PortalException - if a object filter with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteObjectFilter

      public ObjectFilter deleteObjectFilter(ObjectFilter objectFilter)
      Deletes the object filter from the database. Also notifies the appropriate model listeners.

      Important: Inspect ObjectFilterLocalServiceImpl 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:
      deleteObjectFilter in interface ObjectFilterLocalService
      Parameters:
      objectFilter - the object filter
      Returns:
      the object filter that was removed
    • 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 ObjectFilterLocalService
      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 ObjectFilterLocalService
      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 ObjectFilterLocalService
      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 ObjectFilterLocalService
    • 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 ObjectFilterLocalService
      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.object.model.impl.ObjectFilterModelImpl.

      Specified by:
      dynamicQuery in interface ObjectFilterLocalService
      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.object.model.impl.ObjectFilterModelImpl.

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

      public ObjectFilter fetchObjectFilter(long objectFilterId)
      Specified by:
      fetchObjectFilter in interface ObjectFilterLocalService
    • fetchObjectFilterByUuidAndCompanyId

      public ObjectFilter fetchObjectFilterByUuidAndCompanyId(String uuid, long companyId)
      Returns the object filter with the matching UUID and company.
      Specified by:
      fetchObjectFilterByUuidAndCompanyId in interface ObjectFilterLocalService
      Parameters:
      uuid - the object filter's UUID
      companyId - the primary key of the company
      Returns:
      the matching object filter, or null if a matching object filter could not be found
    • getActionableDynamicQuery

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

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

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

      public List<ObjectFilter> getObjectFieldObjectFilter(long objectFieldId)
      Specified by:
      getObjectFieldObjectFilter in interface ObjectFilterLocalService
    • getObjectFilter

      public ObjectFilter getObjectFilter(long objectFilterId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the object filter with the primary key.
      Specified by:
      getObjectFilter in interface ObjectFilterLocalService
      Parameters:
      objectFilterId - the primary key of the object filter
      Returns:
      the object filter
      Throws:
      PortalException - if a object filter with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getObjectFilterByUuidAndCompanyId

      public ObjectFilter getObjectFilterByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the object filter with the matching UUID and company.
      Specified by:
      getObjectFilterByUuidAndCompanyId in interface ObjectFilterLocalService
      Parameters:
      uuid - the object filter's UUID
      companyId - the primary key of the company
      Returns:
      the matching object filter
      Throws:
      PortalException - if a matching object filter could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getObjectFilters

      public List<ObjectFilter> getObjectFilters(int start, int end)
      Returns a range of all the object filters.

      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.object.model.impl.ObjectFilterModelImpl.

      Specified by:
      getObjectFilters in interface ObjectFilterLocalService
      Parameters:
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      Returns:
      the range of object filters
    • getObjectFiltersCount

      public int getObjectFiltersCount()
      Returns the number of object filters.
      Specified by:
      getObjectFiltersCount in interface ObjectFilterLocalService
      Returns:
      the number of object filters
    • getOSGiServiceIdentifier

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

      public ObjectFilter updateObjectFilter(ObjectFilter objectFilter)
      Updates the object filter in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect ObjectFilterLocalServiceImpl 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:
      updateObjectFilter in interface ObjectFilterLocalService
      Parameters:
      objectFilter - the object filter
      Returns:
      the object filter 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 ObjectFilterLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectFilterLocalService>
    • setWrappedService

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