Class JournalContentSearchUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(JournalContentSearch journalContentSearch) static voidcacheResult(List<JournalContentSearch> journalContentSearchs) static voidstatic voidclearCache(JournalContentSearch journalContentSearch) static intcountByArticleId(String articleId) Returns the number of journal content searches where articleId = ?.static intcountByCompanyId(long companyId) Returns the number of journal content searches where companyId = ?.static intcountByG_A(long groupId, String articleId) Returns the number of journal content searches where groupId = ? and articleId = ?.static intcountByG_P(long groupId, boolean privateLayout) Returns the number of journal content searches where groupId = ? and privateLayout = ?.static intcountByG_P_A(long groupId, boolean privateLayout, String articleId) Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.static intcountByG_P_L(long groupId, boolean privateLayout, long layoutId) Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.static intcountByG_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 = ?.static intcountByG_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 = ?.static intcountByPortletId(String portletId) Returns the number of journal content searches where portletId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static JournalContentSearchcreate(long contentSearchId) Creates a new journal content search with the primary key.static JournalContentSearchfetchByArticleId_First(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where articleId = ?.static JournalContentSearchfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where companyId = ?.static JournalContentSearchfetchByG_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 = ?.static JournalContentSearchfetchByG_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 = ?.static JournalContentSearchfetchByG_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 = ?.static JournalContentSearchfetchByG_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 = ?.static JournalContentSearchfetchByG_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 returnsnullif it could not be found.static JournalContentSearchfetchByG_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 returnsnullif it could not be found, optionally using the finder cache.static JournalContentSearchfetchByG_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 = ?.static JournalContentSearchfetchByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where portletId = ?.static JournalContentSearchfetchByPrimaryKey(long contentSearchId) Returns the journal content search with the primary key or returnsnullif it could not be found.static Map<Serializable, JournalContentSearch> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<JournalContentSearch> findByArticleId(String articleId) Returns all the journal content searches where articleId = ?.static List<JournalContentSearch> findByArticleId(String articleId, int start, int end) Returns a range of all the journal content searches where articleId = ?.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 = ?.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 = ?.static JournalContentSearchfindByArticleId_First(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where articleId = ?.static List<JournalContentSearch> findByCompanyId(long companyId) Returns all the journal content searches where companyId = ?.static List<JournalContentSearch> findByCompanyId(long companyId, int start, int end) Returns a range of all the journal content searches where companyId = ?.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 = ?.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 = ?.static JournalContentSearchfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where companyId = ?.static List<JournalContentSearch> Returns all the journal content searches where groupId = ? and articleId = ?.static List<JournalContentSearch> Returns a range of all the journal content searches where groupId = ? and articleId = ?.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 = ?.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 = ?.static JournalContentSearchfindByG_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 = ?.static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout) Returns all the journal content searches where groupId = ? and privateLayout = ?.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 = ?.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 = ?.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 = ?.static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId) Returns all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.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 = ?.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 = ?.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 = ?.static JournalContentSearchfindByG_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 = ?.static JournalContentSearchfindByG_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 = ?.static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId) Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.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 = ?.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 = ?.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 = ?.static JournalContentSearchfindByG_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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static JournalContentSearchfindByG_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 throws aNoSuchContentSearchExceptionif it could not be found.static JournalContentSearchfindByG_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 = ?.static List<JournalContentSearch> findByPortletId(String portletId) Returns all the journal content searches where portletId = ?.static List<JournalContentSearch> findByPortletId(String portletId, int start, int end) Returns a range of all the journal content searches where portletId = ?.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 = ?.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 = ?.static JournalContentSearchfindByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where portletId = ?.static JournalContentSearchfindByPrimaryKey(long contentSearchId) Returns the journal content search with the primary key or throws aNoSuchContentSearchExceptionif it could not be found.static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) static JournalContentSearchremove(long contentSearchId) Removes the journal content search with the primary key from the database.static voidremoveByArticleId(String articleId) Removes all the journal content searches where articleId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the journal content searches where companyId = ? from the database.static voidremoveByG_A(long groupId, String articleId) Removes all the journal content searches where groupId = ? and articleId = ? from the database.static voidremoveByG_P(long groupId, boolean privateLayout) Removes all the journal content searches where groupId = ? and privateLayout = ? from the database.static voidremoveByG_P_A(long groupId, boolean privateLayout, String articleId) Removes all the journal content searches where groupId = ? and privateLayout = ? and articleId = ? from the database.static voidremoveByG_P_L(long groupId, boolean privateLayout, long layoutId) Removes all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? from the database.static voidremoveByG_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.static JournalContentSearchremoveByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database.static voidremoveByPortletId(String portletId) Removes all the journal content searches where portletId = ? from the database.static voidsetPersistence(JournalContentSearchPersistence persistence) static JournalContentSearchupdate(JournalContentSearch journalContentSearch) static JournalContentSearchupdate(JournalContentSearch journalContentSearch, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalContentSearchupdateImpl(JournalContentSearch journalContentSearch)
-
Constructor Details
-
JournalContentSearchUtil
public JournalContentSearchUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,JournalContentSearch> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static JournalContentSearch update(JournalContentSearch journalContentSearch, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
portletId- the portlet IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
removeByPortletId
Removes all the journal content searches where portletId = ? from the database.- Parameters:
portletId- the portlet ID
-
countByPortletId
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
articleId- the article IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
removeByArticleId
Removes all the journal content searches where articleId = ? from the database.- Parameters:
articleId- the article ID
-
countByArticleId
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
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 IDprivateLayout- 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 IDprivateLayout- the private layout- Returns:
- the number 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDarticleId- the article IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDarticleId- the article IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDarticleId- the article IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
removeByG_A
Removes all the journal content searches where groupId = ? and articleId = ? from the database.- Parameters:
groupId- the group IDarticleId- the article ID
-
countByG_A
Returns the number of journal content searches where groupId = ? and articleId = ?.- Parameters:
groupId- the group IDarticleId- 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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDprivateLayout- the private layoutlayoutId- the layout IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDprivateLayout- the private layoutlayoutId- the layout IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
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 IDprivateLayout- the private layoutlayoutId- 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 IDprivateLayout- the private layoutlayoutId- 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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutarticleId- the article IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDprivateLayout- the private layoutarticleId- the article IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDprivateLayout- the private layoutarticleId- the article IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
removeByG_P_A
Removes all the journal content searches where groupId = ? and privateLayout = ? and articleId = ? from the database.- Parameters:
groupId- the group IDprivateLayout- the private layoutarticleId- the article ID
-
countByG_P_A
Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.- Parameters:
groupId- the group IDprivateLayout- the private layoutarticleId- 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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search
-
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 IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal content search, or
nullif a matching journal content search could not be found
-
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 IDprivateLayout- the private layoutlayoutId- the layout IDportletId- 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 IDprivateLayout- the private layoutlayoutId- the layout IDportletId- 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 aNoSuchContentSearchExceptionif it could not be found.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDarticleId- the article ID- Returns:
- the matching journal content search
-
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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDarticleId- the article IDuseFinderCache- whether to use the finder cache- Returns:
- the matching journal content search, or
nullif 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 IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDarticleId- 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 IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDarticleId- the article ID- Returns:
- the number of matching journal content searches
-
create
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
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
-
updateImpl
-
findByPrimaryKey
public static JournalContentSearch findByPrimaryKey(long contentSearchId) throws NoSuchContentSearchException Returns the journal content search with the primary key or throws aNoSuchContentSearchExceptionif it could not be found.- Parameters:
contentSearchId- the primary key of the journal content search- Returns:
- the journal content search
-
fetchByPrimaryKey
Returns the journal content search with the primary key or returnsnullif it could not be found.- Parameters:
contentSearchId- the primary key of the journal content search- Returns:
- the journal content search, or
nullif a journal content search with the primary key 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) Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDarticleId- the article ID- Returns:
- the matching journal content search, or
nullif a matching journal content search could not be found
-
findByCompanyId
Returns all the journal content searches where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching journal content searches
-
findByCompanyId
Returns a range of all the journal content searches where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching journal content searches
-
findByPortletId
Returns all the journal content searches where portletId = ?.- Parameters:
portletId- the portlet ID- Returns:
- the matching journal content searches
-
findByPortletId
Returns a range of all the journal content searches where portletId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
portletId- the portlet IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
portletId- the portlet IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching journal content searches
-
findByArticleId
Returns all the journal content searches where articleId = ?.- Parameters:
articleId- the article ID- Returns:
- the matching journal content searches
-
findByArticleId
Returns a range of all the journal content searches where articleId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
articleId- the article IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
articleId- the article IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching journal content searches
-
findByG_P
Returns all the journal content searches where groupId = ? and privateLayout = ?.- Parameters:
groupId- the group IDprivateLayout- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching journal content searches
-
findByG_A
Returns all the journal content searches where groupId = ? and articleId = ?.- Parameters:
groupId- the group IDarticleId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDarticleId- the article IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDarticleId- the article IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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) Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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) Returns all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.- Parameters:
groupId- the group IDprivateLayout- the private layoutarticleId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutarticleId- the article IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutarticleId- the article IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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) Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDstart- the lower bound of the range of journal content searchesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl.- Parameters:
groupId- the group IDprivateLayout- the private layoutlayoutId- the layout IDportletId- the portlet IDstart- the lower bound of the range of journal content searchesend- the upper bound of the range of journal content searches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching journal content searches
-
getPersistence
-
setPersistence
-