Class JournalContentSearchUtil

java.lang.Object
com.liferay.journal.service.persistence.JournalContentSearchUtil

public class JournalContentSearchUtil extends Object
The persistence utility for the journal content search service. This utility wraps com.liferay.journal.service.persistence.impl.JournalContentSearchPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • JournalContentSearchUtil

      public JournalContentSearchUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(JournalContentSearch journalContentSearch)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,JournalContentSearch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static JournalContentSearch update(JournalContentSearch journalContentSearch)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static JournalContentSearch update(JournalContentSearch journalContentSearch, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static List<JournalContentSearch> findByCompanyId(long companyId)
      Returns all the journal content searches where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching journal content searches
    • findByCompanyId

      public static List<JournalContentSearch> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the journal content searches where companyId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      companyId - the company ID
      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 matching journal content searches
    • findByCompanyId

      public static List<JournalContentSearch> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where companyId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByCompanyId

      public static List<JournalContentSearch> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where companyId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByCompanyId_First

      public static JournalContentSearch findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByCompanyId_First

      public static JournalContentSearch fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByCompanyId_Last

      public static JournalContentSearch findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByCompanyId_Last

      public static JournalContentSearch fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByCompanyId_PrevAndNext

      public static JournalContentSearch[] findByCompanyId_PrevAndNext(long contentSearchId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where companyId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the journal content searches where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of journal content searches where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching journal content searches
    • findByPortletId

      public static List<JournalContentSearch> findByPortletId(String portletId)
      Returns all the journal content searches where portletId = ?.
      Parameters:
      portletId - the portlet ID
      Returns:
      the matching journal content searches
    • findByPortletId

      public static List<JournalContentSearch> findByPortletId(String portletId, int start, int end)
      Returns a range of all the journal content searches where portletId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      portletId - the portlet ID
      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 matching journal content searches
    • findByPortletId

      public static List<JournalContentSearch> findByPortletId(String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where portletId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      portletId - the portlet ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByPortletId

      public static List<JournalContentSearch> findByPortletId(String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where portletId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      portletId - the portlet ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByPortletId_First

      public static JournalContentSearch findByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where portletId = ?.
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByPortletId_First

      public static JournalContentSearch fetchByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where portletId = ?.
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByPortletId_Last

      public static JournalContentSearch findByPortletId_Last(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where portletId = ?.
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByPortletId_Last

      public static JournalContentSearch fetchByPortletId_Last(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where portletId = ?.
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByPortletId_PrevAndNext

      public static JournalContentSearch[] findByPortletId_PrevAndNext(long contentSearchId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where portletId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByPortletId

      public static void removeByPortletId(String portletId)
      Removes all the journal content searches where portletId = ? from the database.
      Parameters:
      portletId - the portlet ID
    • countByPortletId

      public static int countByPortletId(String portletId)
      Returns the number of journal content searches where portletId = ?.
      Parameters:
      portletId - the portlet ID
      Returns:
      the number of matching journal content searches
    • findByArticleId

      public static List<JournalContentSearch> findByArticleId(String articleId)
      Returns all the journal content searches where articleId = ?.
      Parameters:
      articleId - the article ID
      Returns:
      the matching journal content searches
    • findByArticleId

      public static List<JournalContentSearch> findByArticleId(String articleId, int start, int end)
      Returns a range of all the journal content searches where articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      articleId - the article ID
      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 matching journal content searches
    • findByArticleId

      public static List<JournalContentSearch> findByArticleId(String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      articleId - the article ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByArticleId

      public static List<JournalContentSearch> findByArticleId(String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      articleId - the article ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByArticleId_First

      public static JournalContentSearch findByArticleId_First(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where articleId = ?.
      Parameters:
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByArticleId_First

      public static JournalContentSearch fetchByArticleId_First(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where articleId = ?.
      Parameters:
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByArticleId_Last

      public static JournalContentSearch findByArticleId_Last(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where articleId = ?.
      Parameters:
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByArticleId_Last

      public static JournalContentSearch fetchByArticleId_Last(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where articleId = ?.
      Parameters:
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByArticleId_PrevAndNext

      public static JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where articleId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByArticleId

      public static void removeByArticleId(String articleId)
      Removes all the journal content searches where articleId = ? from the database.
      Parameters:
      articleId - the article ID
    • countByArticleId

      public static int countByArticleId(String articleId)
      Returns the number of journal content searches where articleId = ?.
      Parameters:
      articleId - the article ID
      Returns:
      the number of matching journal content searches
    • findByG_P

      public static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout)
      Returns all the journal content searches where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching journal content searches
    • findByG_P

      public static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end)
      Returns a range of all the journal content searches where groupId = ? and privateLayout = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      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 matching journal content searches
    • findByG_P

      public static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByG_P

      public static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_First

      public static JournalContentSearch findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_First

      public static JournalContentSearch fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_Last

      public static JournalContentSearch findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_Last

      public static JournalContentSearch fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_PrevAndNext

      public static JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByG_P

      public static void removeByG_P(long groupId, boolean privateLayout)
      Removes all the journal content searches where groupId = ? and privateLayout = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
    • countByG_P

      public static int countByG_P(long groupId, boolean privateLayout)
      Returns the number of journal content searches where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the number of matching journal content searches
    • findByG_A

      public static List<JournalContentSearch> findByG_A(long groupId, String articleId)
      Returns all the journal content searches where groupId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      articleId - the article ID
      Returns:
      the matching journal content searches
    • findByG_A

      public static List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end)
      Returns a range of all the journal content searches where groupId = ? and articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      articleId - the article ID
      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 matching journal content searches
    • findByG_A

      public static List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where groupId = ? and articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      articleId - the article ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByG_A

      public static List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where groupId = ? and articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      articleId - the article ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByG_A_First

      public static JournalContentSearch findByG_A_First(long groupId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_A_First

      public static JournalContentSearch fetchByG_A_First(long groupId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByG_A_Last

      public static JournalContentSearch findByG_A_Last(long groupId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_A_Last

      public static JournalContentSearch fetchByG_A_Last(long groupId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByG_A_PrevAndNext

      public static JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId, long groupId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and articleId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      groupId - the group ID
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByG_A

      public static void removeByG_A(long groupId, String articleId)
      Removes all the journal content searches where groupId = ? and articleId = ? from the database.
      Parameters:
      groupId - the group ID
      articleId - the article ID
    • countByG_A

      public static int countByG_A(long groupId, String articleId)
      Returns the number of journal content searches where groupId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      articleId - the article ID
      Returns:
      the number of matching journal content searches
    • findByG_P_L

      public static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId)
      Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the matching journal content searches
    • findByG_P_L

      public static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end)
      Returns a range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      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 matching journal content searches
    • findByG_P_L

      public static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_L

      public static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_L_First

      public static JournalContentSearch findByG_P_L_First(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_L_First

      public static JournalContentSearch fetchByG_P_L_First(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_L_Last

      public static JournalContentSearch findByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_L_Last

      public static JournalContentSearch fetchByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_L_PrevAndNext

      public static JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByG_P_L

      public static void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
      Removes all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
    • countByG_P_L

      public static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
      Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the number of matching journal content searches
    • findByG_P_A

      public static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId)
      Returns all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      Returns:
      the matching journal content searches
    • findByG_P_A

      public static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end)
      Returns a range of all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      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 matching journal content searches
    • findByG_P_A

      public static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_A

      public static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_A_First

      public static JournalContentSearch findByG_P_A_First(long groupId, boolean privateLayout, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_A_First

      public static JournalContentSearch fetchByG_P_A_First(long groupId, boolean privateLayout, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_A_Last

      public static JournalContentSearch findByG_P_A_Last(long groupId, boolean privateLayout, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_A_Last

      public static JournalContentSearch fetchByG_P_A_Last(long groupId, boolean privateLayout, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_A_PrevAndNext

      public static JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByG_P_A

      public static void removeByG_P_A(long groupId, boolean privateLayout, String articleId)
      Removes all the journal content searches where groupId = ? and privateLayout = ? and articleId = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
    • countByG_P_A

      public static int countByG_P_A(long groupId, boolean privateLayout, String articleId)
      Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      articleId - the article ID
      Returns:
      the number of matching journal content searches
    • findByG_P_L_P

      public static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
      Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      Returns:
      the matching journal content searches
    • findByG_P_L_P

      public static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end)
      Returns a range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      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 matching journal content searches
    • findByG_P_L_P

      public static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_L_P

      public static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

      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 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 JournalContentSearchModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      start - the lower bound of the range of journal content searches
      end - the upper bound of the range of journal content searches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching journal content searches
    • findByG_P_L_P_First

      public static JournalContentSearch findByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_L_P_First

      public static JournalContentSearch fetchByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_L_P_Last

      public static JournalContentSearch findByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_L_P_Last

      public static JournalContentSearch fetchByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal content search, or null if a matching journal content search could not be found
    • findByG_P_L_P_PrevAndNext

      public static JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
      Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      contentSearchId - the primary key of the current journal content search
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • removeByG_P_L_P

      public static void removeByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
      Removes all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
    • countByG_P_L_P

      public static int countByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
      Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      Returns:
      the number of matching journal content searches
    • findByG_P_L_P_A

      public static JournalContentSearch findByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws NoSuchContentSearchException
      Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      articleId - the article ID
      Returns:
      the matching journal content search
      Throws:
      NoSuchContentSearchException - if a matching journal content search could not be found
      NoSuchContentSearchException
    • fetchByG_P_L_P_A

      public static JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
      Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      articleId - the article ID
      Returns:
      the matching journal content search, or null if a matching journal content search could not be found
    • fetchByG_P_L_P_A

      public static JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean useFinderCache)
      Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      articleId - the article ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching journal content search, or null if a matching journal content search could not be found
    • removeByG_P_L_P_A

      public static JournalContentSearch removeByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws NoSuchContentSearchException
      Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      articleId - the article ID
      Returns:
      the journal content search that was removed
      Throws:
      NoSuchContentSearchException
    • countByG_P_L_P_A

      public static int countByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
      Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      portletId - the portlet ID
      articleId - the article ID
      Returns:
      the number of matching journal content searches
    • cacheResult

      public static void cacheResult(JournalContentSearch journalContentSearch)
      Caches the journal content search in the entity cache if it is enabled.
      Parameters:
      journalContentSearch - the journal content search
    • cacheResult

      public static void cacheResult(List<JournalContentSearch> journalContentSearchs)
      Caches the journal content searches in the entity cache if it is enabled.
      Parameters:
      journalContentSearchs - the journal content searches
    • create

      public static JournalContentSearch create(long contentSearchId)
      Creates a new journal content search with the primary key. Does not add the journal content search to the database.
      Parameters:
      contentSearchId - the primary key for the new journal content search
      Returns:
      the new journal content search
    • remove

      public static JournalContentSearch remove(long contentSearchId) throws NoSuchContentSearchException
      Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      contentSearchId - the primary key of the journal content search
      Returns:
      the journal content search that was removed
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • updateImpl

      public static JournalContentSearch updateImpl(JournalContentSearch journalContentSearch)
    • findByPrimaryKey

      public static JournalContentSearch findByPrimaryKey(long contentSearchId) throws NoSuchContentSearchException
      Returns the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found.
      Parameters:
      contentSearchId - the primary key of the journal content search
      Returns:
      the journal content search
      Throws:
      NoSuchContentSearchException - if a journal content search with the primary key could not be found
      NoSuchContentSearchException
    • fetchByPrimaryKey

      public static JournalContentSearch fetchByPrimaryKey(long contentSearchId)
      Returns the journal content search with the primary key or returns null if it could not be found.
      Parameters:
      contentSearchId - the primary key of the journal content search
      Returns:
      the journal content search, or null if a journal content search with the primary key could not be found
    • findAll

      public static List<JournalContentSearch> findAll()
      Returns all the journal content searches.
      Returns:
      the journal content searches
    • findAll

      public static List<JournalContentSearch> findAll(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 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 JournalContentSearchModelImpl.

      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
    • findAll

      public static List<JournalContentSearch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
      Returns an ordered 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 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 JournalContentSearchModelImpl.

      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)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of journal content searches
    • findAll

      public static List<JournalContentSearch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
      Returns an ordered 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 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 JournalContentSearchModelImpl.

      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)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of journal content searches
    • removeAll

      public static void removeAll()
      Removes all the journal content searches from the database.
    • countAll

      public static int countAll()
      Returns the number of journal content searches.
      Returns:
      the number of journal content searches
    • getPersistence

      public static JournalContentSearchPersistence getPersistence()
    • setPersistence

      public static void setPersistence(JournalContentSearchPersistence persistence)