public class JournalContentSearchUtil
extends java.lang.Object
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
JournalContentSearchPersistence
Constructor and Description |
---|
JournalContentSearchUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(JournalContentSearch journalContentSearch)
Caches the journal content search in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<JournalContentSearch> journalContentSearchs)
Caches the journal content searches in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(JournalContentSearch journalContentSearch) |
static int |
countAll()
Returns the number of journal content searches.
|
static int |
countByArticleId(java.lang.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,
java.lang.String articleId)
Returns the number of journal content searches where groupId = ? and articleId = ?.
|
static int |
countByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
Returns the number of journal content searches where groupId = ? and privateLayout = ? and articleId = ?.
|
static int |
countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.
|
static int |
countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
Returns the number of journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
|
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(long groupId,
boolean privateLayout)
Returns the number of journal content searches where groupId = ? and privateLayout = ?.
|
static int |
countByPortletId(java.lang.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(java.lang.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(java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.String portletId,
java.lang.String articleId)
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns
null if it could not be found. |
static JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId,
boolean useFinderCache)
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns
null if it could not be found, optionally using the finder cache. |
static JournalContentSearch |
fetchByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
java.lang.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,
java.lang.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(java.lang.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(java.lang.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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,JournalContentSearch> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<JournalContentSearch> |
findAll()
Returns all the journal content searches.
|
static java.util.List<JournalContentSearch> |
findAll(int start,
int end)
Returns a range of all the journal content searches.
|
static java.util.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 java.util.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 JournalContentSearch |
findByArticleId_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<JournalContentSearch> |
findByArticleId(java.lang.String articleId)
Returns all the journal content searches where articleId = ?.
|
static java.util.List<JournalContentSearch> |
findByArticleId(java.lang.String articleId,
int start,
int end)
Returns a range of all the journal content searches where articleId = ?.
|
static java.util.List<JournalContentSearch> |
findByArticleId(java.lang.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 java.util.List<JournalContentSearch> |
findByArticleId(java.lang.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 |
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 java.util.List<JournalContentSearch> |
findByCompanyId(long companyId)
Returns all the journal content searches where companyId = ?.
|
static java.util.List<JournalContentSearch> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the journal content searches where companyId = ?.
|
static java.util.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 java.util.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 |
findByG_A_First(long groupId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId)
Returns all the journal content searches where groupId = ? and articleId = ?.
|
static java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end)
Returns a range of all the journal content searches where groupId = ? and articleId = ?.
|
static java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.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 java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.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_P_A_First(long groupId,
boolean privateLayout,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
Returns all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.
|
static java.util.List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId,
int start,
int end)
Returns a range of all the journal content searches where groupId = ? and privateLayout = ? and articleId = ?.
|
static java.util.List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.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 java.util.List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.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_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 |
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 JournalContentSearch |
findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a
NoSuchContentSearchException if it could not be found. |
static JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
|
static java.util.List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
int start,
int end)
Returns a range of all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
|
static java.util.List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.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 java.util.List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.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_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 java.util.List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ?.
|
static java.util.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 java.util.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 java.util.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_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 java.util.List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the journal content searches where groupId = ? and privateLayout = ?.
|
static java.util.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 java.util.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 java.util.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 JournalContentSearch |
findByPortletId_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<JournalContentSearch> |
findByPortletId(java.lang.String portletId)
Returns all the journal content searches where portletId = ?.
|
static java.util.List<JournalContentSearch> |
findByPortletId(java.lang.String portletId,
int start,
int end)
Returns a range of all the journal content searches where portletId = ?.
|
static java.util.List<JournalContentSearch> |
findByPortletId(java.lang.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 java.util.List<JournalContentSearch> |
findByPortletId(java.lang.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 |
findByPrimaryKey(long contentSearchId)
Returns the journal content search with the primary key or throws a
NoSuchContentSearchException if it could not be found. |
static java.util.List<JournalContentSearch> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<JournalContentSearch> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<JournalContentSearch> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) |
static JournalContentSearchPersistence |
getPersistence() |
static JournalContentSearch |
remove(long contentSearchId)
Removes the journal content search with the primary key from the database.
|
static void |
removeAll()
Removes all the journal content searches from the database.
|
static void |
removeByArticleId(java.lang.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,
java.lang.String articleId)
Removes all the journal content searches where groupId = ? and articleId = ? from the database.
|
static void |
removeByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
Removes all the journal content searches where groupId = ? and privateLayout = ? and articleId = ? from the database.
|
static JournalContentSearch |
removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database.
|
static void |
removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
Removes all the journal content searches where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? 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(long groupId,
boolean privateLayout)
Removes all the journal content searches where groupId = ? and privateLayout = ? from the database.
|
static void |
removeByPortletId(java.lang.String portletId)
Removes all the journal content searches where portletId = ? from the database.
|
static JournalContentSearch |
update(JournalContentSearch journalContentSearch) |
static JournalContentSearch |
update(JournalContentSearch journalContentSearch,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalContentSearch |
updateImpl(JournalContentSearch journalContentSearch) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(JournalContentSearch journalContentSearch)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,JournalContentSearch> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<JournalContentSearch> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static JournalContentSearch update(JournalContentSearch journalContentSearch)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static JournalContentSearch update(JournalContentSearch journalContentSearch, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<JournalContentSearch> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<JournalContentSearch> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByCompanyId_PrevAndNext(long contentSearchId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
contentSearchId
- the primary key of the current journal content searchcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<JournalContentSearch> findByPortletId(java.lang.String portletId)
portletId
- the portlet IDpublic static java.util.List<JournalContentSearch> findByPortletId(java.lang.String portletId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByPortletId(java.lang.String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByPortletId(java.lang.String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByPortletId_First(java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByPortletId_First(java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByPortletId_Last(java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByPortletId_Last(java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByPortletId_PrevAndNext(long contentSearchId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
contentSearchId
- the primary key of the current journal content searchportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByPortletId(java.lang.String portletId)
portletId
- the portlet IDpublic static int countByPortletId(java.lang.String portletId)
portletId
- the portlet IDpublic static java.util.List<JournalContentSearch> findByArticleId(java.lang.String articleId)
articleId
- the article IDpublic static java.util.List<JournalContentSearch> findByArticleId(java.lang.String articleId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByArticleId(java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByArticleId(java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByArticleId_First(java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
articleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByArticleId_First(java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
articleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByArticleId_Last(java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
articleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByArticleId_Last(java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
articleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
contentSearchId
- the primary key of the current journal content searcharticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByArticleId(java.lang.String articleId)
articleId
- the article IDpublic static int countByArticleId(java.lang.String articleId)
articleId
- the article IDpublic static java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
contentSearchId
- the primary key of the current journal content searchgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static int countByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId)
groupId
- the group IDarticleId
- the article IDpublic static java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByG_A_First(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_A_First(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByG_A_Last(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_A_Last(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId, long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
contentSearchId
- the primary key of the current journal content searchgroupId
- the group IDarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByG_A(long groupId, java.lang.String articleId)
groupId
- the group IDarticleId
- the article IDpublic static int countByG_A(long groupId, java.lang.String articleId)
groupId
- the group IDarticleId
- the article IDpublic static java.util.List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDpublic static java.util.List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByG_P_L_First(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_L_First(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
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 (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDpublic static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDpublic static java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId)
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDpublic static java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByG_P_A_First(long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_A_First(long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByG_P_A_Last(long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_A_Last(long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
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 (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId)
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDpublic static int countByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId)
groupId
- the group IDprivateLayout
- the private layoutarticleId
- the article IDpublic static java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDpublic static java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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)public static java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static JournalContentSearch findByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch findByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal content search could not be foundpublic static JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator) throws NoSuchContentSearchException
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 (optionally null
)NoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static void removeByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDpublic static int countByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDpublic static JournalContentSearch findByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId) throws NoSuchContentSearchException
NoSuchContentSearchException
if it could not be found.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDarticleId
- the article IDNoSuchContentSearchException
- if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDarticleId
- the article IDnull
if a matching journal content search could not be foundpublic static JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDarticleId
- the article IDuseFinderCache
- whether to use the finder cachenull
if a matching journal content search could not be foundpublic static JournalContentSearch removeByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId) throws NoSuchContentSearchException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDarticleId
- the article IDNoSuchContentSearchException
public static int countByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDportletId
- the portlet IDarticleId
- the article IDpublic static void cacheResult(JournalContentSearch journalContentSearch)
journalContentSearch
- the journal content searchpublic static void cacheResult(java.util.List<JournalContentSearch> journalContentSearchs)
journalContentSearchs
- the journal content searchespublic static JournalContentSearch create(long contentSearchId)
contentSearchId
- the primary key for the new journal content searchpublic static JournalContentSearch remove(long contentSearchId) throws NoSuchContentSearchException
contentSearchId
- the primary key of the journal content searchNoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static JournalContentSearch updateImpl(JournalContentSearch journalContentSearch)
public static JournalContentSearch findByPrimaryKey(long contentSearchId) throws NoSuchContentSearchException
NoSuchContentSearchException
if it could not be found.contentSearchId
- the primary key of the journal content searchNoSuchContentSearchException
- if a journal content search with the primary key could not be foundpublic static JournalContentSearch fetchByPrimaryKey(long contentSearchId)
null
if it could not be found.contentSearchId
- the primary key of the journal content searchnull
if a journal content search with the primary key could not be foundpublic static java.util.List<JournalContentSearch> findAll()
public static java.util.List<JournalContentSearch> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
start
- the lower bound of the range of journal content searchesend
- the upper bound of the range of journal content searches (not inclusive)public static java.util.List<JournalContentSearch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)public static java.util.List<JournalContentSearch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalContentSearch> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalContentSearchModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static JournalContentSearchPersistence getPersistence()