Class JournalContentSearchLocalServiceWrapper

java.lang.Object
com.liferay.journal.service.JournalContentSearchLocalServiceWrapper
All Implemented Interfaces:
JournalContentSearchLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<JournalContentSearch>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<JournalContentSearchLocalService>

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

    • JournalContentSearchLocalServiceWrapper

      public JournalContentSearchLocalServiceWrapper()
    • JournalContentSearchLocalServiceWrapper

      public JournalContentSearchLocalServiceWrapper(JournalContentSearchLocalService journalContentSearchLocalService)
  • Method Details

    • addJournalContentSearch

      public JournalContentSearch addJournalContentSearch(JournalContentSearch journalContentSearch)
      Adds the journal content search to the database. Also notifies the appropriate model listeners.

      Important: Inspect JournalContentSearchLocalServiceImpl 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:
      addJournalContentSearch in interface JournalContentSearchLocalService
      Parameters:
      journalContentSearch - the journal content search
      Returns:
      the journal content search that was added
    • checkContentSearches

      public void checkContentSearches(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkContentSearches in interface JournalContentSearchLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createJournalContentSearch

      public JournalContentSearch createJournalContentSearch(long contentSearchId)
      Creates a new journal content search with the primary key. Does not add the journal content search to the database.
      Specified by:
      createJournalContentSearch in interface JournalContentSearchLocalService
      Parameters:
      contentSearchId - the primary key for the new journal content search
      Returns:
      the new journal content search
    • createPersistedModel

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

      public void deleteArticleContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId)
      Specified by:
      deleteArticleContentSearch in interface JournalContentSearchLocalService
    • deleteArticleContentSearch

      public void deleteArticleContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
      Specified by:
      deleteArticleContentSearch in interface JournalContentSearchLocalService
    • deleteArticleContentSearches

      public void deleteArticleContentSearches(long groupId, String articleId)
      Specified by:
      deleteArticleContentSearches in interface JournalContentSearchLocalService
    • deleteJournalContentSearch

      public JournalContentSearch deleteJournalContentSearch(JournalContentSearch journalContentSearch)
      Deletes the journal content search from the database. Also notifies the appropriate model listeners.

      Important: Inspect JournalContentSearchLocalServiceImpl 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:
      deleteJournalContentSearch in interface JournalContentSearchLocalService
      Parameters:
      journalContentSearch - the journal content search
      Returns:
      the journal content search that was removed
    • deleteJournalContentSearch

      public JournalContentSearch deleteJournalContentSearch(long contentSearchId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect JournalContentSearchLocalServiceImpl 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:
      deleteJournalContentSearch in interface JournalContentSearchLocalService
      Parameters:
      contentSearchId - the primary key of the journal content search
      Returns:
      the journal content search that was removed
      Throws:
      PortalException - if a journal content search with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteLayoutContentSearches

      public void deleteLayoutContentSearches(long groupId, boolean privateLayout, long layoutId)
      Specified by:
      deleteLayoutContentSearches in interface JournalContentSearchLocalService
    • deleteOwnerContentSearches

      public void deleteOwnerContentSearches(long groupId, boolean privateLayout)
      Specified by:
      deleteOwnerContentSearches in interface JournalContentSearchLocalService
    • 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 JournalContentSearchLocalService
      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 JournalContentSearchLocalService
      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 JournalContentSearchLocalService
      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 JournalContentSearchLocalService
    • 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 JournalContentSearchLocalService
      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.journal.model.impl.JournalContentSearchModelImpl.

      Specified by:
      dynamicQuery in interface JournalContentSearchLocalService
      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.journal.model.impl.JournalContentSearchModelImpl.

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

      public JournalContentSearch fetchJournalContentSearch(long contentSearchId)
      Specified by:
      fetchJournalContentSearch in interface JournalContentSearchLocalService
    • getActionableDynamicQuery

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

      public List<JournalContentSearch> getArticleContentSearches()
      Specified by:
      getArticleContentSearches in interface JournalContentSearchLocalService
    • getArticleContentSearches

      public List<JournalContentSearch> getArticleContentSearches(long groupId, String articleId)
      Specified by:
      getArticleContentSearches in interface JournalContentSearchLocalService
    • getArticleContentSearches

      public List<JournalContentSearch> getArticleContentSearches(String articleId)
      Specified by:
      getArticleContentSearches in interface JournalContentSearchLocalService
    • getIndexableActionableDynamicQuery

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

      public JournalContentSearch getJournalContentSearch(long contentSearchId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the journal content search with the primary key.
      Specified by:
      getJournalContentSearch in interface JournalContentSearchLocalService
      Parameters:
      contentSearchId - the primary key of the journal content search
      Returns:
      the journal content search
      Throws:
      PortalException - if a journal content search with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getJournalContentSearchs

      public List<JournalContentSearch> getJournalContentSearchs(int start, int end)
      Returns a range of all the journal content searches.

      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.journal.model.impl.JournalContentSearchModelImpl.

      Specified by:
      getJournalContentSearchs in interface JournalContentSearchLocalService
      Parameters:
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      Returns:
      the range of journal content searches
    • getJournalContentSearchsCount

      public int getJournalContentSearchsCount()
      Returns the number of journal content searches.
      Specified by:
      getJournalContentSearchsCount in interface JournalContentSearchLocalService
      Returns:
      the number of journal content searches
    • getLayoutIds

      public List<Long> getLayoutIds(long groupId, boolean privateLayout, String articleId)
      Specified by:
      getLayoutIds in interface JournalContentSearchLocalService
    • getLayoutIdsCount

      public int getLayoutIdsCount(long groupId, boolean privateLayout, String articleId)
      Specified by:
      getLayoutIdsCount in interface JournalContentSearchLocalService
    • getLayoutIdsCount

      public int getLayoutIdsCount(String articleId)
      Specified by:
      getLayoutIdsCount in interface JournalContentSearchLocalService
    • getOSGiServiceIdentifier

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

      public List<JournalContentSearch> getPortletContentSearches(String portletId)
      Specified by:
      getPortletContentSearches in interface JournalContentSearchLocalService
    • updateContentSearch

      public JournalContentSearch updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateContentSearch in interface JournalContentSearchLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateContentSearch

      public JournalContentSearch updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean purge) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateContentSearch in interface JournalContentSearchLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateContentSearch

      public List<JournalContentSearch> updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String[] articleIds) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateContentSearch in interface JournalContentSearchLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateJournalContentSearch

      public JournalContentSearch updateJournalContentSearch(JournalContentSearch journalContentSearch)
      Updates the journal content search in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect JournalContentSearchLocalServiceImpl 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:
      updateJournalContentSearch in interface JournalContentSearchLocalService
      Parameters:
      journalContentSearch - the journal content search
      Returns:
      the journal content search 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<JournalContentSearch> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<JournalContentSearch>
      Specified by:
      getCTPersistence in interface JournalContentSearchLocalService
    • getModelClass

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

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

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

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