Interface JournalContentSearchPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<JournalContentSearch>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalContentSearch>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(JournalContentSearch journalContentSearch) Caches the journal content search in the entity cache if it is enabled.void
cacheResult
(List<JournalContentSearch> journalContentSearchs) Caches the journal content searches in the entity cache if it is enabled.int
countAll()
Returns the number of journal content searches.int
countByArticleId
(String articleId) Returns the number of journal content searches where articleId = ?.int
countByCompanyId
(long companyId) Returns the number of journal content searches where companyId = ?.int
countByG_A
(long groupId, String articleId) Returns the number of journal content searches where groupId = ? and articleId = ?.int
countByG_P
(long groupId, boolean privateLayout) Returns the number of journal content searches where groupId = ? and privateLayout = ?.int
countByG_P_A
(long groupId, boolean privateLayout, String articleId) Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.int
countByG_P_L
(long groupId, boolean privateLayout, long layoutId) Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.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 = ?.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 = ?.int
countByPortletId
(String portletId) Returns the number of journal content searches where portletId = ?.create
(long contentSearchId) Creates a new journal content search with the primary key.fetchByArticleId_First
(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where articleId = ?.fetchByArticleId_Last
(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where articleId = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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.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.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 = ?.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 = ?.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 = ?.fetchByPortletId_First
(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where portletId = ?.fetchByPortletId_Last
(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where portletId = ?.fetchByPrimaryKey
(long contentSearchId) Returns the journal content search with the primary key or returnsnull
if it could not be found.findAll()
Returns all the journal content searches.findAll
(int start, int end) Returns a range of all the journal content searches.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns an ordered range of all the journal content searches.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.findByArticleId
(String articleId) Returns all the journal content searches where articleId = ?.findByArticleId
(String articleId, int start, int end) Returns a range of all the journal content searches where articleId = ?.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 = ?.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 = ?.findByArticleId_First
(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where articleId = ?.findByArticleId_Last
(String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where articleId = ?.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 = ?.findByCompanyId
(long companyId) Returns all the journal content searches where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the journal content searches where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where companyId = ?.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 = ?.Returns all the journal content searches where groupId = ? and articleId = ?.Returns a range of all the journal content searches where groupId = ? and articleId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByG_P
(long groupId, boolean privateLayout) Returns all the journal content searches where groupId = ? and privateLayout = ?.findByG_P
(long groupId, boolean privateLayout, int start, int end) Returns a range of all the journal content searches where groupId = ? and privateLayout = ?.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 = ?.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 = ?.findByG_P_A
(long groupId, boolean privateLayout, String articleId) Returns all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByG_P_L
(long groupId, boolean privateLayout, long layoutId) Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPortletId
(String portletId) Returns all the journal content searches where portletId = ?.findByPortletId
(String portletId, int start, int end) Returns a range of all the journal content searches where portletId = ?.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 = ?.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 = ?.findByPortletId_First
(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the first journal content search in the ordered set where portletId = ?.findByPortletId_Last
(String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) Returns the last journal content search in the ordered set where portletId = ?.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 = ?.findByPrimaryKey
(long contentSearchId) Returns the journal content search with the primary key or throws aNoSuchContentSearchException
if it could not be found.remove
(long contentSearchId) Removes the journal content search with the primary key from the database.void
Removes all the journal content searches from the database.void
removeByArticleId
(String articleId) Removes all the journal content searches where articleId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the journal content searches where companyId = ? from the database.void
removeByG_A
(long groupId, String articleId) Removes all the journal content searches where groupId = ? and articleId = ? from the database.void
removeByG_P
(long groupId, boolean privateLayout) Removes all the journal content searches where groupId = ? and privateLayout = ? from the database.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.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.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.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.void
removeByPortletId
(String portletId) Removes all the journal content searches where portletId = ? from the database.updateImpl
(JournalContentSearch journalContentSearch) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the journal content searches where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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 found
-
fetchByPortletId_First
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
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 found
-
fetchByPortletId_Last
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
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 found
-
removeByPortletId
Removes all the journal content searches where portletId = ? from the database.- Parameters:
portletId
- the portlet ID
-
countByPortletId
Returns the number of journal content searches where portletId = ?.- Parameters:
portletId
- the portlet ID- Returns:
- the number of matching journal content searches
-
findByArticleId
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
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
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
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 found
-
fetchByArticleId_First
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
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 found
-
fetchByArticleId_Last
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
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 found
-
removeByArticleId
Removes all the journal content searches where articleId = ? from the database.- Parameters:
articleId
- the article ID
-
countByArticleId
Returns the number of journal content searches where articleId = ?.- Parameters:
articleId
- the article ID- Returns:
- the number of matching journal content searches
-
findByG_P
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
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
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
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
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 found
-
fetchByG_P_First
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
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 found
-
fetchByG_P_Last
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
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 found
-
removeByG_P
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
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
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
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
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
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 found
-
fetchByG_A_First
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
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 found
-
fetchByG_A_Last
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
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 found
-
removeByG_A
Removes all the journal content searches where groupId = ? and articleId = ? from the database.- Parameters:
groupId
- the group IDarticleId
- the article ID
-
countByG_A
Returns the number of journal content searches where groupId = ? and articleId = ?.- Parameters:
groupId
- the group IDarticleId
- the article ID- Returns:
- the number of matching journal content searches
-
findByG_P_L
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
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
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
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
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 found
-
fetchByG_P_L_First
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
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 found
-
fetchByG_P_L_Last
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
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 found
-
removeByG_P_L
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
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
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
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
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
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
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 found
-
fetchByG_P_A_First
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
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 found
-
fetchByG_P_A_Last
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
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 found
-
removeByG_P_A
Removes all the journal content searches where groupId = ? and privateLayout = ? and articleId = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article ID
-
countByG_P_A
Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article ID- Returns:
- the number of matching journal content searches
-
findByG_P_L_P
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
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
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
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
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 found
-
fetchByG_P_L_P_First
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
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 found
-
fetchByG_P_L_P_Last
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
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 found
-
removeByG_P_L_P
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
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
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 found
-
fetchByG_P_L_P_A
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
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<JournalContentSearch> 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
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
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
void removeAll()Removes all the journal content searches from the database. -
countAll
int countAll()Returns the number of journal content searches.- Returns:
- the number of journal content searches
-