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 void
cacheResult
(JournalContentSearch journalContentSearch) Caches the journal content search in the entity cache if it is enabled.static void
cacheResult
(List<JournalContentSearch> journalContentSearchs) Caches the journal content searches in the entity cache if it is enabled.static void
static void
clearCache
(JournalContentSearch journalContentSearch) static int
countAll()
Returns the number of journal content searches.static int
countByArticleId
(String articleId) Returns the number of journal content searches where articleId = ?.static int
countByCompanyId
(long companyId) Returns the number of journal content searches where companyId = ?.static int
countByG_A
(long groupId, String articleId) Returns the number of journal content searches where groupId = ? and articleId = ?.static int
countByG_P
(long groupId, boolean privateLayout) Returns the number of journal content searches where groupId = ? and privateLayout = ?.static int
countByG_P_A
(long groupId, boolean privateLayout, String articleId) Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.static int
countByG_P_L
(long groupId, boolean privateLayout, long layoutId) Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.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 = ?.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 = ?.static int
countByPortletId
(String portletId) Returns the number of journal content searches where portletId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static JournalContentSearch
create
(long contentSearchId) Creates a new journal content search with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static JournalContentSearch
fetchByPrimaryKey
(long contentSearchId) Returns the journal content search with the primary key or returnsnull
if it could not be found.static Map<Serializable,
JournalContentSearch> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<JournalContentSearch>
findAll()
Returns all the journal content searches.static List<JournalContentSearch>
findAll
(int start, int end) Returns a range of all the journal content searches.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.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.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 JournalContentSearch
findByArticleId_First
(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where articleId = ?.static JournalContentSearch
findByArticleId_Last
(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where articleId = ?.static JournalContentSearch[]
findByArticleId_PrevAndNext
(long contentSearchId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current 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 JournalContentSearch
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where companyId = ?.static JournalContentSearch
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where companyId = ?.static JournalContentSearch[]
findByCompanyId_PrevAndNext
(long contentSearchId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current 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 JournalContentSearch
findByG_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 JournalContentSearch
findByG_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 = ?.static JournalContentSearch[]
findByG_A_PrevAndNext
(long contentSearchId, long groupId, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current 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 JournalContentSearch
findByG_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 JournalContentSearch
findByG_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 = ?.static JournalContentSearch[]
findByG_P_A_PrevAndNext
(long contentSearchId, long groupId, boolean privateLayout, String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.static JournalContentSearch
findByG_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 JournalContentSearch
findByG_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 JournalContentSearch
findByG_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 = ?.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 JournalContentSearch
findByG_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 aNoSuchContentSearchException
if it could not be found.static JournalContentSearch
findByG_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 JournalContentSearch
findByG_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 = ?.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) 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 = ?.static JournalContentSearch[]
findByG_P_L_PrevAndNext
(long contentSearchId, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.static JournalContentSearch
findByG_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 = ?.static JournalContentSearch[]
findByG_P_PrevAndNext
(long contentSearchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?.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 JournalContentSearch
findByPortletId_First
(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where portletId = ?.static JournalContentSearch
findByPortletId_Last
(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where portletId = ?.static JournalContentSearch[]
findByPortletId_PrevAndNext
(long contentSearchId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the journal content searches before and after the current journal content search in the ordered set where portletId = ?.static JournalContentSearch
findByPrimaryKey
(long contentSearchId) Returns the journal content search with the primary key or throws aNoSuchContentSearchException
if 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 JournalContentSearch
remove
(long contentSearchId) Removes the journal content search with the primary key from the database.static void
Removes all the journal content searches from the database.static void
removeByArticleId
(String articleId) Removes all the journal content searches where articleId = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the journal content searches where companyId = ? from the database.static void
removeByG_A
(long groupId, String articleId) Removes all the journal content searches where groupId = ? and articleId = ? from the database.static void
removeByG_P
(long groupId, boolean privateLayout) Removes all the journal content searches where groupId = ? and privateLayout = ? from the database.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.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.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.static JournalContentSearch
removeByG_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 void
removeByPortletId
(String portletId) Removes all the journal content searches where portletId = ? from the database.static void
setPersistence
(JournalContentSearchPersistence persistence) static JournalContentSearch
update
(JournalContentSearch journalContentSearch) static JournalContentSearch
update
(JournalContentSearch journalContentSearch, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalContentSearch
updateImpl
(JournalContentSearch journalContentSearch)
-
Constructor Details
-
JournalContentSearchUtil
public JournalContentSearchUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searcharticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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_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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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_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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchgroupId
- the group IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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) 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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_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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchgroupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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) 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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_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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchgroupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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) 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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
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 IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal content search
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 searchgroupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal content search
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
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 aNoSuchContentSearchException
if 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
- Throws:
NoSuchContentSearchException
- if a matching journal content search could not be foundNoSuchContentSearchException
-
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 returnsnull
if 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
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 returnsnull
if 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
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 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
-
cacheResult
Caches the journal content search in the entity cache if it is enabled.- Parameters:
journalContentSearch
- the journal content search
-
cacheResult
Caches the journal content searches in the entity cache if it is enabled.- Parameters:
journalContentSearchs
- the 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
- Throws:
NoSuchContentSearchException
- if a journal content search with the primary key could not be foundNoSuchContentSearchException
-
updateImpl
-
findByPrimaryKey
public static JournalContentSearch findByPrimaryKey(long contentSearchId) throws NoSuchContentSearchException Returns the journal content search with the primary key or throws aNoSuchContentSearchException
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 foundNoSuchContentSearchException
-
fetchByPrimaryKey
Returns the journal content search with the primary key or returnsnull
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
Returns all the journal content searches.- Returns:
- the journal content searches
-
findAll
Returns a range of all the journal content searches.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- Parameters:
start
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- Parameters:
start
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalContentSearchModelImpl
.- Parameters:
start
- 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 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
-
setPersistence
-